I did an emerge -uD world and gcc-3.4.3-r1 was included in the updated packages. It failed with internal compiler errors. Reproducible: Always Steps to Reproduce: 1. emerge gcc 2. 3. Actual Results: gcc -O2 -march=athlon-xp -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -c insn-attrtab.c \ -o insn-attrtab.o insn-attrtab.c: In function `insn_default_latency': insn-attrtab.c:6052: error: insn does not satisfy its constraints: (insn:TI 26326 26324 26330 insn-attrtab.c:5179 (set (reg:CCZ 17 flags) (compare:CCZ (??? bad code 2122 ) (const_int 2 [0x2]))) 2 {*cmpsi_1_insn} (insn_list 26324 (nil)) (expr_list:REG_DEAD (??? bad code 2122 ) (nil))) insn-attrtab.c:6052: internal compiler error: in final_scan_insn, at final.c:2359 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[1]: *** [insn-attrtab.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc' make: *** [all-gcc] Error 2 !!! ERROR: sys-devel/gcc-3.4.3-r1 failed. !!! Function gcc_do_make, Line 1273, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: emerged successfully Portage 2.0.51-r3 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-rc1-love1 i686) ================================================================= System uname: 2.6.9-rc1-love1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-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="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://elmo.sesame/ ftp://mirror.internode.on.net/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 foomaticdb fortran gdbm gif gpm gtk gtk2 guile imlib java jpeg ldap libg++ libwww mad mikmod mmx motif mpeg msn ncurses nls nptl opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd truetype usb x86 xml xml2 xmms xprint xv zlib"
i have gcc-3.4.3-r1 breaking, when being compiled by 3.4.3 that was thrice compiled, once with 3.3.4 and twice with 3.4.3. look here: http://forums.gentoo.org/viewtopic.php?p=1931070#1931070 screen output: : Automaton 'athlon_load' 162 NDFA states, 855 NDFA arcs 162 DFA states, 855 DFA arcs 162 minimal DFA states, 855 minimal DFA arcs 158 all insns 10 insn equivalence classes 1047 transition comb vector els, 1620 trans table els: use simple vect 1047 state alts comb vector els, 1620 state alts table els: use simple vect 1620 min delay table els, compression factor 2 Automaton 'athlon_mult' 16 NDFA states, 48 NDFA arcs 16 DFA states, 48 DFA arcs 16 minimal DFA states, 48 minimal DFA arcs 150 all insns 4 insn equivalence classes 50 transition comb vector els, 64 trans table els: use simple vect 50 state alts comb vector els, 64 state alts table els: use simple vect 64 min delay table els, compression factor 2 Automaton 'athlon_fp' 15522 NDFA states, 99908 NDFA arcs 15522 DFA states, 99908 DFA arcs 463 minimal DFA states, 3038 minimal DFA arcs 158 all insns 21 insn equivalence classes 3057 transition comb vector els, 9723 trans table els: use simple vect 3057 state alts comb vector els, 9723 state alts table els: use simple vect 9723 min delay table els, compression factor 1 17012 all allocated states, 101385 all allocated arcs 20258 all allocated alternative states 4765 all transition comb vector els, 13107 all trans table els 4765 all state alts comb vector els, 13107 all state alts table els 13107 all min delay table els 0 locked states num transformation: 0.225967, building DFA: 100.540713 DFA minimization: 3.969398, making insn equivalence: 0.032995 all automaton generation: 106.235850, output: 1.902710 /bin/sh /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-sttrtab gcc -march=pentium -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -c insn-attrtab.c -o insn-attrtab.o {standard input}: assembler messages: {standard input}:49615: Warning: end of file not at end of a line; newline inserted gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:htto://bugs.gentoo.org/> for instructions. {standard input}:51709: Error: suffix or operands invalid for 'cmp' make[1]: *** [insn-attrtab.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc make: *** [all-gcc] Error 2 !!! ERROR: sys-devel/gcc-3.4.2-r1 failed. !!! Function gcc_do_make, Line 1297, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
transformation: 0.030996, building DFA: 19.102095 DFA minimization: 0.832874, making insn equivalence: 0.005999 all automaton generation: 20.174933, output: 0.348946 /bin/sh /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/gcc/move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-attrtab stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=pentium4 -pipe -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/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/gcc/../include -c insn-attrtab.c \ -o insn-attrtab.o insn-attrtab.c: In function `result_ready_cost': insn-attrtab.c:19462: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/gcc-3.4.3.20050110/temp/ccHC2Em8.out file, please attach this to your bugreport. make[2]: *** [insn-attrtab.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3.20050110/work/build/gcc' make: *** [profiledbootstrap] Error 2
Are you guys able to compile 3.4.4? All 3 of these are dieing at different points in the file, so I wonder if you're running out of memory because it's a large file. Try removing -pipe from your CFLAGS. Can you compile gcc-3.4.4? All of you please provide emerge --info
*** Bug 98350 has been marked as a duplicate of this bug. ***
>Are you guys able to compile 3.4.4? Nope. Fails during bootstrap, which I believe tries to build 3.4.4? I would try to pull emerge --info and the error off the machine, but the kernel panics shortly thereafter. >Try removing -pipe from your CFLAGS. That's the first thing that I thought of, but it didn't seem to work. Also see: http://forums.gentoo.org/viewtopic-t-358266.html
Unfotunately, I'm no longer able to replicate the error, so I can be of little service. I recompiled my kernel with the 2.6.12-gentoo-r4 sources and the problem went away (using the exact same config file).
almost the same here: -------------------- root@zonk:/# emerge gcc -pvt These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild U ] sys-devel/gcc-3.4.4 [3.4.3-r1] (-altivec) -bootstrap -boundschecking -build +fortran* -gcj +gtk* +hardened* -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static 0 kB Total size of downloads: 0 kB -------------------- compiler output: -------------------- ofile-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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/fold-const.c -o fold-const.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/function.c -o function.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/gcse.c -o gcse.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include genrtl.c -o genrtl.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/ggc-common.c -o ggc-common.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/global.c -o global.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/graph.c -o graph.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include gtype-desc.c -o gtype-desc.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/haifa-sched.c -o haifa-sched.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/hooks.c -o hooks.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/ifcvt.c -o ifcvt.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/genattrtab.c -o genattrtab.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/genautomata.c -o genautomata.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/varray.c -o varray.o stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genattrtab \ genattrtab.o genautomata.o \ rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o errors.o \ varray.o ../libiberty/libiberty.a -lm ./genattrtab /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-attrtab.c Automaton `pentium' 48 NDFA states, 138 NDFA arcs 48 DFA states, 138 DFA arcs 20 minimal DFA states, 82 minimal DFA arcs 158 all insns 17 insn equivalence classes 88 transition comb vector els, 340 trans table els: use comb vect 88 state alts comb vector els, 340 state alts table els: use comb vect 340 min delay table els, compression factor 2 Automaton `pentium_fpu' 80 NDFA states, 172 NDFA arcs 80 DFA states, 172 DFA arcs 75 minimal DFA states, 162 minimal DFA arcs 158 all insns 8 insn equivalence classes 164 transition comb vector els, 600 trans table els: use comb vect 164 state alts comb vector els, 600 state alts table els: use comb vect 600 min delay table els, compression factor 1 Automaton `athlon' 518 NDFA states, 1668 NDFA arcs 518 DFA states, 1668 DFA arcs 76 minimal DFA states, 328 minimal DFA arcs 158 all insns 10 insn equivalence classes 359 transition comb vector els, 760 trans table els: use simple vect 359 state alts comb vector els, 760 state alts table els: use simple vect 760 min delay table els, compression factor 2 Automaton `athlon_load' 162 NDFA states, 855 NDFA arcs 162 DFA states, 855 DFA arcs 162 minimal DFA states, 855 minimal DFA arcs 158 all insns 10 insn equivalence classes 1047 transition comb vector els, 1620 trans table els: use simple vect 1047 state alts comb vector els, 1620 state alts table els: use simple vect 1620 min delay table els, compression factor 2 Automaton `athlon_mult' 16 NDFA states, 48 NDFA arcs 16 DFA states, 48 DFA arcs 16 minimal DFA states, 48 minimal DFA arcs 158 all insns 4 insn equivalence classes 50 transition comb vector els, 64 trans table els: use simple vect 50 state alts comb vector els, 64 state alts table els: use simple vect 64 min delay table els, compression factor 2 Automaton `athlon_fp' 15522 NDFA states, 99908 NDFA arcs 15522 DFA states, 99908 DFA arcs 463 minimal DFA states, 3038 minimal DFA arcs 158 all insns 21 insn equivalence classes 3057 transition comb vector els, 9723 trans table els: use comb vect 3057 state alts comb vector els, 9723 state alts table els: use comb vect 9723 min delay table els, compression factor 1 17012 all allocated states, 101385 all allocated arcs 20258 all allocated alternative states 4765 all transition comb vector els, 13107 all trans table els 4765 all state alts comb vector els, 13107 all state alts table els 13107 all min delay table els 0 locked states num transformation: 0.010999, building DFA: 7.936792 DFA minimization: 0.362945, making insn equivalence: 0.000000 all automaton generation: 8.370727, output: 0.090987 /bin/sh /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-attrtab stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -m64 -march=k8 -O2 -pipe -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.4/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include -c insn-attrtab.c \ -o insn-attrtab.o insn-attrtab.c: In function `internal_dfa_insn_code': insn-attrtab.c:22564: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/gcc-3.4.4/temp/cc0gI4aj.out file, please attach this to your bugreport. make[2]: *** [insn-attrtab.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.4 failed. !!! Function gcc_do_make, Line 1216, Exitcode 2 !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, NOT this status message. -------------------- system info: -------------------- zonk / # emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.12.2 x86_64) ================================================================= System uname: 2.6.12.2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 4 2005, 20:56:19)] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -s -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-march=k8 -O2 -pipe -s -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa apache2 audiofile avi berkdb bindist bitmap-fonts bzlib cdr crypt cups dba dv dvd dvdread eds encode ffmpeg flac foomaticdb fortran ftp gd gif gphoto2 gpm gstreamer gtk gtk2 hardened imlib ipv6 jpeg jpeg2k kde lirc lm_sensors logitech-mouse lzw lzw-tiff mad mime mp3 mpeg mysql ncurses nls ogg opengl pam pcre pdflib perl png python qt quicktime readline real sasl sdl spell ssl tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l xpm xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY -------------------- -------------------- zonk / # uname -a Linux zonk 2.6.12.2 #19 Thu Aug 18 15:30:53 BST 2005 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux -------------------- -------------------- zonk / # gcc -v Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --enable-multilib --disable-libgcj --enable-languages=c,c++ Thread model: posix gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) -------------------- -------------------- zonk / # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor 3000+ stepping : 0 cpu MHz : 1808.359 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm bogomips : 3579.90 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp tm stc -------------------- -------------------- hardware: - AMD64 3000+ Venice core - DFI LAN Party Ultra-D NForce 4 - 1GB DDR 400 Dual Channel RAM - two Samsung disk in RAID 0 Array SYSTEM IS NOT OVERCLOCKED DEFAULT MEMORY TIMINGS DEFAULT VOLTAGES -------------------- i've tried: - using 2 different Live CD's (install-amd64-minimal-2005.0.iso and livecd64-ahorn5.iso, both with 2.6.11 kernels) - using installed on other disc slackware current with 2.6.12.2 kernel - using different filesystems (ReiserFS 3.6 and 4.0) - simpler flags such as "-O0 -march=k8" - simpler features, like disabling sandbox - setting /proc/sys/kernel/randomize_va_space to 0 - increase CPU/RAM/NB voltages i've checked - swap (active 1.3GB) - hardware seems to be fine. i've ran memtest86, no errors. - /dev and /proc are binded (/dev is for raid md* devices) - md5 checksums - temperatures reasonable: 35 Celsius on CPU under heavy load. good memory and disks cooling. chipset temp is around 40 deg. ERROR IS REPRODUCTABLE
few details i forgot to add: - i have this problem when bootstrapping form 2005.0 amd64 stage 1 - i have this problem when recompiling toolchain from 2005.0 amd64 stage3 - i got severe kernel panic (2.6.11 reference gentoo LiveCD) during insn_attrtab compilation once but it never occured again. what hardware are you using?? i have dual-channel DDR on NForce4 board and after some google research it seems that it has some problems operating in 64bit mode. some people recommended playing with mem timings. it gives me strange results. similar error (also related with *attrtab*) but in other place. second run (without changing anything, even without restart) and IT WORKED!!!!!!!!! summarizing all my research on those gcc crashes i've found that: - they occure in different places often under heavy load (compiling *attrtabs can consume almost 200MB RAM) - they are REPRODUCTABLE!! it's weird. i've changed my mem timings and bug that was ALWAYS THE SAME AND IN THE SAME PLACE first changed, then went away. - few cases on forums were also swap related. run 'top' and see if your swap is useable. - mostly affected boards seems to be DFI on NF4 chipset - memtest86 runs usually WITHOUT errors. people on forums reported hours of testing without errors, but changing timings seemed to help them in gcc segfaults problems. PLEASE give extra info about your hardware (and available swap) and result of playing with mem timings. if i get confirmation 'bout it i'll try to write some HOWTO on such weird cases for next generations ;)
ok, after changing every component that i could and stresstessting machine for days without any instability i can say: those insn_attrtab errors random, but NOT hardware related
Is this still an issue for anyone with the current stable gcc?
*** Bug 119336 has been marked as a duplicate of this bug. ***
*** Bug 103874 has been marked as a duplicate of this bug. ***
*** Bug 104183 has been marked as a duplicate of this bug. ***
Now that we've collected all the dupes here, reopening...
Anyone that is still running into this, please attach the preprocessed output and the output of `emerge info`, along with the output leading up to the error.
Someone please reopen this when you attach the info I asked for.
non issue for me as im using the newer 3.4.5 now and it's fine.
I just try to update my gcc, but i can't due to segfault. If any additional info is needed you are welcome. # emerge -uDva gcc ================================================================================ ================================================================================ These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap -boundschecking -build +fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 0 kB Total size of downloads: 0 kB ............................................ ............................................ Automaton `pentium' 48 NDFA states, 138 NDFA arcs 48 DFA states, 138 DFA arcs 20 minimal DFA states, 82 minimal DFA arcs 158 all insns 17 insn equivalence classes 88 transition comb vector els, 340 trans table els: use comb vect 88 state alts comb vector els, 340 state alts table els: use comb vect 340 min delay table els, compression factor 2 Automaton `pentium_fpu' 80 NDFA states, 172 NDFA arcs 80 DFA states, 172 DFA arcs 75 minimal DFA states, 162 minimal DFA arcs 158 all insns 8 insn equivalence classes 164 transition comb vector els, 600 trans table els: use comb vect 164 state alts comb vector els, 600 state alts table els: use comb vect 600 min delay table els, compression factor 1 Automaton `athlon' 518 NDFA states, 1668 NDFA arcs 518 DFA states, 1668 DFA arcs 76 minimal DFA states, 328 minimal DFA arcs 158 all insns 10 insn equivalence classes 359 transition comb vector els, 760 trans table els: use simple vect 359 state alts comb vector els, 760 state alts table els: use simple vect 760 min delay table els, compression factor 2 Automaton `athlon_load' 162 NDFA states, 855 NDFA arcs 162 DFA states, 855 DFA arcs 162 minimal DFA states, 855 minimal DFA arcs 158 all insns 10 insn equivalence classes 1047 transition comb vector els, 1620 trans table els: use simple vect 1047 state alts comb vector els, 1620 state alts table els: use simple vect 1620 min delay table els, compression factor 2 Automaton `athlon_mult' 16 NDFA states, 48 NDFA arcs 16 DFA states, 48 DFA arcs 16 minimal DFA states, 48 minimal DFA arcs 158 all insns 4 insn equivalence classes 50 transition comb vector els, 64 trans table els: use simple vect 50 state alts comb vector els, 64 state alts table els: use simple vect 64 min delay table els, compression factor 2 Automaton `athlon_fp' 15522 NDFA states, 99908 NDFA arcs 15522 DFA states, 99908 DFA arcs 463 minimal DFA states, 3038 minimal DFA arcs 158 all insns 21 insn equivalence classes 3057 transition comb vector els, 9723 trans table els: use comb vect 3057 state alts comb vector els, 9723 state alts table els: use comb vect 9723 min delay table els, compression factor 1 17012 all allocated states, 101385 all allocated arcs 20258 all allocated alternative states 4765 all transition comb vector els, 13107 all trans table els 4765 all state alts comb vector els, 13107 all state alts table els 13107 all min delay table els 0 locked states num transformation: 0.012001, building DFA: 7.512469 DFA minimization: 0.656041, making insn equivalence: 0.000000 all automaton generation: 8.272517, output: 0.124008 /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-attrtab.c insn-attrtab.c echo timestamp > s-attrtab stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-attrtab.c \ -o insn-attrtab.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genemit.c -o genemit.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genemit \ genemit.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \ errors.o ../libiberty/libiberty.a ./genemit /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-emit.c /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-emit.c insn-emit.c echo timestamp > s-emit stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-emit.c \ -o insn-emit.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include insn-modes.c -o insn-modes.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genextract.c -o genextract.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genextract \ genextract.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \ errors.o ../libiberty/libiberty.a ./genextract /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-extract.c /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-extract.c insn-extract.c echo timestamp > s-extract stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-extract.c \ -o insn-extract.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genopinit.c -o genopinit.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genopinit \ genopinit.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \ errors.o ../libiberty/libiberty.a ./genopinit /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-opinit.c /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-opinit.c insn-opinit.c echo timestamp > s-opinit stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-opinit.c \ -o insn-opinit.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genoutput.c -o genoutput.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genoutput \ genoutput.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \ errors.o ../libiberty/libiberty.a ./genoutput /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-output.c /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-output.c insn-output.c echo timestamp > s-output stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-output.c \ -o insn-output.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genpeep.c -o genpeep.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genpeep \ genpeep.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \ errors.o ../libiberty/libiberty.a ./genpeep /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-peep.c /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-peep.c insn-peep.c echo timestamp > s-peep stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-peep.c \ -o insn-peep.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genrecog.c -o genrecog.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genrecog \ genrecog.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \ errors.o ../libiberty/libiberty.a ./genrecog /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-recog.c /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md:16308: warning: operand 1 missing mode? /bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-recog.c insn-recog.c echo timestamp > s-recog stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include -c insn-recog.c \ -o insn-recog.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/integrate.c -o integrate.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include \ -DLOCALEDIR=\"/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/locale\" \ -c /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/intl.c -o intl.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/jump.c -o jump.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/langhooks.c -o langhooks.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/lcm.c -o lcm.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/lists.c -o lists.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/local-alloc.c -o local-alloc.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -O2 -march=athlon-xp -pipe -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.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/loop.c -o loop.o /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/loop.c: In function `loop_optimize': /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/loop.c:562: internal compiler error: Segmentation fault 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]: *** [loop.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.4-r1 failed. !!! Function gcc_do_make, Line 1339, Exitcode 2 !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, NOT this status message. emerge info ================================================================================ ================================================================================ Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://194.85.81.130/Gentoo ftp://172.16.3.79/gentoo_mirror" LINGUAS="ru" MAKEOPTS="-j1" PKGDIR="ftp://194.85.81.130/Gentoo ftp://172.16.3.79/gentoo_mirror" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://194.85.81.130/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss encode expat fam foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 idn imlib ipv6 jpeg kde lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
unrelated, prob hardware sucks
*** Bug 130393 has been marked as a duplicate of this bug. ***
I haadd this same error with 3.4.6-r1, and after a reboot it worked fine. maybe it is because the file size during the compile process for thoe of us who leave our system up for a long time neds to flash our ram. Just a guess.