Summary: | Getting "Configure: Error: Cannot run C compiled programs" when emerging GCC. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick Hays <nixxta> |
Component: | [OLD] GCC Porting | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Emerge --info output
config.log |
Description
Nick Hays
2006-05-01 17:17:20 UTC
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 |