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

See the CrossGCC FAQ 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


Tried to build gcc 4.5.1 for powerpc-uclibc using the latest crosstool-ng with 
libgomp disabled.? When I look at the config.log for libstdc++-v3 the only place 
I see an error is:

configure:4606: 
/home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/./gcc/xgcc
-B/home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/./gcc/
/ 
-B/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/bin/ 
-B/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/lib/ 
-isystem 
/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/include 
-isystem 
/home/crawford/x-tools/powerpc-860-linux-uclibc/powerpc-860-linux-uclibc/sys-include???
 -E? conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4606: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "package-unused"
| #define PACKAGE_TARNAME "libstdc++"
| #define PACKAGE_VERSION "version-unused"
| #define PACKAGE_STRING "package-unused version-unused"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.? */
| #include <ac_nonexistent.h>


Here is the end of the build.log:

[INFO ]? =================================================================
[INFO ]? Installing final compiler
[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
[ERROR]??? make[1]: *** [all] Error 2
[ERROR]??? Build failed in step 'Installing final compiler'
[ERROR]??? Error happened in 
'/home/crawford/crosstool-ng//lib/ct-ng-hg_default@2146_3b812ba8d001/scripts/functions'
 in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]????????? called from 
'/home/crawford/crosstool-ng//lib/ct-ng-hg_default@2146_3b812ba8d001/scripts/build/cc/gcc.sh'
 at line # 479 in function 'do_cc'
[ERROR]????????? called from 
'/home/crawford/crosstool-ng//lib/ct-ng-hg_default@2146_3b812ba8d001/scripts/crosstool-NG.sh'
 at line # 596 in function 'main'
[ERROR]??? Look at '/home/crawford/x-tools/powerpc-860-linux-uclibc/build.log' 
for more info on this error.
[ERROR]? (elapsed: 47:43.16)

Doug




--
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]