I have a bleeding gentoo system compiling under a Mandrake 10 chroot and I've found this problem when trying to emerge latest GCC... Neither 3.4.0-r4 or 3.3.3-r5. I have in my system 3.4.0-r1 (with which i've compiled most of it) and also 3.3.3-r3, but with any of them (after doing gcc-config n && source /etc/profile) i get the same error... and I get it either when trying to compile the 3.4 or the 3.3. I've tried remerging (without changing flags, but so far everything worked) binutils and autoconf, with no success. The actual error: checking linker read-only and read-write section mixing... read-write checking linker PT_GNU_EH_FRAME support... yes checking linker position independent executable support... yes checking linker --as-needed support... no configure: error: The following requested languages were not found: c++ java The following languages were available: c Configure in /var/tmp/portage/gcc-3.3.3-r5/work/build/gcc failed, exiting. !!! ERROR: sys-devel/gcc-3.3.3-r5 failed. !!! Function src_compile, Line 522, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.[optional] gcc-config 1 / 2 (3.3.3 / 3.4.0) && source /etc/profile && emerge gcc (with emerge (...)/gcc-3.4.0-r4.ebuild also happens) 2. Watch error Relevant portions of my emerge info: Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.3-9mdk) ================================================================= System uname: 2.6.3-9mdk i686 Gentoo Base System version 1.4.15 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -mfpmath=387 -falign-functions=64 -mpreferred-stack-boundary=4 -ftracer -fmerge-all-constants -minline-all-stringops" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays -mfpmath=387 -falign-functions=64 -mpreferred-stack-boundary=4 -ftracer -fmerge-all-constants -minline-all-stringops" FEATURES="autoaddcvs ccache sandbox sfperms userpriv usersandbox" MAKEOPTS="-j2" USE="3dnow S3TC X aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid audiofile avi berkdb cdr crypt cups dga directfb divx4linux dvd encode esd fbcon ffmpeg flac flash foomaticdb foreign-package gcj gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib java javascript jikes joystick jpeg junit kde libg++ libwww linguas_es lufsusermount lzw-tiff mad mikmod mmx motif mozcalendar mozilla mozsvg mpeg mpeg4 msn ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime radeon readline scanner sdl slang spell ssl svga tcltk tcpd transcode truetype unicode usb video_cards_radeon x86 xine xml2 xmms xv xvid zlib" I have NPTL enabled, glibc-2.3.3_pre20040420 with them, and linux-headers-2.6.5. So far I had been able to compile GCC 3.4 and 3.3 (both versions are compiled from an earlier GCC), and most of KDE / gnome / xorg / kernel (whole).
please post the config.log from the build dir