Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256766 - sys-devel/gcc-4.3.3: xgcc: Internal error: Killed (program cc1)
Summary: sys-devel/gcc-4.3.3: xgcc: Internal error: Killed (program cc1)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 363675 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-29 10:48 UTC by Miernik
Modified: 2011-07-05 06:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/sys-devel/gcc-4.3.3/temp/build.log (build.log-last-1000-lines,431.19 KB, text/plain)
2009-01-29 10:52 UTC, Miernik
Details
/var/tmp/portage/sys-devel/gcc-4.3.3/temp/environment (environment,185.88 KB, text/plain)
2009-01-29 10:53 UTC, Miernik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miernik 2009-01-29 10:48:23 UTC
Failed to emerge sys-devel/gcc-4.3.3.

/var/tmp/portage/sys-devel/gcc-4.3.3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/   -march=athlon64 -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                            -Wno-overlength-strings    -DHAVE_CONFIG_H  gcov.o intl.o version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov
/var/tmp/portage/sys-devel/gcc-4.3.3/work/build/./prev-gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/   -march=athlon64 -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                            -Wno-overlength-strings    -DHAVE_CONFIG_H  gcov-dump.o version.o errors.o ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov-dump
{standard input}: Assembler messages:
{standard input}:125589: Warning: end of file not at end of a line; newline inserted
{standard input}:127684: Error: bad register name `%'
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
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3/work/build/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3/work/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.3/work/build'
make: *** [bootstrap-lean] Error 2
 *
 * ERROR: sys-devel/gcc-4.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4753:  Called toolchain_src_compile
 *             environment, line 5269:  Called gcc_src_compile
 *             environment, line 3050:  Called gcc_do_make
 *             environment, line 2841:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.3/temp/environment'.



Reproducible: Always

Steps to Reproduce:
1. emerge gcc-4.3.3
Comment 1 Miernik 2009-01-29 10:52:24 UTC
Created attachment 180071 [details]
/var/tmp/portage/sys-devel/gcc-4.3.3/temp/build.log
Comment 2 Miernik 2009-01-29 10:53:14 UTC
Created attachment 180073 [details]
/var/tmp/portage/sys-devel/gcc-4.3.3/temp/environment
Comment 3 Miernik 2009-01-29 10:54:17 UTC
przehyba ~ # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.9_p20081201-r1, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Wed, 28 Jan 2009 07:25:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /var/tmp/libre_java_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi adns afs alsa amd64 bash-completion berkdb bindist bzip2 calendar cli cracklib crypt cups curl curlwrappers dbus dri fltk gdbm geoip gif gnutls gps gtk iconv ieee1394 imagemagick ipv6 isdnlog jabber javascript jpeg libnotify libwww mbox midi mime mmx mp3 mpeg mplayer mudflap multilib ncurses netboot nls nntp nocd nptl nptlonly nsplugin odbc ofx ogg openmp pam pcre pdf perl png postgres pppd python qt4 readline recode reflection sasl session slang sockets spell spl sse sse2 ssl startup-notification svg sysfs syslog tcpd truetype unicode usb v4l vim-syntax vorbis xcb xml xmlrpc xorg xosd xulrunner xvid 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="void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

przehyba ~ # 
Comment 4 Miernik 2009-01-29 10:57:11 UTC
It might be something with out-of-memory while emerging, because the first time I tried this, when it got this error, it also killed all larger applications I had opened (Firefox, some xterms even), but now I tried this compile without any unneeded apps open, and it also failed. And I have 2 GB of RAM, so it should be enough, no? I have no swap, because I have no HDDs in this machine, only USB flash, so its no point in having swap.
Comment 5 SpanKY gentoo-dev 2009-01-29 20:43:40 UTC
yeah pretty much.  install more memory, or try removing -pipe from your compiler flags.
Comment 6 SpanKY gentoo-dev 2011-07-05 06:24:17 UTC
*** Bug 363675 has been marked as a duplicate of this bug. ***