crosstool-ng powerpc with libstdc++ build error: Link tests are not allowed after GCC_NO_EXECUTABLES
Will Wagner
will_wagner@carallon.com
Wed May 8 23:56:00 GMT 2013
Hello,
I am having difficulty building a powerpc toolchain with crosstool 1.18.0
I am using:
- binutils 2.22
- gcc 4.7.2
- eglibc 2.17
The toolchain builds fine with no C++ support. However with C++ support
it goes wrong when trying to configure libstdc++.
Snippet of the libstdc++ config.log is:
configure:8968: checking if
/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/xgcc
-B/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/bin/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/lib/
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/include
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/sys-include
supports -c -o file.o
configure:9015: result: yes
configure:9048: checking whether the
/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/xgcc
-B/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/bin/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/lib/
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/include
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/sys-include
linker
(/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/collect-ld)
supports shared libraries
configure:10128: result: yes
configure:10165: checking whether -lc should be explicitly linked in
configure:10173:
/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/xgcc
-B/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/bin/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/lib/
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/include
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/sys-include
-c -g -Os conftest.c >&5
configure:10176: $? = 0
configure:10191:
/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/xgcc
-B/home/willw/development/etc_builder/toolchain/pacp/.build/powerpc-pacp-linux-gnu/build/build-cc-final/./gcc/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/bin/
-B/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/lib/
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/include
-isystem
/home/willw/development/etc_builder/toolchain/powerpc-pacp-linux-gnu/powerpc-pacp-linux-gnu/sys-include
-shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \|
/home/willw/development/etc_builder/toolchain/pacp/.build/tools/bin/grep
-lc \>/dev/null 2\>\&1
configure:10194: $? = 0
configure:10208: result: no
configure:10373: checking dynamic linker characteristics
configure:10814: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
Have found lots of post of people who have something similar but nothing
quite the same. Seems that mips/powerpc sees this issue.
Anyone able to offer an suggestions?
Thanks
Will
--
------------------------------------------------------------------------
Will Wagner will_wagner@carallon.com
Development Manager Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list