This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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: Android Native GCC 4.9.2 Build Fails at Dynamic libgcc


On Wed, Jan 7, 2015 at 11:40 AM, Andrew Haley <aph@redhat.com> wrote:
> On 01/07/2015 04:57 PM, Cyd Haselton wrote:
>> Adding -fno-lto to CFLAGS in the 4.9 libgcc Makefile worked.
>> Libgcc_s.so built and linked successfully.  I will add this to my list
>> of build notes
>
> Ah, good.  That was a very, very difficult thing to debug because the
> runtime error from fakechroot looked so much like a linker error, even
> to the point of producing the same error message.  It's probably the
> hairiest thing I've ever helped debug on gcc-help.
>
>> Thanks everyone for all of your help and patience.  Anything else you
>> need from me?
>
> It's be nice to see if you can do a clean build with the --disable-lto
> configure option.  Then we can think about how to auto-disable it in the
> gcc configury.
>
> Andrew.

Clean build & install successful. There were a few issues with
building libstdc++ and libsupc++ but nothing else related to lto
and/or libgcc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]