[OE-core] flto automake

Richard Purdie richard.purdie at linuxfoundation.org
Wed Dec 19 10:43:46 UTC 2018


On Wed, 2018-12-19 at 10:00 +0000, Burton, Ross wrote:
> On Wed, 19 Dec 2018 at 01:07, Burton, Ross <ross.burton at intel.com>
> wrote:
> 
> > That however leads to the question of should we just change the
> > defaults? Does anything break if we use gcc-ar instead of ar?
> 
> Answer: yes.
> 
> > x86_64-poky-linux-gcc-ar  rc libgcov.a $objects
> > x86_64-poky-linux-gcc-ar: Cannot find plugin 'liblto_plugin.so'
> > Makefile:932: recipe for target 'libgcov.a' failed
> ERROR: Task (/home/ross/Yocto/poky/meta/recipes-devtools/gcc/libgcc-
> initial_8.2.bb:do_compile)
> failed with exit code '1'
> 
> I don't know enough about gcc...

The -initial compiler doesn't have lto compiled into it so you probably
need to use binutils ar for that part of the bootstrap.

Cheers,

Richard



More information about the Openembedded-core mailing list