Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bootstrap.sh and binutils
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Wed Nov 27, 2002 3:09 pm    Post subject: Bootstrap.sh and binutils Reply with quote

Hello all.

I am having a tough time installing the 1.4RC1_R2. I am installing 1.4 from the livecd following these instructions http://www.gentoo.org/doc/en/gentoo-x86-install.xml. I am following them to the T. All is well up till I run the bootstrap.sh script, binutils-2.13.90.0.4 fails. Here is the Error
Code:

!!! ERROR: sys-devel/binutils-2.13.90.0.4 failed.
!!! Function src_compile, Line 3235, Exitcode 2
!!! (no error message)


I am using this in my /etc/make.conf
Code:
 
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="${CFLAGS}"


I am installing on /dev/hde3 which is a 30 gig Western Digital drive hooked through a Promise ATA 100 (non-raid) Controller Card. I have an Athlon XP 1600+ processor and 512M of kingston pc2100 DDR-Ram.

Any help you guys could give me would be greatly appreciated.

AJ
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Nov 27, 2002 4:54 pm    Post subject: Reply with quote

Check out this thread
forums.gentoo.org/viewtopic.php?t=3685&highlight=athlonxp+binutils&sid=853affb2e3a6e6bda44e9ec9ffdb50f5

for more do a forum search useing "athlon-xp AND binutils"

hielvc
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Wed Nov 27, 2002 6:36 pm    Post subject: Reply with quote

The actual error probably occured several lines before the portion you posted. Look back 10 or so lines (maybe even more), and see if you can see where the first line is that looks like an error and then post everything from that point. It may help in determining where the sticky spot is.
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Wed Nov 27, 2002 11:01 pm    Post subject: Reply with quote

Here is a little bit of the error code:
Code:

elflink.h:  In function 'elf_link_input_bfd':
elflink.h:7157:  internal error: Segmentation Fault
Please Submit a full bug report, with preprocessed source if appropriate.


Does this clear it up any?

AJ
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 27, 2002 11:09 pm    Post subject: Reply with quote

Can you try dropping the optimization level to -O2?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Wed Nov 27, 2002 11:58 pm    Post subject: Reply with quote

I have tried the -O2 level and I have tried i686 and athlon.
So far this is beating me. Next up is to see if I have any hardware issues.

Thanks for the help so far any more would be awesome

AJ
Back to top
View user's profile Send private message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Fri Nov 29, 2002 8:52 pm    Post subject: Reply with quote

I tried to install again from a new ISO that I downloaded from Ibiblio, same place that I downloaded from. I checked out the md5sum and they matched. I tried the install again and used these settings:
Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="${CFLAGS}"
Note: I am not using the "USE="


I am still getting the error on the binutils complation.
Code:

elflink.h: In function 'elf_link_input_bfd':
elflink.h:7157: internal error: Segmentation Fault
Please Submit a full bug report, with preprocessed source if appropriate.

Code:

!!! ERROR: sys-devel/binutils-2.13.90.0.4 failed.
!!! Function src_compile, Line 3235, Exitcode 2
!!! (no error message)


I have tried:
Code:

"-mcpu=athlon-xp  -O3 -pipe"
"-march=athlon-xp  -O3 -pipe"
No flags



If anyone has anymore suggestions to try I am all ears.

AJ
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Nov 29, 2002 9:26 pm    Post subject: Reply with quote

May I vote for "-march=athlon-xp -O2 -pipe" again?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Fri Nov 29, 2002 10:32 pm    Post subject: Reply with quote

On the advice of rac I dropped to -O2. I had a different proble pop up so on a whim I too out the -O2 and just used
Code:

 "-march=athlon-xp -pipe"


I have made it past the binutils and have moved on the the gcc portion.

Another question will I be able to put the optimization levels back in at a later time or is that just asking for trouble?

Keep your fingers crossed.

AJ
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Nov 29, 2002 10:49 pm    Post subject: Reply with quote

Laslo7 wrote:
I had a different proble pop up

What was that?

Quote:
will I be able to put the optimization levels back in at a later time or is that just asking for trouble?

If what you are seeing is a result of GCC bugs, then you may be able to put them back in after updating GCC.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Fri Nov 29, 2002 10:53 pm    Post subject: Reply with quote

Quote:

What was that?


It was a seg fault in gettext. I think it was in gettext,I didn't get a good look at it. But I know it was a seg fault.

AJ
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Nov 29, 2002 11:00 pm    Post subject: Reply with quote

You might want to check out the stress testing scripts from Segmentation fault with GCC.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Laslo7
n00b
n00b


Joined: 27 Nov 2002
Posts: 30

PostPosted: Sun Dec 01, 2002 6:50 pm    Post subject: Reply with quote

Thanks for your help rac. I traced the problem back to a faulty setting in the bios. My ram gave me errors with the performance setting and no error with the normal settings, so problem solved.

I am enjoying the the latest gentoo has to offer.

Just to drive a point home if you have seg faults check your ram with memtest86 and you will probably find the reason for your seg faults.

AJ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum