Building mozilla uses -march=pentium3 instead my defined -march=pentium4. ---- c++ -o nsFTPDirListingConv.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -D_IMPL_NS_NET -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/mimetype -I../../../dist/include/locale -I../../../dist/include/intl -I../../../dist/include/unicharutil -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/exthandler -I../../../dist/include/imglib2 -I../../../dist/include/necko -I../../../dist/include -I/var/tmp/portage/mozilla-1.0-r3/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -march=pentium3 -O4 -pipe -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Wno-deprecated -O3 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../config-defs.h -Wp,-MD,.deps/nsFTPDirListingConv.pp nsFTPDirListingConv.cpp
Edit the ebuild and remove the following section: -----------------------------------cut---------------------------------- # Currently gcc-3.1.1 dont work well if we specify "-march" # and other optimizations [ -z "${CC}" ] && CC=gcc if [ "`${CC} -dumpversion`" = "3.1.1" ] || \ [ "`${CC} -dumpversion`" = "3.2" ] then export CFLAGS="${CFLAGS/pentium4/pentium3}" export CXXFLAGS="${CFLAGS/pentium4/pentium3}" fi ------------------------------------------------------------------------- NB: Just do not file a bugreport if it do not compile with your -march=pentium4 :P