Summary: | sys-devel/gcc-4.7 - .../work/gcc-4.7.2/libquadmath/configure: line 3397: ./a.out: cannot execute binary file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vincent-Xavier JUMEL <endymion+gentoo> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | moonwalker |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=449980 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gcc-config-logs.tar.bz2
emerge --info output build.log |
Description
Vincent-Xavier JUMEL
2012-10-07 09:06:54 UTC
Created attachment 325890 [details]
gcc-config-logs.tar.bz2
Created attachment 325894 [details]
emerge --info output
(In reply to comment #1) > Created attachment 325890 [details] > gcc-build-logs.tar.bz2 What about the build log itself ? The other will be useful only after we know which one of those config.logs should be checked. Created attachment 325938 [details]
build.log
$ emerge -pqv =sys-devel/gcc-4.7.2 [ebuild U ] sys-devel/gcc-4.7.2 [4.7.1] USE="cxx fortran gcj mudflap multilib) nls nptl objc objc++ objc-gc openmp (-altivec) -bootstrap -build -doc (-fixed-point) -go -graphite -gtk (-hardened) (-libssp) -multislot -nocxx -nopie -nossp {-test} -vanilla" configure:3307: checking for C compiler default output file name configure:3329: /var/tmp/portage/sys-devel/gcc-4.7.2/work/build/./gcc/xgcc -B/ var/tmp/portage/sys-devel/gcc-4.7.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-g nu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/incl ude -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -g -O2 -pipe -ggdb -ma rch=native conftest.c >&5 configure:3333: $? = 0 configure:3370: result: a.out configure:3386: checking whether the C compiler works configure:3395: ./a.out /var/tmp/portage/sys-devel/gcc-4.7.2/work/gcc-4.7.2/libquadmath/configure: lin e 3397: ./a.out: cannot execute binary file configure:3399: $? = 126 configure:3406: error: in `/var/tmp/portage/sys-devel/gcc-4.7.2/work/build/x86 _64-pc-linux-gnu/32/libquadmath': configure:3410: error: cannot run C compiled programs. Well, one chance is that '-mmmx -msse -msse2 -msse4a -m3dnow' shouldn't be in your CFLAGS (looks bad regardless), the other - that you've failed to set 32bit emulation (or whatever that option is called) in the kernel. checking whether the C compiler works... configure: error: in `/var/tmp/portage/sys-devel/gcc-4.7.2/work/build/x86_64-pc-linux-gnu/32/libquadmath': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. checking for backtrace_symbols... yes checking for gettimeofday... make[1]: *** [configure-target-libquadmath] Error 1 make[1]: *** Waiting for unfinished jobs.... yes, you need to have x86 support in the kernel in order to build a multilib gcc *** Bug 449980 has been marked as a duplicate of this bug. *** *** Bug 449980 has been marked as a duplicate of this bug. *** |