Hi Fabrice,
Thanks for your reply. I tried the above solution in blink.gyp but
that didn't work.
I ended up by manually removing -flto from blink_web.ninja and *.ninja
files in Webkit/Source/core/, which worked for me
(blink_web.ninja shows dependencies on object files in Webkit/Source/core).
I will try to disable lto (as in the above link) in blink.gyp,
Webkit/Source/core/core.gyp and Webkit/Source/core/core_generated.gyp
and check if that works. Please let me know if you find
a better solution -;)
Thank you,
Prathamesh
>
> If you want some more details and/or comment, this is the tracking bug for
> enabling LTO on Android ARM:
http://crbug.com/407544
>
> Cheers!
> Fabrice
>
> On Thursday, April 16, 2015 at 12:06:27 AM UTC+2, Prathamesh Kulkarni wrote:
>>
>> Hi,
>> I apologize if this is not the right list for this thread. I am trying to
>> build chromium on ARM with LTO enabled with gcc.
>> It appears linking lib/libblink_web.so results in internal compiler error
>> (
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65776).
>> I would be grateful if someone could point me to disable LTO for building
>> lib/libblink_web.so when target is ARM.
>> I tried setting cflags and ldflags to -fno-lto in blink.gyp but that
>> didn't appear to work.
>>
>> Thank you,
>> Prathamesh
>
> --
> --
> Chromium Developers mailing list:
chromi...@chromium.org
> View archives, change email options, or unsubscribe:
>
http://groups.google.com/a/chromium.org/group/chromium-dev