[PATCH] doc: clarify disabling AVX-512 when building on Haswell CPUs
Bruce Richardson
bruce.richardson at intel.com
Wed Jul 2 15:56:19 CEST 2025
On Wed, Jul 02, 2025 at 09:36:49AM -0400, Khadem Ullah wrote:
> Some Intel Xeon processors (e.g., E5 v3 Haswell) do not support AVX-512
> instructions, and building DPDK targeting 'native' instruction set can
> fail with 'target specific option mismatch' errors.
>
> This patch updates the build guide with instructions for configuring
> Meson to disable AVX-512 and target the Haswell architecture.
>
> Bugzilla ID: 1736
> Cc: stable at dpdk.org
>
> Signed-off-by: Khadem Ullah <14pwcse1224 at uetpeshawar.edu.pk>
> ---
> doc/guides/linux_gsg/build_dpdk.rst | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
This should not be necessary, and investigation seems to point towards an
issue with older gcc-8.5 compiler. Builds on machines without AVX-512, e.g.
my old i7-4770 desktop machine, work fine with latest Ubuntu, and also with
clang on centos-stream 8. Only the build with gcc 8.5 fails.
/Bruce
More information about the dev
mailing list