make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.2/work/perl-5.8.2/x2p' `sh cflags "optimize='-O2 -march=i686 -fomit-frame-pointer'" perl.o` -fPIC perl .c `sh cflags "optimize='-O2 -march=i686 -fomit-frame-pointer'" gv.o` -fPIC gv.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -O2 -march=i686 -fomit-frame-pointer -Wall CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -O2 -march=i686 -fomit-frame-pointer -Wall `sh cflags "optimize='-O2 -march=i686 -fomit-frame-pointer'" toke.o` -fPIC toke .c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -O2 -march=i686 -fomit-frame-pointer -Wall `sh cflags "optimize='-O2 -march=i686 -fomit-frame-pointer'" perly.o` -fPIC per ly.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -O2 -march=i686 -fomit-frame-pointer -Wall `sh cflags "optimize='-O2 -march=i686 -fomit-frame-pointer'" op.o` -fPIC op.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -O2 -march=i686 -fomit-frame-pointer -Wall gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make: *** [toke.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-devel/libperl-5.8.2 failed. !!! Function src_compile, Line 206, Exitcode 2 !!! Unable to make libperl.so Reproducible: Always Steps to Reproduce: Everytime I try to run emerge system it comes up with this error. Doesn't matter if -perl is in my USE environment variable. Actual Results: Not applicable Expected Results: Compile my libperl.so! The computer's configuration looks like this: Cyrix MII (MX) 225 MHz (3x75MHz) CPU Unkown motherboard with SiS 5598 chipset 4x 16mb = 64mb EDO SIMM (These are the most important parts.) Using the following stage tarball: stage2-i686-20040218.tar.bz2
Contents of /etc/make.conf: # These settings were set by the catalyst build script that automatically built this stage CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" USE="-3dfx -3dnow aalib -accessibility -acl acpi -afs -adns -aim -alsa -altivec apache2 apm -arts -atlas -avi -berkdb -bidi -bonobo -canna -caps -cdr -cjk -crypt -cscope cups -curl -debug dedicated -dga -directfb -doc -dvb -dvd -dvdr -emacs -emacs-w3 -encode -esd -ethereal -ev6 -evo -fam fastcgi -fbcon -fdftk -fftw -firebird -flac flash -foomatic -freetds -freewnn -gb gd -gd-external -gdbm -ggi gif -ginac -gnome -gphoto2 gpm -gps -gstreamer -gtk -gtk2 -gtkhtml -guile -hardened -icc -icq -imap -imagemagick -imlib -innodb -informix ipv6 -jabber -jack java jikes -joystick jpeg -junit -kde -kerberos -krb4 -ladcca -lcms -ldap -leim -libg++ -libgda -libwww -lirc -mad -maildir -matrox -mbox -mcal -mikmod mmx -motif -lesstif -mozilla -mpeg -mpi -msn -mule mysql -nas ncurses -nhc98 -netcdf nls nocardbus nocd -oci8 odbc -oggvorbis -opengl -oscar -oss -pam -pcmcia -pda -ppds pdflib -perl -plotutils png -pnp -postgres -prelude -python -qt -quicktime -ruby samba -sasl -scanner -sdl -slang -slp -snmp -sock5 -speex -spell -sse -sqlite -svga -tcltk tcpd -tetex -theora tiff truetype -trusted unicode -usb vhosts -videos -voodoo3 wmf -wxwindows -X -Xaw3d -xface -xinerama -xosd xml xml2 -xmms -xv -yahoo -yaz -zeo zlib" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2"
Created attachment 27554 [details] My emerge info
I'm confirming this. Getting this error on my Pentium 1 200 mhz box using the same stage 2 the previous poster used. I have attached my emerge info.
It sounds as if gcc is have some issues which usually means bad CFLAGS (which I really don't think is the case because you both have tame CFLAGS) or an "issue" with hardware while compiling. This is really shotgun debugging, but try removing -fomit-frame-pointer and setting MAKEOPTS=-j1 in /etc/make.conf so you reduce load on the box while building. I've had similar problems with gcc on older hardware (in my case a AMD K6-2 333mhz) and I believe this worked. Beyond this, I'm not sure there's much else we can do other than send it upstream to the gcc team to look at.
Thank you for looking over this problem. I have tried installing Windows 2000 on the same box and it seamed that things weren't really running stable. I tweaked some motherboard settings (crappy board to play with) and got things to run a lot smoother already. I think I will be trying to recompile this weekend. I'll let you all know the results.
I think I have the same problem on an Athlon 550 with AMD-Chipset. I tried to compile without CFLAGS and several different USE-Configurations yet but none of them worked. these are the last lines of my output: make[2]: Entering directory `/tmp/portage/portage/libperl-5.8.2/work/perl-5.8.2/x2p' echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist make[2]: Leaving directory `/tmp/portage/portage/libperl-5.8.2/work/perl-5.8.2/x2p' Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o. make[2]: Entering directory `/tmp/portage/portage/libperl-5.8.2/work/perl-5.8.2/x2p' echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist make[2]: Leaving directory `/tmp/portage/portage/libperl-5.8.2/work/perl-5.8.2/x2p' Updating makefile... make[1]: Leaving directory `/tmp/portage/portage/libperl-5.8.2/work/perl-5.8.2/x2p' `sh cflags "optimize='-O2'" perl.o` -fPIC perl.c `sh cflags "optimize='-O2'" gv.o` -fPIC gv.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall `sh cflags "optimize='-O2'" toke.o` -fPIC toke.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall `sh cflags "optimize='-O2'" perly.o` -fPIC perly.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall `sh cflags "optimize='-O2'" op.o` -fPIC op.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall `sh cflags "optimize='-O2'" pad.o` -fPIC pad.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall `sh cflags "optimize='-O2'" regcomp.o` -fPIC regcomp.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make: *** [toke.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-devel/libperl-5.8.2 failed. !!! Function src_compile, Line 206, Exitcode 2 !!! Unable to make libperl.so Is there already anyone who has fixed it? Kind Regards, Benjamin
Benjamin, check if you have enough memory/swap space.
it was a swap/memory issue for me...setting -j1 as a makeopt and activating a swap partition (I forgot to swapon...) fixed the problem for me.
gcc probably was killed due to OOM, or ram-problems. There might be some OOM messages in /var/log/messages. Bug should probably be closed.
finally closing per final comment