Re: Android Native GCC 4.9.2 Build Fails at Dynamic libgcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 7, 2015 at 7:59 AM, Brian Drummond <brian@xxxxxxxxxxxxxxxxxx> wrote:
> On Wed, 2015-01-07 at 13:37 +0000, Andrew Haley wrote:
>> On 01/07/2015 01:20 PM, Brian Drummond wrote:
>
>> 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.
>>
>> Maybe fakechroot can be persuaded to produce a decent error message with
>> some more information.
>>
>> It may be possible to disable LTO.
>>
>> Andrew.
>
> Can you suggest an option to add to the failing command that would turn
> LTO off, so that Cyd can
> (a) rerun the same command from the cmdline

Technically I run it by re-running 'make' without any variation of
'clean', as there's a command size limit on Android that would
prohibit a manual run of the command + objects.
I could jump through hoops and do some acrobatics to copy and paste
the command with *.o standing in for the long list of object files,
but re-running make is far easier.

> (verify it fails the same way) and
> (b) re-run it with the added option,

Wouldn't this need to be added to configure and configure re-run?

> and see how much further it gets?
>
> -- Brian
>
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux