diff options
author | Ross Burton <ross.burton@intel.com> | 2018-12-03 20:35:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:14:44 +0000 |
commit | 2b91be4910ddf33d94247f490f1eb59f3b698d14 (patch) | |
tree | dbd3f86dd434b9315980d9536929f56cf9f3b409 /meta | |
parent | e82982094ae27ba66d138f6ff3ee5c221a625b37 (diff) | |
download | poky-2b91be4910ddf33d94247f490f1eb59f3b698d14.tar.gz |
insane: Clarify GNU_HASH warning
We have a fatal error if ELF objects don't have GNU_HASH segments but it
doesn't explain what the problem is. At least give a hint to users by
suggesting that LDFLAGS wasn't passed to the compiler.
(From OE-Core rev: 5d4da6713b40e10e853eb746f700096307ffe158)
(From OE-Core rev: a0ac85826aeee633e01d00d7a1f188724a2937f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 4644221bc6..6718feb3af 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -383,7 +383,7 @@ def package_qa_hash_style(path, name, d, elf, messages): | |||
383 | sane = True | 383 | sane = True |
384 | 384 | ||
385 | if has_syms and not sane: | 385 | if has_syms and not sane: |
386 | package_qa_add_message(messages, "ldflags", "No GNU_HASH in the elf binary: '%s'" % path) | 386 | package_qa_add_message(messages, "ldflags", "No GNU_HASH in the ELF binary %s, didn't pass LDFLAGS?" % path) |
387 | 387 | ||
388 | 388 | ||
389 | QAPATHTEST[buildpaths] = "package_qa_check_buildpaths" | 389 | QAPATHTEST[buildpaths] = "package_qa_check_buildpaths" |