after enabling the multilib, emerging gcc fails unless I USE="-java" unfortunatly I don't have a copy of the actual error to hand (sorry), but at the line; checking /proc/self/exe... it complains about not being able to do this when cross compiling. Reproducible: Always Steps to Reproduce: 1. add both java and multilib to use flags 2. emerge gcc Expected Results: emerge should have completed sucessfully. perhaps the java use flag should be filtered when cross compiling for the x86 libraries. Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.2-gentoo-r2) ================================================================= System uname: 2.6.2-gentoo-r2 x86_64 4 Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.17/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="S3TC X aalib acpi acpi4linux alsa amd64 apm avi berkdb cdr crypt dga encode esd ethereal foomaticdb gdbm gif gpm gtk imagemagick imap imlib java javascript jpeg lcms libg++ libwww maildir mikmod motif mpeg multilib ncurses net nls nvidia offensive oggvorbis openal opengl oss pam pcap pdflib perl png python qt quicktime readline samba sdl slang sox spell ssl tcpd tetex tiff truetype usb videos xchattext xfs xgetdefault xinerama xml2 xmms xosd xv zlib"
I also encountered exactly this bug, due to USE="java multilib".
does this problem still exist in gcc 3.4 snapshots?
the amd64 default use settings have been updated to add nogcj so that gcj wont be compiled by default. this fixes the problem, but still doesnt enable gcj to be compiled with multilib enabled.
there's a fix in gcc cvs, so it should trickle it's way down once gcc 3.4 is released http://gcc.gnu.org/ml/gcc-patches/2004-01/msg02442.html
I am having this problem with sys-devel/gcc-3.3.4-r1 on amd64. Is anyone working on that issue? Johnny