From: David Marchand <david.marchand@redhat.com>
To: Andre Muezerie <andremue@linux.microsoft.com>
Cc: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,
Neil Horman <nhorman@tuxdriver.com>,
dev@dpdk.org, stable@dpdk.org,
Bruce Richardson <bruce.richardson@intel.com>,
pdamouny@nvidia.com
Subject: Re: [PATCH] eal: fix undeclared function error on old CPUs
Date: Thu, 23 Jan 2025 14:13:26 +0100 [thread overview]
Message-ID: <CAJFAV8x6FxW+w2PaFcPpy3qp0Me5gtDKaR1+FBB7wiZWyUOMdQ@mail.gmail.com> (raw)
In-Reply-To: <Z4aRjFSJ9CUHXlEI@bricha3-mobl1.ger.corp.intel.com>
On Tue, Jan 14, 2025 at 5:33 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> On Tue, Jan 14, 2025 at 08:21:13AM -0800, Andre Muezerie wrote:
> > Error reported:
> > ../lib/net/net_crc_sse.c:49:17: error: call to undeclared function
> > '_mm_clmulepi64_si128'; ISO C99 and later do not support implicit
> > function declarations [-Wimplicit-function-declaration]
> >
> > The fix is to remove the unnecessary ifdef around the inclusion of
> > header file immintrin.h. This header also contains functions that do
> > not require AVX instructions, so should not be included only when AVX
> > is available.
> >
> > Bugzilla ID: 1595
> > Fixes: da826b7135a4 ("eal: introduce ymm type for AVX 256-bit")
> > Cc: stable@dpdk.org
> >
Reported-by: Pier Damouny <pdamouny@nvidia.com>
> > Signed-off-by: Andre Muezerie <andremue@linux.microsoft.com>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied, thanks Andre.
--
David Marchand
prev parent reply other threads:[~2025-01-23 13:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 16:21 Andre Muezerie
2025-01-14 16:32 ` Bruce Richardson
2025-01-23 13:13 ` David Marchand [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=CAJFAV8x6FxW+w2PaFcPpy3qp0Me5gtDKaR1+FBB7wiZWyUOMdQ@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=andremue@linux.microsoft.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=konstantin.v.ananyev@yandex.ru \
--cc=nhorman@tuxdriver.com \
--cc=pdamouny@nvidia.com \
--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).