View previous topic :: View next topic |
Author |
Message |
striscio n00b
Joined: 30 Aug 2002 Posts: 23 Location: milano - italy
|
Posted: Sat Nov 23, 2002 1:34 am Post subject: stage1 bootstrap.sh gcc compilation failed |
|
|
Hi everybody,
I'm trying to install gentoo-1.4rc1 from a livecd.
I choose stage1, because I've already intstalled a 1.2 (now upgraded to 1.4 and gcc-3.2) with a stage2.
My problem is that I can't complete bootstrap.sh because of gcc compilation fail.
/var/tmp/portage/gcc-3.2-r4/work/gcc-3.2/gcc/recog.c: in function 'peephole2_optimize'
/var/tmp/portage/gcc-3.2-r4/work/gcc-3.2/gcc/recog.c: internal error: segmentation fault
My box is a dual celeron 366@550.
I tried some settings, first with more optimization now with less, but no luck.
from my /etc/make.conf
CFLAGS="-mcpu=686 -O2"
MAKEOPTS="-j1" #found in a post on the forum
Any hint?
Thank you very much |
|
Back to top |
|
|
zhenlin Veteran
Joined: 09 Nov 2002 Posts: 1361
|
Posted: Sat Nov 23, 2002 2:41 am Post subject: |
|
|
Dual celeron? Use -j3 instead. |
|
Back to top |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Sat Nov 23, 2002 3:26 am Post subject: |
|
|
The -j options to make won't fix the problem, that will just spawn more
child gcc compiler processes. Chances, it's hardware related as has been
detailed in other threads on these boards. You might want to try removing
your over-clocking and see if the compile works.
--rtn |
|
Back to top |
|
|
reves Apprentice
Joined: 25 Jun 2002 Posts: 215 Location: South Florida
|
Posted: Sat Nov 23, 2002 4:12 am Post subject: |
|
|
Quote: | My box is a dual celeron 366@550 |
Are you overclocking your Celerons from 336 to 550? If so set it back to 336. _________________ Robert |
|
Back to top |
|
|
striscio n00b
Joined: 30 Aug 2002 Posts: 23 Location: milano - italy
|
Posted: Sat Nov 23, 2002 9:09 am Post subject: |
|
|
Quote: | Are you overclocking your Celerons from 336 to 550? If so set it back to 336. |
I'll try. but has worked for years without a problem... |
|
Back to top |
|
|
striscio n00b
Joined: 30 Aug 2002 Posts: 23 Location: milano - italy
|
Posted: Sat Nov 23, 2002 9:16 am Post subject: |
|
|
zhenlin wrote: | Dual celeron? Use -j3 instead. |
I tried this at first time. but it failed.
so switched back to -j2 and then -j1 |
|
Back to top |
|
|
striscio n00b
Joined: 30 Aug 2002 Posts: 23 Location: milano - italy
|
Posted: Mon Nov 25, 2002 8:45 am Post subject: |
|
|
striscio wrote: | Quote: | Are you overclocking your Celerons from 336 to 550? If so set it back to 336. |
I'll try. but has worked for years without a problem... |
Put cpu back to 3656 and everything went fine (but slow...).
Now that I emerged system I'll try to compile stuff at 550 mhz.
Tha strange thing was that gcc compilation failed always at the same point... |
|
Back to top |
|
|
Jean-Francois Apprentice
Joined: 24 Sep 2002 Posts: 191 Location: Grenoble
|
Posted: Mon Nov 25, 2002 9:24 am Post subject: |
|
|
Try to compil gcc-3.2.1 !
I've spent a lot of time to try installing Gentoo 1.4rc1 on my computer. The gcc compilation was the problem, and when I've switched to gcc 3.2.1 everything goes well ! _________________ Jean-Francois
http://bdml.free.fr
BdmL : Astronomie - Jeux de Societe - Linux - Photos |
|
Back to top |
|
|
|