Trying emerge -u system... gcc 3.3.3 was successful emerge failed while building glibc-2.3.3_pre20040420: ... gcc iso8859-1.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=i586 -mpreferred-stack-boundary=2 -fPIC -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata -I.. -I../libio -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc -o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata/iso8859-1.os -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata/iso8859-1.os.dt gcc iso8859-2.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=i586 -mpreferred-stack-boundary=2 -fPIC -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata -I.. -I../libio -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc -o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata/iso8859-2.os -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata/iso8859-2.os.dt gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/iconvdata/iso8859-1.os] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/iconvdata' make[1]: *** [iconvdata/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.3_pre20040420 failed. !!! Function src_compile, Line 528, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge -u system Actual Results: glibc-2.3.3_pre20040420 build failed Expected Results: successful emerge of glibc-2.3.3_pre20040420 Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25-co-0.6.0) ================================================================= System uname: 2.4.25-co-0.6.0 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i586 -funroll-loops" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i586 -funroll-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://open- systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X esd gif gtk gtk2 imlib java jpeg libg++ libwww mad mpeg ncurses oggvorbis opengl pam perl png python qt readline sdl slang spell ssl tcpd truetype x86 xml2 xmms xv zlib"
please run memtest86 and cpuburn
I ran memtest86 (latest emerged build) and cpuburn (latest emerged build). No errors were detected.
Check dmesg if it was the OOM killer.
Bingo! It was an out of memory problem. I setup a substantial swap partition, and it emerged just fine.
Closing