configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

Darcy Watkins dwatkins@tranzeo.com
Thu Oct 13 18:15:00 GMT 2011


Hello,

Snippet from bottom of build.log.  Anyone seen this or know what's up
here?

Regards,

Darcy

-----------------

[ALL  ]    checking whether
the /media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/targets/powerpc-nptl-linux-gnu/build/build-cc/./gcc/xgcc -B/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/targets/powerpc-nptl-linux-gnu/build/build-cc/./gcc/ -B/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/../x-tools/powerpc-nptl-linux-gnu/powerpc-nptl-linux-gnu/bin/ -B/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/../x-tools/powerpc-nptl-linux-gnu/powerpc-nptl-linux-gnu/lib/ -isystem /media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/../x-tools/powerpc-nptl-linux-gnu/powerpc-nptl-linux-gnu/include -isystem /media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/../x-tools/powerpc-nptl-linux-gnu/powerpc-nptl-linux-gnu/sys-include    linker (/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/targets/powerpc-nptl-linux-gnu/build/build-cc/./gcc/collect-ld) supports shared libraries... yes
[ALL  ]    checking whether -lc should be explicitly linked in... no
[ERROR]    checking dynamic linker characteristics... configure: error:
Link tests are not allowed after GCC_NO_EXECUTABLES.
[ERROR]    make[2]: *** [configure-target-libstdc++-v3] Error 1
[ALL  ]    make[2]: Leaving directory
`/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/targets/powerpc-nptl-linux-gnu/build/build-cc'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory
`/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/crosstool-ng-1.12.4/targets/powerpc-nptl-linux-gnu/build/build-cc'
[ERROR]    
[ERROR]    >>  Build failed in step 'Installing final compiler'
[ERROR]    >>
[ERROR]    >>  Error happened in: CT_DoExecLog[scripts/functions]
[ERROR]    >>        called from: do_cc[scripts/build/cc/gcc.sh@623]
[ERROR]    >>        called from: main[scripts/crosstool-NG.sh@590]
[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]    >>
'/media/stuff/workspace/tsf/powerpc-nptl-dev/pkgs_build/crosstool-ng-1.12_powerpc/fs_build/share/doc/ct-ng-1.12.4/B - Known issues.txt'
[ERROR]    
[ERROR]    Build failed in step 'Installing final compiler'
[ERROR]    
[ERROR]    (elapsed: 68:58.92)



Other relevant info I can think of off the top of my head...

powerpc405ep
using kernel headers from 2.6.39.2
binutils 2.20.1
gcc 4.5.3
extra languages added are C++ and Fortran
glibc 2.13
threads are nptl





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



More information about the crossgcc mailing list