Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312629 - GCC_NO_EXECUTABLES failure building gcc 4.4.x armv4tl-softfloat-linux-gnueabi
Summary: GCC_NO_EXECUTABLES failure building gcc 4.4.x armv4tl-softfloat-linux-gnueabi
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 15:00 UTC by Gordon Schumacher
Modified: 2010-04-11 21:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of "emerge --info =cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3" (emerge_--info,4.62 KB, text/plain)
2010-04-01 15:16 UTC, Gordon Schumacher
Details
Output of "emerge -pqv =cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.3" (emerge_-pqv,287 bytes, text/plain)
2010-04-01 15:17 UTC, Gordon Schumacher
Details
Build log (build.log,860.39 KB, text/plain)
2010-04-01 15:18 UTC, Gordon Schumacher
Details
Output of "checking command to parse..." test with BASH debugging enabled (cross-armv4tl-softfloat-linux-gnueabi_gcc.make,6.86 KB, text/plain)
2010-04-01 15:21 UTC, Gordon Schumacher
Details

Note You need to log in before you can comment on or make changes to this bug.
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.