Bug 9891

Summary: nasm should be a cross recipe
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: devtools / tool chainAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: fathi.boudra, koen, meta.mr.watcher, meta.watcher, ndec13, randy.macleod, richard.purdie, sgw
Version: 2.1   
Target Milestone: Future   
Hardware: All   
OS: arm64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2016-07-07 10:05:05 UTC
If building for x86 on an aarch64 host libjpeg-turbo depends on nasm-native, but nasm-native refuses to build as it has COMPATIBLE_HOST restricting it to x86.

Really, nasm should probably be a cross recipe that can only *target* x86, as it appears to work fine on ARM hosts generating x86 code.
Comment 1 Richard Purdie 2022-02-10 16:12:21 UTC
We made it unconditional in:

https://git.yoctoproject.org/poky/commit/?id=22d9e285febec81b64e817094677ec0bc9065193