Mozilla Firefox fails to compile for me... here's some relevant information: USE="X gtk gtk2 oss esd xinerama mozilla avi flac oggvorbis opengl png python samba tiff java jpeg -arts -qt -kde -gnome alsa" CFLAGS="-O2 -march=i686 -pipe" [snip] * Parsing Makefiles... /usr/bin/gmake -C config export gmake[1]: Entering directory `/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/config' rm -f nfspwd rm -f revdepth pathsub.c nsinstall.c gcc -o host_nsinstall.o -c -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -DXP_UNIX -O2 -O2 -I../dist/include -I../dist/include -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr nsinstall.c gcc -o host_pathsub.o -c -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -DXP_UNIX -O2 -O2 -I../dist/include -I../dist/include -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr pathsub.c cp nfspwd.pl nfspwd chmod +x nfspwd /usr/bin/perl -I. ./bdate.pl build_number gcc -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -I../dist/include -I../dist/include -I/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -O2 -I/usr/X11R6/include -include ../mozilla-config.h -DMOZILLA_CLIENT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o elf-dynstr-gc elf-dynstr-gc.c -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 cp revdepth.pl revdepth chmod +x revdepth rm -f nsBuildID.h /usr/bin/perl -I. ./aboutime.pl -m ./milestone.txt nsBuildID.h build_number ./nsBuildID.h.in gcc -o nsinstall -march=i686 -pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -fforce-addr -DXP_UNIX -O2 -O2 host_nsinstall.o host_pathsub.o host_pathsub.o(.text+0x3b): In function `fail': : undefined reference to `__builtin_va_start' collect2: ld returned 1 exit status distcc[31067] ERROR: compile on localhost failed gmake[1]: *** [nsinstall] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.8/work/mozilla/config' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-firefox-0.8 failed. !!! Function src_compile, Line 200, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge mozilla-firefox
Could you please try FEATURES="-distcc" emerge net-www/mozilla-firefox
It finished compiling after disabling distcc. It works now.
Distcc issue