[oe-commits] [openembedded-core] 80/92: insane: Clarify GNU_HASH warning

git at git.openembedded.org git at git.openembedded.org
Tue Jan 8 20:20:38 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch thud
in repository openembedded-core.

commit a0ac85826aeee633e01d00d7a1f188724a2937f0
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Dec 3 20:35:16 2018 +0000

    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)
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 4644221..6718feb 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list