When trying to emerge that ebuild with the following flags CFLAGS="-march=pentium4 -O3 -DNDEBUG -pipe -fomit-frame-pointer -fno-stack-check" CXXFLAGS="${CFLAGS}" GCC 3.4.6 bails out with an internal compiler error; but if the -march=pentium4 flag is replaced by -mcpu=pentium4 everything compiles fine. Here ist the actual error message: make[3]: Entering directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8/src' if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../include -I../src/arch/i386 -Wall -ansi -pedantic -finline-functions -ffast-math -fomit-frame-pointer -I/usr/include/alsa -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -march=pentium4 -O3 -DNDEBUG -pipe -fomit-frame-pointer -fno-stack-check -MT libopenal_la-x86_floatmul.lo -MD -MP -MF ".deps/libopenal_la-x86_floatmul.Tpo" -c -o libopenal_la-x86_floatmul.lo `test -f 'arch/i386/x86_floatmul.c' || echo './'`arch/i386/x86_floatmul.c; \ then mv -f ".deps/libopenal_la-x86_floatmul.Tpo" ".deps/libopenal_la-x86_floatmul.Plo"; else rm -f ".deps/libopenal_la-x86_floatmul.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common/include -I../include -I../src/arch/i386 -Wall -ansi -pedantic -finline-functions -ffast-math -fomit-frame-pointer -I/usr/include/alsa -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -march=pentium4 -O3 -DNDEBUG -pipe -fomit-frame-pointer -fno-stack-check -MT libopenal_la-x86_floatmul.lo -MD -MP -MF .deps/libopenal_la-x86_floatmul.Tpo -c arch/i386/x86_floatmul.c -fPIC -DPIC -o .libs/libopenal_la-x86_floatmul.o arch/i386/x86_floatmul.c:86:74: warning: use of C99 long long integer constant arch/i386/x86_floatmul.c:89:74: warning: use of C99 long long integer constant arch/i386/x86_floatmul.c: In function `_alFloatMul': arch/i386/x86_floatmul.c:86: internal compiler error: in ix86_expand_binop_builtin, at config/i386/i386.c:13246 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/openal-0.0.8/temp/cc5D1smg.out file, please attach this to your bugreport. make[3]: *** [libopenal_la-x86_floatmul.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openal-0.0.8/work/openal-0.0.8' make: *** [all] Error 2 !!! ERROR: media-libs/openal-0.0.8 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile openal-0.0.8.ebuild, line 45: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
IMPORTANT: Please rename this Bug! It refers to GCC 3.3.6, not GCC 3.4.6! (I was looking at a different installation when I reported the bug). But otherwise, the issue remains as reported.
Don't mind - I was able to rename the bug myself (it seems).
Upgrade your GCC. http://www.gentoo.org/doc/en/gcc-upgrading.xml *** This bug has been marked as a duplicate of 137804 ***