Building an image for meta-intel's fri2 BSP I see a lot of: "ERROR: QA Issue: No GNU_HASH in the elf binary" Since the following change: "poky.conf: Change WARNS -> ERRORS" http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d4e265661517f8dd4e1648fdc56bac5973f986f6 This is because the EMGD binaries have symbols but no GNU_HASH and therefore fail the ldflags QA test. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/insane.bbclass#n396
Created attachment 518 [details] log.do_package The relevant log messages: ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixcommon.so.0.1.9' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_mpeg4.so.0.1.24' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvideo.so.0.1.31' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixcommon.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvideo.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_h264.so.0.1.24' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_h264.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp.so.0.1.24' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_vc1.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_mpeg4.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libgstvabuffer.so.0' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libgstvabuffer.so.0.10.5' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_vc1.so.0.1.24' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/gstreamer-0.10/libgstmixvideoplugin.so' ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/gstreamer-0.10/libgstvaplugin.so'
It's worth pointing out that the emgd driver is a binary driver, so there's no way we can guarantee anything about how it's built. Do we want to be able to disable certain tests for recipes which just copy around binaries?
Can we use some INSANE_SKIP line(s) for this?
(In reply to comment #3) > Can we use some INSANE_SKIP line(s) for this? Oh, good knowledge. Looks like INSANE_SKIP_${PN} = "ldflags" should do it (untested).
Looks like tom already has a patch
Fixed in meta-intel: http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/commit/?id=7c1086df3f92d76ca1a062f9b4b1daf6823bfb63
Behavior does not reproduce after last patch.