[PATCH 0/1] dpdk: fix do_configure failure on 32-bit ARM (qemuarm) targets
Swati Koli <[email protected]> Tue, 28 Jul 2026 06:17:05 +0000
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <[email protected]> |
Hi Randy, This patch fixes the dpdk 25.11.1 do_configure failure on qemuarm targets, reproduced on master-wr (LINCD-34249). Root Cause: ----------- The get_cpu_instruction_set() function in dpdk.inc falls back to 'core2' (an x86 microarchitecture) when -march= is not found in CC. For 32-bit ARM targets, the toolchain uses -mcpu=cortex-a15 instead of -march=, so the regex never matches and the invalid x86 fallback gets passed to the ARM cross-compiler: arm-wrs-linux-gnueabi-gcc: error: unrecognized -march target: core2 Fix: ---- Apply the same pattern already used for aarch64 (commit c4e5897): - Override EXTRA_OEMESON for the 'arm' tune to use the dpdk.cross file instead of cpu_instruction_set - Set RTE_PLATFORM to 'generic_aarch32' so meson selects the correct 32-bit ARM platform This fix is intended for upstream meta-dpdk. Tested on qemuarm, do_configure completes successfully with no errors after this change. Swati Koli (1): dpdk: fix builds for 32-bit ARM machines recipes-extended/dpdk/dpdk.inc | 2 ++ 1 file changed, 2 insertions(+) -- 2.43.0