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]

Re: Link tests are not allowed after GCC_NO_EXECUTABLES


On Tue, Oct 12, 2010 at 11:44 AM, Doug Crawford <dcraw101@yahoo.com> wrote:
> 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

Doug,

I have ran into this problem before. Could you please attach your
build.log and .config?

-Bryan

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