This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Link tests are not allowed after GCC_NO_EXECUTABLES


I am new at cross-compilation, and am having trouble building a
toolchain. Here is the overview:

Host platform is Ubuntu 12.04, using Crosstool-NG 1.15.3, target
platform is PowerPC, using Linux kernel 3.3.4, binutils 2.21.1a, GCC
4.6.3, eglibc 2.15.

During the build, everything runs fine until I get to the "Installing
Final Compiler" step, which then produces this error:

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

Here is the entire command line output:

[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20120719.155533
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in
331.90s (at 05:36)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 319.05s
(at 10:55)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[INFO ]  Installing GMP for host: done in 131.35s (at 13:06)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[INFO ]  Installing MPFR for host: done in 62.60s (at 14:09)
[INFO ]  =================================================================
[INFO ]  Installing PPL for host
[INFO ]  Installing PPL for host: done in 682.70s (at 25:32)
[INFO ]  =================================================================
[INFO ]  Installing CLooG/PPL for host
[INFO ]  Installing CLooG/PPL for host: done in 15.22s (at 25:47)
[INFO ]  =================================================================
[INFO ]  Installing MPC for host
[INFO ]  Installing MPC for host: done in 25.07s (at 26:12)
[INFO ]  =================================================================
[INFO ]  Installing binutils for host
[INFO ]  Installing binutils for host: done in 210.91s (at 29:43)
[INFO ]  =================================================================
[INFO ]  Installing pass-1 core C compiler
[INFO ]  Installing pass-1 core C compiler: done in 653.57s (at 40:37)
[INFO ]  =================================================================
[INFO ]  Installing kernel headers
[INFO ]  Installing kernel headers: done in 10.68s (at 40:47)
[INFO ]  =================================================================
[INFO ]  Installing C library headers & start files
[INFO ]  Installing C library headers & start files: done in 81.20s (at 42:09)
[INFO ]  =================================================================
[INFO ]  Installing pass-2 core C compiler
[INFO ]  Installing pass-2 core C compiler: done in 795.07s (at 55:24)
[INFO ]  =================================================================
[INFO ]  Installing C library
[INFO ]  Installing C library: done in 2688.13s (at 100:12)
[INFO ]  =================================================================
[INFO ]  Installing final compiler
[ERROR]    checking dynamic linker characteristics... configure:
error: Link tests are not allowed after GCC_NO_EXECUTABLES.
[ERROR]    checking dynamic linker characteristics... configure:
error: Link tests are not allowed after GCC_NO_EXECUTABLES.
[ERROR]    make[3]: *** [configure-target-libstdc++-v3] Error 1
[ERROR]    make[3]: *** [configure-target-libquadmath] Error 1
[ERROR]    make[2]: *** [all] Error 2
[ERROR]  -
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing final compiler'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR]  >>        called from: do_cc_backend[scripts/build/cc/gcc.sh@788]
[ERROR]  >>        called from: do_cc_for_host[scripts/build/cc/gcc.sh@546]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@598]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>
'/usr/build/ct/crosstool-ng-1.15.3/build/share/doc/crosstool-ng/ct-ng.1.15.3/B
- Known issues.txt'
[ERROR]  /
[ERROR]  (elapsed: 113:54.82)
[113:55] / make[1]: *** [build] Error 2
make: *** [build.4] Error 2

Build.Log also shows the same error, but no additional info as far as I can see.

I've tried switching from eglibc to glibc v2.14.1 with no change. I'm
open to any suggestions!

Regards,

Steven

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]