I'm getting the following segmentation fault when compiling mysql-4.1.14-r1: if i686-pc-linux-gnu-g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/ var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../b db/build_unix -I../innobase/include -I../include -I../include -I../regex -I. -O3 - DDBUG_OFF -O2 -march=pentium4 -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -felide-co nstructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rt ti -MT sql_lex.o -MD -MP -MF ".deps/sql_lex.Tpo" -c -o sql_lex.o sql_lex.cc; \ then mv -f ".deps/sql_lex.Tpo" ".deps/sql_lex.Po"; else rm -f ".deps/sql_lex.Tpo"; exi t 1; fi i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[4]: *** [sql_lex.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/mysql-4.1.14-r1/work/mysql/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/mysql-4.1.14-r1/work/mysql/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/mysql-4.1.14-r1/work/mysql/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-4.1.14-r1/work/mysql' make: *** [all] Error 2 All the previous files seem to compile okay, and other packages are compiling without problem. My 'emerge --info' looks like this: Portage 2.0.54 (default-linux/x86/no-nptl/2.4, gcc-3.4.5, glibc-2.3.5-r3, 2.4.26-bytemark-uml-20040706-1 i686) ================================================================= System uname: 2.4.26-bytemark-uml-20040706-1 i686 UML Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.4.26-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo-distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.bytemark.co.uk/gentoo" USE="x86 acl alsa apache apm arts avi berkdb bitmap-fonts bzip2 cli crypt ctype cups curl dba dri eds emboss encode expat fastbuild fastcgi foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer idn imap imlib ipv6 jpeg libg++ libwww mad memlimit mhash mikmod motif mp3 mpeg mysql ncurses nls ogg pam pcre pdflib perl php png posix python quicktime readline ruby sasl session simplexml slang soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts vhosts vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Apologies, I have just had a PHP build fail on the same box with a similar error. I suspect it's a problem with my machine. Closing this bug.