This morning I had to stop updating gcc because I had to leave, now when I resume I get a segmentating fault: stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/dependence.c -o dependence.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/df.c -o df.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/diagnostic.c -o diagnostic.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/doloop.c -o doloop.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/dominance.c -o dominance.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/dwarf2asm.c -o dwarf2asm.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/dwarf2out.c -o dwarf2out.o stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -march=athlon-xp -pipe -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-3.2. 3-r3/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2. 3/gcc/../include /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/dwarfout.c -o dwarfout.o xgcc: Internal error: Segmentating fault (program as) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[2]: *** [dwarfout.o] Error 1 make[2]: *** Waiting for unfinished jobs... cc1: Broken pipe: error writing to - make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.2.3-r3 failed. !!! Function src_compile, Line 406, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge gcc Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4. 20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp. belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="x86 apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl gphoto2 cdr 3dnow acpi alsa dga doc dvd ethereal fbcon flash gd gtk2 gtkhtml imap jikes junit maildir mbox mysql oss pic plotutils radeon samba tiff usb wmp xml"
I have just retried after rsyncing, and it worked just fine. I can't give an explanation right away, but always happy to answer questions. Thanks!
"emerge sync" then rerunning update also fixed it for me, though I now get segmentation faults elsewhere.