[OE-core] noticeably longer build (link?) times with binutils 2.26

Trevor Woerner twoerner at gmail.com
Tue Feb 9 03:03:06 UTC 2016


On 02/08/16 21:25, Khem Raj wrote:
> On Mon, Feb 8, 2016 at 3:20 PM, Trevor Woerner <twoerner at gmail.com> wrote:
>> This is more of a "FYI", but I've noticed that the build time of my chromium
>> recipe has gone from ~45 minutes to ~2h15m when the only thing that changes
>> is to move openembedded-core from the commit just before upgrading binutils
>> to version 2.26 ([fd75637] native.bbclass: Set CXXFLAGS from BUILD_CXXFLAGS
>> not BUILD_CFLAGS) to the one immediately after ([86ade2c] binutils: Upgrade
>> to 2.26).
> Is it using gold linker ? if not can you try both bfd and gold

A week or so ago, as part of something else (but before the binutils 
update to 2.26), I tried performing a clean build using the gold linker. 
Unfortunately that image was not able to boot:

https://lists.yoctoproject.org/pipermail/meta-intel/2016-January/003697.html
(but there were no replies)

It dies somewhere between the EFI bootloader and grub2 (or perhaps just 
after grub starts). There's no grub output.

I'll try doing the build with the gold linker, but the results of that 
build might not be useful to me.



More information about the Openembedded-core mailing list