Bug 9891 - nasm should be a cross recipe
Summary: nasm should be a cross recipe
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.1
Hardware: All arm64
: Low enhancement
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-07 10:05 UTC by Ross Burton
Modified: 2022-02-10 16:12 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 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