Summary: | sys-devel/gcc-4.1.2 configure fails in work/build/x86_64-pc-linux-gnu | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zarmack Tanen <zarmack> |
Component: | New packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amd64, zarmack |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/config.log
/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log /var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment |
Description
Zarmack Tanen
2008-05-24 13:31:56 UTC
*** Bug 223421 has been marked as a duplicate of this bug. *** you might want to run gcc-config, then env-update & source /etc/profile. Please attach the config.log too. Somebody please attach a config.log and reopen this bug. :) Created attachment 154289 [details]
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/config.log
Attached config.log from work/build directory I've tried gcc-config, env-update & source /etc/profile
host ~ # gcc-config -l
[1] x86_64-pc-linux-gnu-4.1.1 *
host ~ # gcc-config x86_64-pc-linux-gnu-4.1.1
* Switching native-compiler to x86_64-pc-linux-gnu-4.1.1 ...
host ~ # env-update
>>> Regenerating /etc/ld.so.cache...
host ~ # source /etc/profile
host ~ # emerge -p gcc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-devel/gcc-4.1.2 [4.1.1-r3] USE="mudflap* -d% -libffi%"
host ~ # emerge gcc
And fails another time.
(In reply to comment #6) > Attached config.log from work/build directory Are you sure you posted all of it? Created attachment 154295 [details]
/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log
/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log
Created attachment 154297 [details]
/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment
/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment
Yes Jeroen, the file config.log is correct I've attached the build.log and the environment files located in /var/tmp/portage/sys-devel/gcc-4.1.2/temp/ Please post /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/config.log as that seems to be the one that failed. /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/config.log doesn't exist. host x86_64-pc-linux-gnu # pwd /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu host x86_64-pc-linux-gnu # find . | grep config\.log ./32/libstdc++-v3/config.log ./libstdc++-v3/config.log These are the existing "config.log" file list. host x86_64-pc-linux-gnu # find /var/tmp/portage/sys-devel/gcc-4.1.2/work/ | grep config\.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/libiberty/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/x86_64-pc-linux-gnu/libstdc++-v3/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/build-x86_64-pc-linux-gnu/libiberty/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/build-x86_64-pc-linux-gnu/fixincludes/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/libcpp/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/intl/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/config.log /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/fixincludes/config.log The complete /var/tmp/portage/sys-devel/gcc-4.1.2/ tree with all the files is available in http://www.domotiker.com/gcc-bug/emerge_gcc-4.1.2.tar.bz2 (big file 110M) i'm guessing your multilib is broken on your system ... the error in question is coming when trying to build 32bit code and executing it you can test on your system by doing: echo 'int main(){puts("HI");}' > test.c gcc test.c -m32 ./a.out the relevant snippet from build/x86_64-pc-linux-gnu/32/libstdc++-v3/config.log configure:2443: checking for C compiler default output file name configure:2446: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/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 -O2 -march=athlon64 -O2 -pipe conftest.c >&5 configure:2449: $? = 0 configure:2495: result: a.out configure:2500: checking whether the C compiler works configure:2506: ./a.out /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/configure: line 2507: ./a.out: cannot execute binary file configure:2509: $? = 126 configure:2518: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. |