Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 312629

Summary: GCC_NO_EXECUTABLES failure building gcc 4.4.x armv4tl-softfloat-linux-gnueabi
Product: Gentoo Linux Reporter: Gordon Schumacher <gordons>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: major CC: pchrist
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of "emerge --info =cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3"
Output of "emerge -pqv =cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3"
Build log
Output of "checking command to parse..." test with BASH debugging enabled

Description Gordon Schumacher 2010-04-01 15:00:10 UTC
I am trying to build an ARM softfloat cross-compiler, and having no success at all...

I've tried binutils 2.19 and 2.20, glibc 2.10 and 2.11, and gcc versions 4.4.1, 4.4.2, and 4.4.3.  I've tried both using crossdev, and using vapier's HOWTO for doing the emerges manually.  I've even tried applying the few crosstool-ng patches which are not already in the Gentoo patchset (for all three packages).

All these methods result in an identical failure in libstdc++:

checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

It's dying in the AC_SUBST(enable_static) test, because $gcc_no_link is set.

The other interesting thing that shows up is this:

checking command to parse /var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3/work/build/./gcc/nm output from /var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3/work/build/./gcc/xgcc -B/var/tmp/portage/cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3/work/build/./gcc/ -B/usr/armv4tl-softfloat-linux-gnueabi/bin/ -B/usr/armv4tl-softfloat-linux-gnueabi/lib/ -isystem /usr/armv4tl-softfloat-linux-gnueabi/include -isystem /usr/armv4tl-softfloat-linux-gnueabi/sys-include object... failed

I've not the foggiest idea what this means, although it seems "interesting" enough that I am attaching a run of that code with "set -x" set in that portion of the configure script.
Comment 1 Gordon Schumacher 2010-04-01 15:16:44 UTC
Created attachment 226131 [details]
Output of "emerge --info =cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3"
Comment 2 Gordon Schumacher 2010-04-01 15:17:38 UTC
Created attachment 226133 [details]
Output of "emerge -pqv =cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3"
Comment 3 Gordon Schumacher 2010-04-01 15:18:40 UTC
Created attachment 226135 [details]
Build log
Comment 4 Gordon Schumacher 2010-04-01 15:21:09 UTC
Created attachment 226137 [details]
Output of "checking command to parse..." test with BASH debugging enabled
Comment 5 SpanKY gentoo-dev 2010-04-11 21:35:49 UTC
the config.log should already contain the extended error information

i dont want to try and debug any manual/wonky things.  clean out your system first (remove all crosstool patches and such), and run like:
crossdev -C armv4tl-softfloat-linux-gnueabi

then run `crossdev armv4tl-softfloat-linux-gnueabi` and post those fresh logs as attachments.