When I try to emerge mozilla and firebird i get an internal g++ error... Reproducible: Always Steps to Reproduce: 1. emerge mozilla or emerge mozilla-firebird 2. 3. Actual Results: The emerge process exit with an error status... Expected Results: The emerge process should have installed mozilla ;-) g++: Internal error: Segmentation fault (program as) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [nsPluginInstancePeer.o] Error 1 make[3]: *** Deleting file `nsPluginInstancePeer.o' make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mozilla-1.4-r2/work/mozilla/modules/plugin/base/src' make[2]: *** [libs] Error 2 malcom (19:47:20): make[2]: Leaving directory `/var/tmp/portage/mozilla-1.4-r2/work/mozilla/modules/plugin' make[1]: *** [tier_9] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.4-r2/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.4-r2 failed. !!! Function src_compile, Line 349, Exitcode 2 !!! (no error message) Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) XP 2000+ GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.easynet.nl/mirror/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3 malcom (20:26:59): .1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" malcom (20:26:59): USE="x86 3dnow apm crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile sdl gpm tcpd pam libwww ssl perl esd imlib oggvorbis motif cdr X gtk gtk2 -gnome alsa avi cups fbcon mozilla mpeg opengl oss python radeonsvga tetex qt -kde" COMPILER="gcc3" malcom (20:27:07): CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
A more complete log of the failing will help. Also try to remove '-pipe' from your C[XX]FLAGS.
I've tried changing CFLAGS, always the same problem... g++ -o nsDOMCSSRect.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -I./../../base/src -I./../../../base/src -I./../../content/src -I./../../../xul/content/src -I./. -I./../../../xul/base/src -I./../../../mathml/content/src -I./../../../mathml/base/src -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/dom -I../../../../dist/include/gfx -I../../../../dist/include/layout -I../../../../dist/include/widget -I../../../../dist/include/caps -I../../../../dist/include/locale -I../../../../dist/include/unicharutil -I../../../../dist/include/js -I../../../../dist/include/necko -I../../../../dist/include/mimetype -I../../../../dist/include/webshell -I../../../../dist/include/xul -I../../../../dist/include/htmlparser -I../../../../dist/include/uconv -I../../../../dist/include/xuldoc -I../../../../dist/include/xpconnect -I../../../../dist/include/view -I../../../../dist/include/intl -I../../../../dist/include/pref -I../../../../dist/include/content -I../../../../dist/include -I/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -frtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -mcpu=i686 -O3 -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsDOMCSSRect.pp nsDOMCSSRect.cpp g++: Internal error: Segmentation fault (program as) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. gmake[5]: *** [nsDOMCSSValueList.o] Error 1 gmake[5]: *** Deleting file `nsDOMCSSValueList.o' gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/content/html/style/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/content/html/style' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/content/html' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla/content' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firebird-0.6.1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firebird-0.6.1 failed. !!! Function src_compile, Line 171, Exitcode 2 !!! (no error message)
I get similar problems with mozilla1.4-r3 ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o _xpidlgen/nsIFactory nsIFactory.idl make[3]: *** [_xpidlgen/nsIComponentRegistrar.h] Segmentation fault make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla/xpcom/components' make[2]: *** [export] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla/xpcom' make[1]: *** [tier_2] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.4-r3/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.4-r3 failed. !!! Function src_compile, Line 359, Exitcode 2 !!! (no error message) Just somehow I don't feel confident that it is the same problem. Also, I suspect this is a critical bug, or even blocker???
*** This bug has been marked as a duplicate of 25295 ***