I am attempting to go to gcc-3.3.2-r5 because I have run into the 30701 bug when attempting to emerge xfree on the system. The bug report indicates that the fix to the gcc has been applied to gcc-3.3.2-r5. I have attempted to upgrade to gcc-3.3.2-r5 twice now and get the same results. Reproducible: Always Steps to Reproduce: 1. Emerge Portage 2. etc-update 3. emerge -u gcc which continues until... gcc -O -DIN_GCC -W -Wall -Wwrite_strings -Wstring_prototypes -Wmissing_prototypes -pedantic -Wno_long_long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include -c insn_attrtab.c -o insn_attrtab.o Actual Results: Emerge fails with the following: make[2]: ***[insn_attrtab.o] Error 1 make[2]: Leaving directory... make[1]: ***[stage1_build] Error 2 make[1]: Leaving directory... make: ***[bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.3.2-r5 failed !!! Function src_compile, Line 432, Exitcode 2 !!! (no error messages) Expected Results: The desired result was to compile and merge the gcc-3.3.2-r5 product. The computer is a Pentium 133 with 48 MB of RAM. Gentoo Base System version 1.4.3.10 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-3.3.2-r9, 2.4.22-gentoo-r5) ================================================================================ System uname: 2.4.22-gentoo-r5 i586 Pentium 75-200 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -cmpu=i586 -funroll_loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORDIR_OVERLAY="" SYNC:"rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang ssl svga tcpd truetype x86 xml2 xmns xv zlib"
Please include a bigger log of the actual error.
Created attachment 25448 [details] emerge -u gcc output I ran emerge -u gcc | tee /tmp/gcclog.txt to get this output.
Can you rather do it as: emerge -u gcc 2>&1 | tee /tmp/gcclog.txt else there is no errors in the log.
Created attachment 25524 [details] emerge -u gcc output w/ error output Sorry about the delay. I generated the output as your instructed: emerge -u gcc 2>&1 | tee /tmp/gcclog2.txt
cc1 was killed. Do you use grsecurity. Also how much memory/swap, and space free on partition where PORTAGE_TMPDIR is located?
Created attachment 25612 [details] Grsecurity Kernel Configuration I am evidently using grsecurity based on the kernel config I used to build the kernel. Apart from this configuration, I have not done anything else to regarding grsecurity. Suprisingly, I only had 960 KB of free memory when I looked using TOP. The system only has 45876 KB of memory. I was also shocked to see that my swap was not being used. I enabled swap using the swapon utility and restarted the emerge of gcc to see if this corrects the problem. I am also going to be digging into why swap is not enabled upon boot up. I suspect that I have missed a step in the boot strap process. I should know the results in a couple of hours and then I will let you know.
I think you found the problem in that the swap was not turned on. The emerge went a lot further (until my hard disk ran out of space: only 1GB drive) including successfully compiling insn_attrtab.o. I think the problem is resolved. Thank you for your help.