crosstool-ng powerpc with libstdc++ build error: Link tests are not allowed after GCC_NO_EXECUTABLES
ANDY KENNEDY
ANDY.KENNEDY@adtran.com
Mon May 13 19:16:00 GMT 2013
> -----Original Message-----
> From: Will Wagner [mailto:will_wagner@carallon.com]
> Sent: Thursday, May 09, 2013 5:07 AM
> To: ANDY KENNEDY
> Cc: crossgcc@sourceware.org
> Subject: Re: crosstool-ng powerpc with libstdc++ build error: Link tests are not allowed after
> GCC_NO_EXECUTABLES
>
> On 09/05/2013 03:01, ANDY KENNEDY wrote:
> >> -----Original Message-----
> >> From: crossgcc-owner@sourceware.org [mailto:crossgcc-owner@sourceware.org] On Behalf Of Will Wagner
> >> Sent: Wednesday, May 08, 2013 6:56 PM
> >> To: crossgcc@sourceware.org
> >> Subject: crosstool-ng powerpc with libstdc++ build error: Link tests are not allowed after
> >> GCC_NO_EXECUTABLES
> >>
> >> Hello,
> >>
> >> I am having difficulty building a powerpc toolchain with crosstool 1.18.0
> >>
> >> I am using:
> >> - binutils 2.22
> >> - gcc 4.7.2
> >> - eglibc 2.17
> >>
> >> The toolchain builds fine with no C++ support. However with C++ support
> >> it goes wrong when trying to configure libstdc++.
> >
> > Unset the option CT_CC_GCC_ENABLE_TARGET_OPTSPACE.
> >
> > Doing so worked for me. I believe I found this fix in the CTNG documentation.
> >
> > Andy
> >
> >
>
> Thanks, that fixes it. I did search the ct-ng source and documentation
> but couldn't find an reference to this.
I dunno, perhaps I found it on the crossgcc mailing list. I do recall that the
post was from about a year ago.
>
> Do you have any idea what is going on and why optimising for size breaks it?
Yes, I did (two weeks ago). I filed it away as "here is how to fix this" and
forgot the why ;). It has something to do with a change in a version of GCC
that works for eglibc, however, when building uClibc as libc, there is a quirk.
I don't recall the when's and wherefores on the matter, just remember it has
specifically to do with uClibc and GCC.
Sorry I cannot be of more help.
Andy
>
> Thanks
> Will
>
> --
> ------------------------------------------------------------------------
> Will Wagner will_wagner@carallon.com
> Development Manager Office Tel: +44 (0)20 7471 9224
> Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
> ------------------------------------------------------------------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list