Link tests are not allowed after GCC_NO_EXECUTABLES

Doug Crawford dcraw101@yahoo.com
Fri Oct 15 16:03:00 GMT 2010


Bryan, I really appreciate you taking a look at this.  I have attached the config.log located directly under build-cc (which appears to have run without errors) and the config.log located under libstsc++-v3 (which does have an error).

I will mention that I have only seen this error after the recent patch that allows libgomp to be disabled.  I still couldn't get this configuration to build before that patch because libgomp was referencing copysignl which is not defined in libc for uclibc.  But, I think that copysignl problem is unrelated to the problem I have described in this message thread.

Thanks,
Doug

--- On Fri, 10/15/10, Bryan Hundven <bryanhundven@gmail.com> wrote:

> From: Bryan Hundven <bryanhundven@gmail.com>
> Subject: Re: Link tests are not allowed after GCC_NO_EXECUTABLES
> To: "Doug Crawford" <dcraw101@yahoo.com>
> Cc: crossgcc@sourceware.org
> Date: Friday, October 15, 2010, 12:10 AM
> On Thu, Oct 14, 2010 at 4:38 PM, Doug
> Crawford <dcraw101@yahoo.com>
> wrote:
> > Here is my .config and build.log compressed in xz
> format.
> >
> > Thanks,
> > Doug
> >
> > --- On Thu, 10/14/10, Bryan Hundven <bryanhundven@gmail.com>
> wrote:
> >
> >> From: Bryan Hundven <bryanhundven@gmail.com>
> >> Subject: Re: Link tests are not allowed after
> GCC_NO_EXECUTABLES
> >> To: "Doug Crawford" <dcraw101@yahoo.com>
> >> Cc: crossgcc@sourceware.org
> >> Date: Thursday, October 14, 2010, 9:05 PM
> >> 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
> 
> (from build.log)
> [ALL  ]    checking command to parse
> /home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/./gcc/nm
> output from
> /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
>    object... failed
> 
> When I saw this issue before, it was because I was doing a
> parallel
> build (make -j8), something in configure bailed and I got
> this error.
> It seems you are only making with one thread. The line I
> pasted above
> might be a clue, but it would be better if we got the
> config.log from:
> 
> /home/crawford/crosstool-ng/targets/powerpc-860-linux-uclibc/build/build-cc/config.log
> 
> to find out what really happened.
> 
> -Bryan
>


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.build-cc
Type: application/octet-stream
Size: 52703 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20101015/b025e16e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.libstdc++-v3
Type: application/octet-stream
Size: 63916 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20101015/b025e16e/attachment-0001.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list