Hi, last night I tried to emerge php, mod_php, php-cgi and php-core with mysql support enabled, so it tried to build mysql too. The build of mysql crashes with this message: g++ -DEMBEDDED_LIBRARY -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/var/lib/mysql\"" -DSHAREDIR="\"/usr/share/mysql\"" -I. -I. -I.. -I../bdb/build_unix -I./../include -I../include -I./.. -I.. -I.. -I../sql -I../regex -O3 -DDBUG_OFF -O3 -mcpu=pentium-mmx -march=pentium-mmx -funroll-loops -pipe -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-exceptions -fno-rtti -c -o time.o `test -f time.cc || echo './'`time.cc g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [sql_yacc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mysql-4.0.17/work/mysql-4.0.17/libmysqld' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.17/work/mysql-4.0.17/libmysqld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.17/work/mysql-4.0.17' make: *** [all] Error 2 !!! ERROR: dev-db/mysql-4.0.17 failed. !!! Function src_compile, Line 161, Exitcode 2 !!! compile problem Here the $CFLAGS, $ACCEPT_KEYWORDS and $USE: CFLAGS="-O3 -mcpu=pentium-mmx -march=pentium-mmx -funroll-loops -pipe" ACCEPT_KEYWORDS='~x86' USE='-qt -X -gnome -gtk mysql md5sum flash freetds gd imap mcal memlimit odbc snmp tiff' Btw: I don't know why emerge info produces such a lot output on $USE... gcc/g++ hasn't been compiled with ACCEPT_KEYWORDS="~x86" on. cu Reproducible: Always Steps to Reproduce: 1.set flags as described in "details" 2.emerge mysql 3.wait and see it crash Actual Results: g++ crashed... Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.3 i586 Pentium MMX Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium-mmx -march=pentium-mmx -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 -mcpu=pentium-mmx -march=pentium-mmx -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" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb crypt cups encode flash foomaticdb freetds gd gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde libg++ libwww mad mcal md5sum memlimit mikmod motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang snmp spell ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
local gcc compilation issue - please upgrade to latest stable gcc/glibc and reopen if the problem persists.