Bug 11189

Summary: ovmf fails to build (unsupported relocation)
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jussi Kukkonen <jku>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 2.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jussi Kukkonen 2017-03-20 08:47:38 UTC
ovmf fails to build on musl (http://errors.yoctoproject.org/Errors/Details/137780/):

---
"GenFw" -o TOPDIR/tmp/work/i586-poky-linux-musl/ovmf/git-r0/git/Build/OvmfIa32/RELEASE_GCC5/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.acpi -c TOPDIR/tmp/work/i586-poky-linux-musl/ovmf/git-r0/git/Build/OvmfIa32/RELEASE_GCC5/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.dll
GenFw: ERROR 3000: Invalid
  TOPDIR/tmp/work/i586-poky-linux-musl/ovmf/git-r0/git/Build/OvmfIa32/RELEASE_GCC5/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.dll unsupported ELF EM_386 relocation 0xa.
---

There's no master build yet showing this but I'm guessing it will show up once ed602b58ed "musl: Update to latest" is tested.
Comment 1 Jussi Kukkonen 2017-03-21 11:30:56 UTC
Also showed up on nightly-world-lsb so not actually musl related I guess.

Patrick has a patch on list.
Comment 2 Ross Burton 2017-03-23 14:15:55 UTC
Merged in oe-core 23a12d87a6e82f80f4ccc1a01c707faa89ff7abd.