Summary: | sys-libs/glibc-2.9_p20081201-r1 / amd64 multilib/ABI=x86 - checking size of long double... configure: error: cannot compute sizeof (long double) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | palxex |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | CC: | palxex |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment build.log with debug config.log |
Description
palxex
2009-01-30 03:17:03 UTC
Created attachment 180195 [details]
build.log
build.log without debug
Created attachment 180197 [details]
environment
Created attachment 180198 [details]
build.log with debug
Created attachment 180204 [details]
config.log
umm, i dont know what "trick" you're talking about, but you should never go removing random files in /usr/bin/. if you do, your system is now broken and not supported and not our problem. run `gcc-config -f 4.3.2` to make sure your system isnt screwed up before doing anything else. then re-run the emerge and post the relevant build/config log files as attachments. if it still fails, make sure your gcc is sane by doing: $ echo 'int main() { puts("HI"); }' > test.c $ gcc test.c $ ./a.out $ gcc -m32 test.c $ ./a.out Thanks for your reply. I don't know why, but only when I do that, sandbox can be compiled. After sandbox has been merged, I've moved all those back.
>run `gcc-config -f 4.3.2`
Yes, I've tried this several times; I open this issue after that.
In the 'gcc -m32 test.c' failed; gcc reports
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
I don't know why, I think I'd solved this problem by open kernel's IA32 emulation option when sandbox reports the same issue, but it occurs again.
looks like your multilib is broken. verify you have proper /lib32/ and /usr/lib32/ dirs and have 32bit glibc libraries. if you were using a no-multilib profile before, switching on the fly isnt supported. (In reply to comment #7) > looks like your multilib is broken. verify you have proper /lib32/ and > /usr/lib32/ dirs and have 32bit glibc libraries. if you were using a > no-multilib profile before, switching on the fly isnt supported. > Thanks. I've verified this, they looks well, and I can run some 32bit program such as binkplayer. Only when I compiling gcc the problem occurs. I've decide to build whole system again. |