Android Native GCC 4.9.2 Build Fails at Dynamic libgcc
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Jan 7 13:42:00 GMT 2015
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
More information about the Gcc-help
mailing list