Skip to content

Instantly share code, notes, and snippets.

@aakbar5
Created March 1, 2017 12:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aakbar5/e7ec2122a2eb9010ca6f0b2a19d7176d to your computer and use it in GitHub Desktop.
Save aakbar5/e7ec2122a2eb9010ca6f0b2a19d7176d to your computer and use it in GitHub Desktop.
GNU_HASH
Yocto build was showing a warning of "QA Issue: No GNU_HASH in the elf binary".
- The fix was to make sure that linker command line used by the respective application is using parameters used by Yocto build system.
- Just for information $(LDFLAGS) used by Yocto is having -Wl,--hash-style=gnu.
Ref: For inside of GNU_HASH: https://blogs.oracle.com/ali/entry/gnu_hash_elf_sections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment