QA sanity checker in OE fails when an ELF binary has symbol table without GNU hash.
There is no issue so far because rmc is statically linked with C libraries and symbol table is stripped out in build. But once we compile rmc with dynamic linking, the symbol table in dynamic section stays. Thus it fails QA checker for the default of hash style is sysv. To have some peace of mind, we specify "both" for hash style to linker this time. Signed-off-by: Jianxun Zhang <[email protected]> --- common/recipes-bsp/rmc/rmc.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/recipes-bsp/rmc/rmc.bb b/common/recipes-bsp/rmc/rmc.bb index d8e538b..d77ad31 100644 --- a/common/recipes-bsp/rmc/rmc.bb +++ b/common/recipes-bsp/rmc/rmc.bb @@ -20,6 +20,8 @@ S = "${WORKDIR}/git" DEPENDS_class-target = "gnu-efi" +EXTRA_OEMAKE='RMC_CFLAGS="-Wl,--hash-style=both"' + # from gnu-efi, we should align arch-mapping with it. def rmc_efi_arch(d): import re -- 2.7.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
