Bug 15370 - fw_payload.elf in package opensbi doesn't have GNU_HASH
Summary: fw_payload.elf in package opensbi doesn't have GNU_HASH
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 5.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.0 M4
Assignee: Thomas Perrot
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-01-27 21:45 UTC by Pavel Zhukov
Modified: 2024-05-21 06:46 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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