The following is a chunk of what happens preceeding my error. If you need to see anything else, please let me know exactly what you need. I'm a new Gentoo user, so I'm still learning alot. :) If you need an additional config file, please give me its path and I'll be happy to attach it. TIA, Nick checking for strtof declaration... yes checking for strtof... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for locale.h... (cached) yes checking for LC_MESSAGES... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for shared libgcc... yes configure: versioning on shared library symbols is gnu checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for testsuite resource limits support... yes checking for setenv declaration... yes checking for setenv... yes updating cache ./config.cache checking for gxx-include-dir... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3 checking for --enable-version-specific-runtime-libs... no checking for install location... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3 configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating libmath/Makefile config.status: creating libsupc++/Makefile config.status: creating src/Makefile config.status: creating po/Makefile config.status: creating testsuite/Makefile config.status: creating scripts/check_survey config.status: creating scripts/testsuite_flags config.status: creating config.h config.status: executing default-1 commands Adding multilib support to Makefile in /build/portage/gcc-3.4.5/work/gcc-3.4.5/libstdc++-v3 multidirs=32 with_multisubdir= Running configure in multilib subdirs 32 pwd: /build/portage/gcc-3.4.5/work/build/x86_64-pc-linux-gnu/libstdc++-v3 Running configure in multilib subdir 32 pwd: /build/portage/gcc-3.4.5/work/build/x86_64-pc-linux-gnu mkdir 32 configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... /build/portage/gcc-3.4.5/work/build/gcc/xgcc -B/build/portage/gcc-3.4.5/work/build/gcc/ -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 checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'.
The output of `emerge --info'?
Created attachment 85958 [details] Emerge --info output Per your request. Thx
I forgot to ask for the config.log as well. You didn't paste enough of the output for me to know which one it is exactly, so do: grep -R "error: cannot run C compiled programs" \ /var/tmp/portage/gcc-3.4.5/work/build/ and attach the log that contains that message.
Created attachment 85959 [details] config.log Config.log from: /var/tmp/portage/gcc-3.4.5/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/
Just an FYI- This has happened with Glibc and a couple programs (Wine being one of them) as well.
your glibc multilib is hosed i'll let the amd64 team sort it out ;)
(In reply to comment #6) > your glibc multilib is hosed > > i'll let the amd64 team sort it out ;) > So basically this is a common problem with AMD64? Nothing for me to do at this point?
(In reply to comment #7) > (In reply to comment #6) > > your glibc multilib is hosed > > > > i'll let the amd64 team sort it out ;) > > > > So basically this is a common problem with AMD64? Nothing for me to do at this > point? > This is not a common problem for amd64, nor any other arch. You managed to kill your headers somehow. reiser4? unclean shutdown? bad rm -rf? bad harddisc? I don't know. You have 2 solutions: you can reinstall or you can try to hack it with binary packages from GRP. It's much easier to reinstall.
Well I've gotten some headway on this. I found out that I did not have 32 bit emulation enabled in my kernel. I've enabled and compiled it and it seems to be working. Is there a way to tell emerge to compile something in 32 bit, or do I need to install only bin packages for those?
closing then.(In reply to comment #9) > Is there a way to tell emerge to compile something in 32 bit, or do I need to > install only bin packages for those? There isn't one from the user point of view, so you have to use the -bin packages
I'm having this problem, and I don't think I hose anything, although I had a couple of unclean shutdowns when a thing or two bjorked. But I'm not convinced that's the problem.
(In reply to comment #11) > I'm having this problem, and I don't think I hose anything, although I had a > couple of unclean shutdowns when a thing or two bjorked. But I'm not convinced > that's the problem. please run gcc -v along with gcc-config -l
No need to keep older and unreproducible bugs open...if any of you have this problem please reopen Resolved as invalid as blubb did