This is a dual xeon machine. (550, 512 megs of ram.. scsi) This box was emerge'd and world upgraded about a week prior. I did another world upgrade and gcc died on the following. seemant request it be reported asap. echo "int xxy_us_dummy;" >tmp-dum.c ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux- gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -S tmp-dum.c cp/pt.o(.text+0xbc20): In function `tsubst': : undefined reference to `TYPE_BEING_DAFINED' collect2: ld returned 1 exit status make[2]: *** [cc1plus] Error 1 make[2]: *** Waiting for unfinished jobs.... echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c make[2]: *** Waiting for unfinished jobs.... if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \ echo "int prepends_underscore = 1;" >>tmp-under.c; \ else \ echo "int prepends_underscore = 0;" >>tmp-under.c; \ fi make[2]: *** Waiting for unfinished jobs.... /bin/sh /var/tmp/portage/gcc-3.2.1-r6/work/gcc-3.2.1/gcc/move-if-change tmp- under.c underscore.c make[2]: *** Waiting for unfinished jobs.... rm -f tmp-dum.c tmp-dum.s make[2]: *** Waiting for unfinished jobs.... echo timestamp > s-under make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.1-r6/work/build/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.1-r6/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.2.1-r6 failed. !!! Function src_compile, Line 284, Exitcode 2 !!! (no error message)
will do a grep on the gcc sources for TYPE_BEING_DAFINED in the morning, it is a obvious typo! I guess, unless someone is being funny
I'm sorry but I cannot find where TYPE_BEING_DAFINED is anywhere in the gcc sources, I can find TYPE_BEING_DEFINED many times. could you do ebuild gcc-3.2.1-r6.ebuild unpack and goto the work dir and grep for the said string in the file gcc/cp/pt.c If must be a flipped bit error then (data corruption either in gcc (doubt it) or via your hardware ). Stefan
Check your kernel ... we had issues like this before, and it needed a patch kernel side ... also dual Xeon ....
I think this is a freak, plus gcc-3.2.2 is out now. TYPE_BEING_DAFINED appears nowhere in the sources, so your system is at fault!