When I try to emerge gcc-3.4.3, it fails with the following error: ... checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make: *** [configure-target-libstdc++-v3] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge gcc-3.4.3 Actual Results: emerge failed Expected Results: gcc emerges :) Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64) ================================================================= System uname: 2.6.9-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://gentoo.inode.at" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa anthy apm avi berkdb bitmap-fonts cdr cjk crypt cups dvd dvdr encode esd f77 fam flac gdbm gif gnome gpm gstreamer gtk gtk2 icq imlib ipv6 java jp2 jpeg kerberos ldap libcaca libwww lzw lzw-tiff mad matroska mikmod mozilla mpeg multilib ncurses nls oggvorbis opengl pam perl png python readline samba sdl slang ssl tcpd tiff truetype unicode usb userlocales xml2 xmms xpm xprint xrandr xv xvid zlib"
can you please attach the config.log file.
there are several config.logs in /var/tmp/portage/gcc-3.4.3/work/build/ : ./config.log ./intl/config.log ./gcc/config.log ./libiberty/config.log ./x86_64-pc-linux-gnu/libstdc++-v3/config.log ./x86_64-pc-linux-gnu/32/libstdc++-v3/config.log I don't know which one do you need; I think the libstdc++ is the one but it's insanely long, I'll post it in a zip file.
Created attachment 44406 [details] zipped config.log file config file located in /var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3/config.log
Ooops, my bad, forgot to add FEATURE="-sandbox" :) it's working now. Sorry!