Bug 15370

Summary: fw_payload.elf in package opensbi doesn't have GNU_HASH
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Pavel Zhukov <pavel>
Component: oe-core otherAssignee: Thomas Perrot <thomas.perrot>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod, thomas.perrot
Version: 5.0   
Target Milestone: 5.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Found by QA test)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Pavel Zhukov 2024-01-27 21:45:43 UTC
opensbi-1.4 failed to build with [1]. opensbi-1.3 can be built without errors.

[1]
ERROR: opensbi-1.4-r0 do_package_qa: QA Issue: File /share/opensbi/lp64/generic/firmware/fw_dynamic.elf in package opensbi doesn't have GNU_HASH (didn't pass LDFLAGS?)
File /share/opensbi/lp64/generic/firmware/fw_payload.elf in package opensbi doesn't have GNU_HASH (didn't pass LDFLAGS?)
File /share/opensbi/lp64/generic/firmware/fw_jump.elf in package opensbi doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
Comment 1 Thomas Perrot 2024-01-29 10:02:50 UTC
I'm pushing a fix, it was in the v3 of patch to update the recipe but the v2 has been merged.
Comment 2 Thomas Perrot 2024-01-30 07:06:32 UTC
Append LDFLAGS to TARGET_CC_ARCH, fixes it .
Comment 3 Thomas Perrot 2024-05-21 06:46:44 UTC
This issue has been fixed by the following commit:
https://git.openembedded.org/openembedded-core/commit/?id=b82e1e99feb8b0d70ff4c4bcac67336d562d2e53