[oe] How to apply "-Wl,--build-id" in all recipes?

Paul Eggleton paul.eggleton at linux.intel.com
Mon Aug 11 09:08:34 UTC 2014


Hi Chris,

On Saturday 09 August 2014 11:22:11 Christopher Larson wrote:
> On Sun, Aug 3, 2014 at 9:46 PM, Changhyeok Bae <changhyeok.bae at lge.com>
> wrote:
> > As I said, I applied the variable in local.conf.
> > The LDFLAGS env. variable is included '-Wl,--build-id'.
> > However, the variable is not applied at the linking time.
> 
> All recipes *should* ensure that the buildsystem of what they're building
> obeys our LDFLAGS, but plenty do not. We used to spot these cases via the
> GNU_HASH warnings, but now we build the internal toolchain with the default
> gnu hash so cases where LDFLAGS isn't being obeyed are slightly more
> difficult to detect unless you'er building with an external toolchain.

Hmm, when did this change? I was sure we still got this warning if the OE 
LDFLAGS weren't used...

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-devel mailing list