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

See crosstool-NG 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: Build failure in eglibc, locale related


Hi Bryan, Yann, Thomas, Michael, all,

> >> Final gcc-4.7 still breaks (Link tests are not allowed after
> >> GCC_NO_EXECUTABLES).
> >
> > FYI, same for me with Linaro GCC 4.7-2012.04.
> 
> I'm seeing the same problem Yann explained:
> 
> ----------------------------------------------------------------------
> [ALL  ]    checking whether the
> /work/tc-work/cortex-a8/.build/arm-unknown-linux-gnueabi/build/build-cc-final/./gcc/xgcc
> -B/work/tc-work/cortex-a8/.build/arm-unknown-linux-gnueabi/build/build-cc-final/./gcc/
> -B/home/bryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/bin/
> -B/home/bryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/lib/
> -isystem
> /home/bryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/include
> -isystem
> /home/bryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-include
>    linker
>    (/work/tc-work/cortex-a8/.build/arm-unknown-linux-gnueabi/build/build-cc-final/./gcc/collect-ld)
> supports shared libraries... yes
> [ERROR]    checking whether -lc should be explicitly linked in...
> make[3]: *** [configure-target-libstdc++-v3] Error 1
> [ALL  ]    make[3]: *** Waiting for unfinished jobs....
> [ALL  ]    no
> [ERROR]    checking dynamic linker characteristics... configure:
> error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> [ERROR]    make[3]: *** [configure-target-libquadmath] Error 1
> [ALL  ]    make[3]: Leaving directory
> `/work/tc-work/cortex-a8/.build/arm-unknown-linux-gnueabi/build/build-cc-final'
> [ERROR]    make[2]: *** [all] Error 2
> [ALL  ]    make[2]: Leaving directory
> `/work/tc-work/cortex-a8/.build/arm-unknown-linux-gnueabi/build/build-cc-final'
> ----------------------------------------------------------------------

I no longer get this issue since I have switched my build/host machine from
Ubuntu 11.10 to 12.04 (with same CT-NG version and .config).

I saw on IRC that Yann had a working fix for this. Yann, can you give us more
information?

Linaro's CT-NG 1.13.1 fork has a patch for the link with GCC 4.7. I don't know
if it's related to this issue:
https://launchpad.net/linaro-toolchain-binaries/trunk/2012.04/+download/crosstool-ng-linaro-1.13.1-2012.04-20120426.tar.bz2
/crosstool-ng-linaro-1.13.1-2012.04-20120426/contrib/linaro/patches/gcc/linaro-4.7-2012.04/link-with-cxx.patch

Regards,
BenoÃt

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