[OE-core] flto automake

Khem Raj raj.khem at gmail.com
Fri Dec 21 04:04:25 AEDT 2018


On Thu, Dec 20, 2018 at 7:48 AM Burton, Ross <ross.burton at intel.com> wrote:
>
> On Thu, 20 Dec 2018 at 15:37, Khem Raj <raj.khem at gmail.com> wrote:
> > > 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
> >
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576
> >
> > which we might have to contend.
>
> That bug from two years ago suggests that the gcc-ar wrapper isn't
> required if GCC has been configured properly.  I guess we need a test
> case.

cmake's approach of defined COMPILER_AR and COMPILER_RANLIB etc seems
better to me. where it can be uses selectively only when LTO is in
play.

>
> Ross


More information about the openbmc mailing list