issue: do_package_qa: QA Issue: No GNU_HASH in the elf binary do_package_qa: QA run found fatal errors. Please consider fixing them. do_package_qa: Function failed: do_package_qa
This indicates that binaries produced when building the recipe have not been linked with the LDFLAGS options provided by the build system. Passing in LDFLAGS using TARGET_CC_ARCH can fix it. Signed-off-by: Hongzhi.Song <hongzhi.s...@windriver.com> --- recipes-kernel/turbostat/turbostat.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-kernel/turbostat/turbostat.bb b/recipes-kernel/turbostat/turbostat.bb index e55ec72..f4614b4 100644 --- a/recipes-kernel/turbostat/turbostat.bb +++ b/recipes-kernel/turbostat/turbostat.bb @@ -49,3 +49,5 @@ do_install() { python do_package_prepend() { d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0]) } + +TARGET_CC_ARCH += "${LDFLAGS}" -- 2.11.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto