emerge sys-devel/gcc-4.4.3-r2 fails, last few lines are: x86_64-pc-linux-gnu-gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. make[3]: *** [insn-attrtab.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gcc.pod make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/build' make: *** [bootstrap-lean] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge sys-devel/gcc 2. dead 3. Actual Results: Using my configuration, which is in Additional Information it fails to build. Expected Results: I expected it to build just fine. Odd thing, cannot reproduce on all AMD64 machines. silicon ~ # emerge --info =sys-devel/gcc-4.4.3-r2 Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.11.1-r0, 2.6.28-gentoo-r5-64bit x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.28-gentoo-r5-64bit-x86_64-QEMU_Virtual_CPU_version_0.12.2-with-gentoo-1.12.13 Timestamp of tree: Wed, 23 Jun 2010 04:44:11 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.4-r1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.7.9-r1, 1.10.2, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --nospinner" FEATURES="assume-digests buildpkg distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://cdn.edoceo.com/element/" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl sysfs tcpd truetype unicode xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY silicon ~ # emerge -pqv =sys-devel/gcc-4.4.3-r2 [ebuild NS ] sys-devel/gcc-4.4.3-r2 [4.3.4] USE="(-altivec) -bootstrap -build -doc (-fixed-point) fortran -gcj -graphite -gtk (-hardened) (-libffi) mudflap (multilib) -multislot (-n32) (-n64) nls -nocxx nptl -objc -objc++ -objc-gc openmp -test -vanilla"
Build log: https://carbon.edoceo.com/gentoo/gcc-4.4.3-r2-build.log
I am having the same trouble with gcc-4.4.3 both -r2 and -r3 with or without hardened/multilib. It seems to be a qemu64 simulated processor bug. Changing the qemu -cpu to core2duo now produced an assembler error. At least this error seems due to a gcc bug. /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O2 -march=core2 -mtune=core2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber/bid -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/convert.c -o convert.o /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O2 -march=core2 -mtune=core2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber/bid -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/coverage.c -o coverage.o /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O2 -march=core2 -mtune=core2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber/bid -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/cse.c -o cse.o /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O2 -march=core2 -mtune=core2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber/bid -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/cselib.c -o cselib.o /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O2 -march=core2 -mtune=core2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/../libdecnumber/bid -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/dbxout.c -o dbxout.o /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/dbxout.c: In function ���dbxout_finish_complex_stabs���: /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/dbxout.c:872: warning: ignoring return value of ���fwrite_unlocked���, declared with attribute warn_unused_result /var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/gcc-4.4.3/gcc/dbxout.c:899: warning: ignoring return value of ���fwrite_unlocked���, declared with attribute warn_unused_result {standard input}: Assembler messages: {standard input}:48402: Error: open CFI at the end of file; missing .cfi_endproc directive xgcc: Internal error: Killed (program cc1) Please submit a full bug report. See <http://bugs.gentoo.org/> for instructions. make[3]: *** [insn-attrtab.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gcc.pod gfortran.pod make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build/gcc' make[2]: *** [all-stage3-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.3-r3/work/build' make: *** [bootstrap-lean] Error 2 * ERROR: sys-devel/gcc-4.4.3-r3 failed: * emake failed with bootstrap-lean *
my last error is similar to Bug 291246. And setting MAKEOPTS="-j1" it compiled/installed. Even though I had been watching the memory and drive space earlier and neither came close to being used up.
I was building, on a "QEMU Virtual CPU version 0.12.2" system when this failed. I had MAKEOPTS="-j2" This failed. I switch to MAKEOPTS="-j1" and the GCC compiled just find (a few QA warnings but, that's not for Gentoo).
(In reply to comment #1) > Build log: > https://carbon.edoceo.com/gentoo/gcc-4.4.3-r2-build.log Please attach the build log and reopen this bug report.