[OE-core] flto automake

Khem Raj raj.khem at gmail.com
Fri Dec 21 02:36:40 AEDT 2018

On Thu, Dec 20, 2018 at 4:37 AM Burton, Ross <ross.burton at intel.com> wrote:
> On Thu, 20 Dec 2018 at 01:20, Khem Raj <raj.khem at gmail.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?
> >
> > Dont think that is a good idea in general since gcc-ar is a wrapper
> > around normal ar
> > passing --plugin=/path/to/lto/plugin/so and that may not be right
> > thing to do always.
> Well, I built core-image-sato core-image-weston with AR=gcc-ar
> RANLIB=gcc-ranlib globally and it worked fine.

Please build a lot more. These images cover only handful of recipes
there are problems like


which we might have to contend.

> As we build the cross gcc we know what is in it.  Other toolchains be
> they clang, ICC, or external GCCs, can override AR just like they do
> the other variables.

Yes they can, but what doe this buy us ? except we make Core toolchain
gcc dependent one step more.

> Ross

More information about the openbmc mailing list