Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
scripts/bootstrap.sh problem
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
Terrible
n00b
n00b


Joined: 18 Jul 2002
Posts: 22
Location: Ekaterinburg, Russia

PostPosted: Thu Jul 18, 2002 12:27 pm    Post subject: scripts/bootstrap.sh problem Reply with quote

Hi!

I tried to perform install from stage1 on an AMD K6-2 notebook. Everything went fine untill scripts/bootstrap.sh. It exited with an error, and it looked like:

Code:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\"  -march=i586 -O3 -pipe -c 'test -f node.c || echo './'`node.c
cpp0: output pipe has been closed
gcc: Internal compiler error: program cc1 got fatal signal 11
make[3]: *** [node.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/tmp/portage-tmpdir/portage/texinfo-4.2-r5/work/texinfo-4.2/makeinfo'

...
Code:

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 13, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-apps/texinfo/texinfo-4.2-r5.ebuild



I tried to adjust CHOST CFLAGS and CXXFLAGS to both k6 and generic i586 at different times, but the bootstrap failed. Help!!!
Back to top
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Thu Jul 18, 2002 1:03 pm    Post subject: Reply with quote

What version of gentoo are you installing? 1.1a? 1.2? or 1.3b.. I had similar problems on my K6 II 400 Pc, and upgrading to 1.2 solved the problem. At bootstrap, you should try to set the CFLAGS, CXXFLAGS as low as possible, that is:
Code:
CFLAGS=-march=i686 -O3 -pipe
CXXFLAGS=-march=i686 -O3 -pipe


Then you get try to get some K6 specific things in your CFLAGS before emerging system after bootstrap to see if it works...

Good Luck
_________________
-- A Guru was once a Beginner --
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jul 18, 2002 1:22 pm    Post subject: Reply with quote

silverter wrote:
At bootstrap, you should try to set the CFLAGS, CXXFLAGS as low as possible, that is:
Code:
CFLAGS=-march=i686 -O3 -pipe
CXXFLAGS=-march=i686 -O3 -pipe

Except that a K6 != i686, so that won't work. You have to use either 586 or K6. (and you've said you've tried both.)

Can you post the CHOST/CFLAGS/CXXFLAGS portion of your /etc/make.conf file?

You can also try dropping -O3 down to -O2 -- that's solved problems for other folks.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Jondot
n00b
n00b


Joined: 11 Apr 2002
Posts: 55
Location: Bordeaux, France

PostPosted: Thu Jul 18, 2002 9:29 pm    Post subject: Re: scripts/bootstrap.sh problem Reply with quote

Terrible wrote:
Code:

gcc: Internal compiler error: program cc1 got fatal signal 11


It sounds like a hardware failure I'm afraid. Either the proc, the mem or overheating.

see there :
http://www.bitwizard.nl/sig11/
Back to top
View user's profile Send private message
Terrible
n00b
n00b


Joined: 18 Jul 2002
Posts: 22
Location: Ekaterinburg, Russia

PostPosted: Fri Jul 19, 2002 2:06 pm    Post subject: CFLAGS Reply with quote

I'm installing gentoo v. 1.2
here are my CHOST/CFLAGS/CXXFLAGS settings:
Code:

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O2 -pipe"
CXXFLAGS="-march=i586 -O2 -pipe"

now I turned off the L2 cache, let's see what comes out of it. I'm not very optimistic though :(
Win2K worked fine on this notebook. And I haven't found any RAM timing settings in the BIOS (which is an Insyde BIOS). I think they tune it at the factory and don't give the user to control these :(
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jul 19, 2002 2:24 pm    Post subject: Re: CFLAGS Reply with quote

Terrible wrote:
here are my CHOST/CFLAGS/CXXFLAGS settings:
Code:

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O2 -pipe"
CXXFLAGS="-march=i586 -O2 -pipe"


Have you tried these flags before? (specifically the optimization setting) Because in your original post, it lists '-O3' instead of '-O2'.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Terrible
n00b
n00b


Joined: 18 Jul 2002
Posts: 22
Location: Ekaterinburg, Russia

PostPosted: Fri Jul 19, 2002 2:35 pm    Post subject: Re: CFLAGS Reply with quote

klieber wrote:

Have you tried these flags before? (specifically the optimization setting) Because in your original post, it lists '-O3' instead of '-O2'.


yes, I tried both -O3 and -O2. with L2 cache turned off the bootstrap did it for longer time but finally crashed with sig11 anyway. Seems like I have an overheating problem...
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jul 19, 2002 2:43 pm    Post subject: Re: CFLAGS Reply with quote

Terrible wrote:
Seems like I have an overheating problem...


You're going to think this sounds crazy, but....

If you have a room air conditioner, try turning it on full blast and place the laptop in front of it.

A more drastic solution would be to get a bag of ice, place the laptop on top of it and do the install there. (preferably inside of a cooler or something) Obviously take lots and lots of care to ensure that no water can find its way into the laptop.

That will probably let you get the install complete since it will remain cooler during the install. However, you may run into this problem again and again when you install other programs (kernel compiles and kde install springs to mind as two likely problem children)

Gentoo is incredibly hardware-intensive since it compiles everything from scratch. One of the less-desirably side effects of the system. :(

--kurt
_________________
The problem with political jokes is that they get elected
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