Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error emerging GCC.
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
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Thu Apr 28, 2005 3:12 pm    Post subject: error emerging GCC. Reply with quote

I just installed a stage3 12h ago, then installed very basic packages (gpm, ssh, grub) so that the system can boot on its own. And I am now doing my emerge --newuse -uDv world. Due to a bug, I tried to emerge just gcc:

http://saturn.doublehp.org/tmp/gcc.log2.txt
says:

Code:
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/    -O2
-march=pentium3 -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wold-style-definition     -DHAVE_CONFIG_H
  -I. -I. -I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc
-I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/.
-I/var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/gcc/../include 
-c insn-attrtab.c \
  -o insn-attrtab.o
insn-attrtab.c: In function `get_attr_ppro_uops':
insn-attrtab.c:27962: internal compiler error: in label_rtx, at
stmt.c:475
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [insn-attrtab.o] Error 1
make[2]: Leaving directory


also see http://saturn.doublehp.org/tmp/make.conf

what can break gcc ? which other log is needed to track the problem ?
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Thu Apr 28, 2005 4:49 pm    Post subject: Reply with quote

What are your CFLAGS?
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Thu Apr 28, 2005 4:56 pm    Post subject: Reply with quote

(removed non relevant comment)
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png


Last edited by doublehp on Thu Apr 28, 2005 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Thu Apr 28, 2005 5:00 pm    Post subject: SOLVED Reply with quote

(removed non relevant comment)
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png


Last edited by doublehp on Thu Apr 28, 2005 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Thu Apr 28, 2005 8:17 pm    Post subject: solved, but previous posts were wrong. Reply with quote

neither distcc nor -pipe were the trouble ... just cheap memory which did not support my new CPU at high speed ...

I bought 66 and 100Mhz memory, and my new CPU at 133FSB is just too much for them ;)

The key point to discover that was that the bug in emerge never occured twice exactly at the same place ...

logging everything helps a lot ...

adding PORT_LOGDIR="/var/log/portage" to make.conf helps a lot (dont forget the proper mkdir )
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
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