[oe] [meta-openembedded] libgcc-4.5.1: ERROR: QA Issue: No GNU_HASH in the elf binary libgcc_s.so.1

Elvis Dowson elvis.dowson at gmail.com
Fri Aug 10 06:44:14 UTC 2012


Hi,
      I'm working on adding a gcc-4.5 recipe to the meta-openembedded/toolchain-layer. 

I've based the files off the gcc-4.6 recipes, and taken the patches for gcc-4.5.1 from the poky/bernard branch.

I get the following QA error:

NOTE: Running task 806 of 890 (ID: 594, /tool/yocto/meta-openembedded/toolchain-layer/recipes-devtools/gcc/gcc-runtime_4.5.bb, do_configure)
ERROR: QA Issue: No GNU_HASH in the elf binary: '/tool/yocto/poky/build/tmp/work/ppc440-poky-linux/libgcc-4.5.1+svnr162773-r14/packages-split/libgcc/lib/libgcc_s.so.1'

Searching through the mailing lists, I find that a potential fix would be to add the following to gcc-configure-common.inc

TARGET_CC_ARCH += "${LDFLAGS}"

I was wondering why this issue manifests for gcc-4.5, and not for gcc-4.6 and gcc-4.7?

After all, the only difference between the 4.6 and 4.7 recipes is just the list of patches and the SRCREV, and the BINUTILS version (2.21) used for gcc-4.5, and running it against the current master branches for poky and meta-openembedded.

Best regards,

Elvis Dowson


More information about the Openembedded-devel mailing list