[OE-core] [PATCHv2] gcc-cross: remove --with-linker-hash-style

Christopher Larson chris_larson at mentor.com
Fri Jul 1 20:47:20 UTC 2016


On Fri, Jul 1, 2016 at 1:44 PM, Christopher Larson <kergoth at gmail.com>
wrote:

> From: Christopher Larson <chris_larson at mentor.com>
>
> We explicitly set the hash style to gnu in our LDFLAGS. Setting the
> default to
> this in the toolchain, while convenient, actually hides bugs, as a failure
> to
> obey LDFLAGS isn't noticed. By removing this, it's not dissimilar to how we
> poison the sysroot -- rather than relying on the default, notice right
> away if
> somoeone isn't obeying the needed flags.
>
> This will result in a failure to obey LDFLAGS causing a GNU_HASH QA
> failure,
> which is what's often seen with external toolchains. This brings us all on
> the
> same page, and makes sure a failure to obey LDFLAGS is seen early.
>
> This is limited to cross, to retain ease of use for SDKs.
>
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
>

v2 changes: dropped the change to the sdk to keep ease of use there, as we
mainly want this for fixing recipes, not externally built stuff. The fixes
for qt3 and some other recipes were merged. Only one is pending, a fix for
service in meta-skeleton to obey LDFLAGS, which is forthcoming.
-- 
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160701/59be0f60/attachment-0002.html>


More information about the Openembedded-core mailing list