]> code.ossystems Code Review - openembedded-core.git/commit
gcc-cross: default linker hash style to sysv
authorChristopher Larson <chris_larson@mentor.com>
Thu, 7 Jul 2016 21:08:33 +0000 (14:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:50 +0000 (10:24 +0100)
commitfa436aeb3242cbfdbbe16d448d45bce8eb5b74fd
treeba33555d3d7b0c9ff5e92d108dfedcf401ae7a6c
parent061990f9aa97f2dac88e473b9852aed6f3f00f32
gcc-cross: default linker hash style to sysv

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@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/gcc/gcc-cross.inc