View previous topic :: View next topic |
Author |
Message |
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Wed Nov 27, 2002 3:09 pm Post subject: Bootstrap.sh and binutils |
|
|
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 |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Wed Nov 27, 2002 6:36 pm Post subject: |
|
|
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 |
|
|
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Wed Nov 27, 2002 11:01 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Nov 27, 2002 11:09 pm Post subject: |
|
|
Can you try dropping the optimization level to -O2? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Wed Nov 27, 2002 11:58 pm Post subject: |
|
|
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 |
|
|
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Fri Nov 29, 2002 8:52 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 29, 2002 9:26 pm Post subject: |
|
|
May I vote for "-march=athlon-xp -O2 -pipe" again? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Fri Nov 29, 2002 10:32 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 29, 2002 10:49 pm Post subject: |
|
|
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 |
|
|
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Fri Nov 29, 2002 10:53 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 29, 2002 11:00 pm Post subject: |
|
|
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 |
|
|
Laslo7 n00b
Joined: 27 Nov 2002 Posts: 30
|
Posted: Sun Dec 01, 2002 6:50 pm Post subject: |
|
|
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 |
|
|
|