This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Android Native GCC 4.9.2 Build Fails at Dynamic libgcc
- From: Cyd Haselton <chaselton at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: Andrew Haley <aph at redhat dot com>, brian at shapes dot demon dot co dot uk, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 7 Jan 2015 08:32:54 -0600
- Subject: Re: Android Native GCC 4.9.2 Build Fails at Dynamic libgcc
- Authentication-results: sourceware.org; auth=none
- References: <CAHu5PrboyVq7orESm4N3m+2aQZaQNPAkcG4AJ7rFnFu+Q=tKWQ at mail dot gmail dot com> <549DDADB dot 4020707 at redhat dot com> <CAHu5PraJcUxrKcs36uc=njbbs7HLRr4+ozL04OzMEPVyZCDBUw at mail dot gmail dot com> <549EEEF6 dot 9030506 at redhat dot com> <CAHu5PrYG50rU-o7MrFkehdNpQ-KvXYmh6Ymr=OzmYe++V_Wppg at mail dot gmail dot com> <CAHu5PrZ2-Ts7SOqtj=ZdyFbAWpYhf5uEqMAieuJx+1SpmvV1rQ at mail dot gmail dot com> <54A660C4 dot 3030108 at redhat dot com> <CAHu5PrbjFyy83xYUdx+vSVQuVJhD-_HzEAb735o_K+dVbXDLag at mail dot gmail dot com> <54A67520 dot 6030801 at redhat dot com> <CAHu5PrZpsNYawNMacyuZMb9owEsRFf8NN6KqsZZ-zbxYf8_JrA at mail dot gmail dot com> <CAHu5PrY3WjeVGb6e_pgKuALw+kdkJ5HaOSTpAAZpPA3g0i9CNA at mail dot gmail dot com> <1420567682 dot 2034 dot 9 dot camel at shapes dot demon dot co dot uk> <54AC3540 dot 30100 at redhat dot com> <CAHu5PrYEnSjZiu6QSb=75AueOSyqu7jwxeEJW5UaAw+zQ2F51Q at mail dot gmail dot com> <54AD0516 dot 5000804 at redhat dot com> <54AD23EA dot 2070905 at redhat dot com> <1420636833 dot 1716 dot 2 dot camel at shapes dot demon dot co dot uk> <54AD369D dot 1020208 at redhat dot com> <CAH6eHdQHSz7Jih1a=cYLLURM=TQdhragb9D6Jj+CsDF_nb4RQQ at mail dot gmail dot com>
On Wed, Jan 7, 2015 at 7:41 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 7 January 2015 at 13:37, Andrew Haley wrote:
>> I think it's now becoming clear what is happening. Something in ld is
>> calling dlopen, and fakechroot prints the error. But it's not clear to
>> me which dlopen does not work in fakechroot.
>>
>> My guess is that the problem is due to link-time optimization. gcc is
>> trying to run -plugin /bld/gcc/builddir-4.9/./gcc/liblto_plugin.so. 4.8
>> does not do this.
>
> Ahhhhhhh. Sneaky.
>
>> Maybe fakechroot can be persuaded to produce a decent error message with
>> some more information.
>>
>> It may be possible to disable LTO.
>
> --disable-lto
Thanks...will try this as soon as I can.