DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk>
Cc: <dev@dpdk.org>, <stable@dpdk.org>
Subject: Re: [PATCH] doc: clarify disabling AVX-512 when building on Haswell CPUs
Date: Wed, 2 Jul 2025 14:56:19 +0100	[thread overview]
Message-ID: <aGU6gytRyMaNaZQg@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20250702133649.1931134-1-14pwcse1224@uetpeshawar.edu.pk>

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@dpdk.org
> 
> Signed-off-by: Khadem Ullah <14pwcse1224@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

      reply	other threads:[~2025-07-02 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02 13:36 Khadem Ullah
2025-07-02 13:56 ` Bruce Richardson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aGU6gytRyMaNaZQg@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=14pwcse1224@uetpeshawar.edu.pk \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).