It seems that myself and multiple other people can't emerge gcc with the USE flag gcj. I emerged gcc early perfectly fine without gcj, so I know it is the use flag .. and it is reproducable. I'm not sure if this is just a GCC 3.4.x problem .. and a AMD64 problem. Reproducible: Always Steps to Reproduce: 1.edit /etc/make.conf and add USE flag of gcj 2.emerge -vp gcc and verify +gcj is there 3.emerge gcc Actual Results: .. a while into emerging .. quite a while gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var/tmp/portage/gcc-3.4.1/work/gcc-3 .4.1/libjava/libltdl -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/.././l ibjava/../gcc -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/../libffi/inc lude -I../libffi/include -O2 -O2 -march=k8 -pipe -fno-rtti -fnon-call-exception s -fdollars-in-identifiers -Wswitch-enum -ffloat-store -fno-omit-frame-pointer -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX="\"/usr\"" -DLIBDIR="\"/us r/lib\"" -DBOOT_CLASS_PATH="\"/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/java/l ibgcj-3.4.1.jar\"" -O2 -march=k8 -pipe -D_GNU_SOURCE -m32 -c /var/tmp/portage/g cc-3.4.1/work/gcc-3.4.1/libjava/jni.cc mkdir .libs /var/tmp/portage/gcc-3.4.1/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage /gcc-3.4.1/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/gcc-3.4.1/work/build/x 86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/gcc-3.4.1/work/build/x 86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/ usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage /gcc-3.4.1/work/gcc-3.4.1/libjava -I./include -I./gcj -I/var/tmp/portage/gcc-3.4 .1/work/gcc-3.4.1/libjava -Iinclude -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/ libjava/include -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/boehm-gc/include -DG C_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS= 1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UN COLLECTABLE=1 -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var /tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var/tmp/portage/gcc-3.4 .1/work/gcc-3.4.1/libjava/.././libjava/../gcc -I/var/tmp/portage/gcc-3.4.1/work/ gcc-3.4.1/libjava/../libffi/include -I../libffi/include -O2 -O2 -march=k8 -pipe -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -ffloat-s tore -fno-omit-frame-pointer -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFI X=\"/usr\" -DLIBDIR=\"/usr/lib\" -DBOOT_CLASS_PATH=\"/usr/share/gcc-data/x86_64- pc-linux-gnu/3.4/java/libgcj-3.4.1.jar\" -O2 -march=k8 -pipe -D_GNU_SOURCE -m32 -Wp,-MD,.deps/jni.pp -c /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/jni.cc -fPIC -DPIC -o .libs/jni.o /var/tmp/portage/gcc-3.4.1/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage /gcc-3.4.1/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/gcc-3.4.1/work/build/x 86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/gcc-3.4.1/work/build/x 86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/ usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage /gcc-3.4.1/work/gcc-3.4.1/libjava -I./include -I./gcj -I/var/tmp/portage/gcc-3.4 .1/work/gcc-3.4.1/libjava -Iinclude -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/ libjava/include -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/boehm-gc/include -DG C_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS= 1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UN COLLECTABLE=1 -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var /tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var/tmp/portage/gcc-3.4 .1/work/gcc-3.4.1/libjava/.././libjava/../gcc -I/var/tmp/portage/gcc-3.4.1/work/ gcc-3.4.1/libjava/../libffi/include -I../libffi/include -O2 -O2 -march=k8 -pipe -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -ffloat-s tore -fno-omit-frame-pointer -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFI X=\"/usr\" -DLIBDIR=\"/usr/lib\" -DBOOT_CLASS_PATH=\"/usr/share/gcc-data/x86_64- pc-linux-gnu/3.4/java/libgcj-3.4.1.jar\" -O2 -march=k8 -pipe -D_GNU_SOURCE -m32 -Wp,-MD,.deps/prims.pp -c /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/prim s.cc -fPIC -DPIC -o .libs/prims.o In file included from /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/jni.cc:3 8: ./java/lang/Integer.h:45: warning: this decimal constant is unsigned only in ISO C90 /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/prims.cc: In function `jint _J v_CreateJavaVM(void*)': /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/prims.cc:939: error: `SYS_siga ction' undeclared (first use this function) /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/prims.cc:939: error: (Each und eclared identifier is reported only once for each function it appears in.) /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/jni.cc:2055: warning: unused p arameter 'args_size' ./include/java-signal-aux.h: At global scope: ./include/java-signal-aux.h:125: warning: 'void restore()' declared `static' but never defined make[5]: *** [prims.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... /var/tmp/portage/gcc-3.4.1/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage /gcc-3.4.1/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/gcc-3.4.1/work/build/x 86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/gcc-3.4.1/work/build/x 86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/ usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage /gcc-3.4.1/work/gcc-3.4.1/libjava -I./include -I./gcj -I/var/tmp/portage/gcc-3.4 .1/work/gcc-3.4.1/libjava -Iinclude -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/ libjava/include -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/boehm-gc/include -DG C_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS= 1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UN COLLECTABLE=1 -I/var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var /tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/libltdl -I/var/tmp/portage/gcc-3.4 .1/work/gcc-3.4.1/libjava/.././libjava/../gcc -I/var/tmp/portage/gcc-3.4.1/work/ gcc-3.4.1/libjava/../libffi/include -I../libffi/include -O2 -O2 -march=k8 -pipe -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -ffloat-s tore -fno-omit-frame-pointer -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFI X=\"/usr\" -DLIBDIR=\"/usr/lib\" -DBOOT_CLASS_PATH=\"/usr/share/gcc-data/x86_64- pc-linux-gnu/3.4/java/libgcj-3.4.1.jar\" -O2 -march=k8 -pipe -D_GNU_SOURCE -m32 -Wp,-MD,.deps/jni.pp -c /var/tmp/portage/gcc-3.4.1/work/gcc-3.4.1/libjava/jni.cc -o jni.o >/dev/null 2>&1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory `/var/tmp/portage/gcc-3.4.1/work/build/x86_64-pc-linu x-gnu/32/libjava' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/gcc-3.4.1/work/build/x86_64-pc-linu x-gnu/32/libjava' make[3]: *** [multi-do] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.1/work/build/x86_64-pc-linu x-gnu/libjava' make[2]: *** [all-multi] Error 2 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.1/work/build/x86_64-pc-linu x-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.1/work/build' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.1 failed. !!! Function src_compile, Line 653, Exitcode 2 !!! (no error message) Expected Results: it should compile fine. root@mach64 chris # emerge info Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r10) ================================================================= System uname: 2.6.7-gentoo-r10 x86_64 4 Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.binarycompass.org http://128.213.5.34/gentoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb cdr crypt cups directfb distcc dvd encode esd foomaticdb gcj gdbm gif gpm gtk imlib java jpeg kde libg++ libwww mikmod mod_php motif mozilla mp3 mpeg multilib mysql ncurses nfs nls offensive ogg oggvorbis opengl oss pam pdflib perl php png ppds python qt quicktime readline samba sdl slang spell ssl tcltk tcpd truetype via xinerama xml xml2 xmms xv xvid zlib"
known bug. it wont compile with gcj and multilib both in USE at the same time. marking bug as LATER
*** Bug 94125 has been marked as a duplicate of this bug. ***