Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 158805

Summary: sys-devel/gcc-4.1.1-r3: Compiltion fails: xgcc: Internal error: Killed (program cc1)
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Skwar 2006-12-21 23:37:49 UTC
I'm trying to install Gentoo on a VMserver vm on a ~x86 system (Intel Celeron Duo Core, T2400 @ 1.83GHz). I updated glibc to glibc 2.5 and I'm now trying to recompile gcc; this fails.

/bin/sh /Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c
insn-attrtab.c is unchanged
echo timestamp > s-attrtab
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/   -march=pentium-m -O2 -pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute     -DHAVE_CONFIG_H -I. -I. -I/Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc -I/Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc/. -I/Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc/../include -I/Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc/../libcpp/include     -c insn-attrtab.c \
  -o insn-attrtab.o
{standard input}: Assembler messages:
{standard input}:33464: Warning: end of file not at end of a line; newline inserted
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [insn-attrtab.o] Error 1
make[2]: Leaving directory `/Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/Gentoo/Portage/build/portage/gcc-4.1.1-r3/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.1-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1536:   Called gcc_do_make
  toolchain.eclass, line 1410:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.




c1 livecd / # emerge -vpt gcc

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.1-r3  USE="-bootstrap -build -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k -mudflap -multislot nls -nocxx -objc -objc++ -objc-gc test -vanilla" 0 kB


c1 livecd / # emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://gentoo.supp.name/        http://ftp.heanet.ie/pub/gentoo/        http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/    http://ftp.gentoo.or.kr/        http://ftp.uni-erlangen.de/pub/mirrors/gentoo/  http://distfiles.gentoo.
/pub/Mirrors/gentoo/    http://ftp.gentoo.or.kr/        http://ftp.uni-erlangen.de/pub/mirrors/gentoo/  http://distfiles.gentoo.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam
firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg kde libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-22 00:03:48 UTC
Out of memory, most likely.

*** This bug has been marked as a duplicate of 20600 ***