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

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