See also bug report #63860; I get the same type of output. I started with a Stage 2 install, then went back to re-emerge gcc with f77 and fortran in the USE flags for Fortran support. gcc starts compiling, and works for quite awhile, then fails with the error report posted below. Portage was sync'd on 12/19/04, and an emerge -uD world used to update everything on the computer. Then, tried running emerge gcc. Planning on trying again after rebooting, and using -O2 instead of -O3. Reproducible: Always Steps to Reproduce: 1. emerge gcc 2. wait Actual Results: <tail end of emerge error results> Automaton `power5fpu' 1600 NDFA states, 4800 NDFA arcs 3125 DFA states, 10281 DFA arcs 3010 minimal DFA states, 9879 minimal DFA arcs 314 all insns 7 insn equivalence classes 10030 transition comb vector els, 21070 trans table els: use simple vect 10030 state alts comb vector els, 21070 state alts table els: use simple vect 21070 min delay table els, compression factor 1 Automaton `power5misc' 970 NDFA states, 3287 NDFA arcs 1713 DFA states, 6151 DFA arcs 541 minimal DFA states, 2641 minimal DFA arcs 314 all insns 15 insn equivalence classes 3094 transition comb vector els, 8115 trans table els: use comb vect 3094 state alts comb vector els, 8115 state alts table els: use comb vect 8115 min delay table els, compression factor 2 44155 all allocated states, 211218 all allocated arcs 322885 all allocated alternative states 170609 all transition comb vector els, 340434 all trans table els 170609 all state alts comb vector els, 340434 all state alts table els 340434 all min delay table els 0 locked states num transformation: 0.036994, building NDFA: 34.814704, NDFA -> DFA: 6.979943 DFA minimization: 11.304283, making insn equivalence: 0.377941 all automaton generation: 54.564705, output: 370.511674 /bin/sh /var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc/move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-attrtab stage1/xgcc -Bstage1/ -B/usr/powerpc-unknown-linux-gnu/bin/ -pipe -mcpu=750 -O2 -fprofile-generate -DIN_GCC -W -Wall -write-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc -I/var/tmp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc/. -I/var/mp/portage/gcc-3.4.1-r3/work/gcc-3.4.1/gcc/../include -c insn-attrtab.c \ -o insn-attrtab.o xgcc: Internal error: Terminated (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [insn-attrtab.o] Error 1 {standard input}: Assembler messages: {standard input}:688686: Warning: end of file not at end of a line; newline inserted make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.1-r3/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.1-r3/work/build/gcc' make: *** [profiledbootstrap] Error 2 Expected Results: Compile gcc cleanly. Computer is a New World PPC mac, the bronze keyboard Lombard PowerBook -- if the computer type is even an issue. emerge --info: Portage 2.0.51-r3 (default-ppc-2004.3, gcc-3.4.1, glibc-2.3.3.20040420-r2, 2.6.9-gentoo-r9 ppc) ================================================================= System uname: 2.6.9-gentoo-r9 ppc 740/750 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750" CHOST="powerpc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa berkdb dvd f77 fortran gdbm gif gtk gtk2 imagemagick jpeg nls opengl pam pcmcia pdflib perl plotutils png ppc python readline ssl truetype usb"
Rebooted and tried using the -O2 flag instead. gcc came out just fine this time. The make.conf.example (?) file that came with the PPC Gentoo install suggested that -O3 would be fine with my G3 architecture, or that it at least wouldn't hurt. Guess this is a problem with the make.conf.example file and the install instructions instead. (Or something deeper to fix?) But I've reported my bug like the gcc failed emerge asked me to. I'm a slave to Portage.