We were attempting to build qemu on an Ubuntu 18.04 system and ran into an issue where certain (newer) MMAP flags were not defined. After further tracking it was determined that QEMU 8.1 moved forward and only supports usage on kernel 4.17 or newer.
Using the patch included with this, you can build for an older host, but more importantly you can build an SDK that includes QEMU that will execute on the 'SDK_OLDEST_KERNEL'. While I've not gone back and verified things work on 3.2.0 system, I have verified that Ubuntu 18.04 is working for me. (Ubuntu 18.04 is kernel 4.15) Mark Hatle (1): qemu: Allow native and nativesdk versions on Linux older then 4.17 meta/recipes-devtools/qemu/qemu.inc | 12 + ...round-for-missing-MAP_FIXED_NOREPLAC.patch | 286 ++++++++++++++++++ ...round-for-missing-MAP_SHARED_VALIDAT.patch | 51 ++++ 3 files changed, 349 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/0011-linux-user-workaround-for-missing-MAP_FIXED_NOREPLAC.patch create mode 100644 meta/recipes-devtools/qemu/qemu/0012-linux-user-workaround-for-missing-MAP_SHARED_VALIDAT.patch -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#194332): https://lists.openembedded.org/g/openembedded-core/message/194332 Mute This Topic: https://lists.openembedded.org/mt/103962277/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-