From: Ross Burton Date: Mon, 3 Dec 2018 20:35:16 +0000 (+0000) Subject: insane: Clarify GNU_HASH warning X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15956 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d4da6713b40e10e853eb746f700096307ffe158;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 4644221bc6b..6718feb3af5 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): sane = True if has_syms and not sane: - package_qa_add_message(messages, "ldflags", "No GNU_HASH in the elf binary: '%s'" % path) + package_qa_add_message(messages, "ldflags", "No GNU_HASH in the ELF binary %s, didn't pass LDFLAGS?" % path) QAPATHTEST[buildpaths] = "package_qa_check_buildpaths"