When compiling src/dfa.c, gcc (3.2.1) generates a segfault when parsing dfa.h, the compiler options where '-O3 -mcpu=v8 -fomit-frame-pointer'. The (quick) solution/workaround is to add a newline after line 432 (last line of the file) in src/dfa.h
Would you submit the output of emerge info? Thanks.
(none) portage # emerge info Portage 2.0.47-r10 (default-sparc-1.4, gcc-3.2.1, glibc-2.2.5-r7,2.3.1-r3) ================================================================= System uname: 2.2.20 sparc unknown GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/ distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/mnt/fs0/portage/packages/sparc32/v8" PORTAGE_TMPDIR="/mnt/fs0/portage/tmp/arcadia" PORTDIR_OVERLAY="/mnt/fs0/portage/portage" USE="sparc berkdb crypt libwww ncurses pam perl readline ssl tcpd zlib" COMPILER="gcc3" CHOST="sparc-unknown-linux-gnu" CFLAGS="-mcpu=v8 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-mcpu=v8 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="sparc" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg ccache userpriv usersandbox" -- this happened during stage2 of the install, so I'm still booted with a debian netboot image (hence kernel 2.2.20). '/mnt/fs0' is a nfs share. I hope this is all the info you need.
Added a patch to grep versions 2.5-r1, 2.5.1 and 2.5.1-r1 that should fix this. Will do some testing as time permits.
Closing
Recent Gentoo Bugzilla move caused the status of this to change. Changing back.