From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91654460FC for ; Thu, 23 Jan 2025 14:13:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FD1B40A70; Thu, 23 Jan 2025 14:13:44 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id EF3A540269 for ; Thu, 23 Jan 2025 14:13:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737638021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pO7y0WEkpJJTD0RoijrS6KzBr+HmKbayIMYwDF39rZ0=; b=doLv3hE2eAveVpSaKWPC3PvvTZ/R0zP6qwSR1SYOLnxbSu//14NJj5P4ooS2Tkw9w+nwwL y/XaklW5JNrOnxyqOSL/fVD282BhDLgppuWuv1ch5YOgrVp06bAuL2J4khO0trpbyF9N2v 34wxYbAWrTannsnyImUUOIH3QxnPr+I= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-528-hGhde5yfPa2n0BisoPY-og-1; Thu, 23 Jan 2025 08:13:40 -0500 X-MC-Unique: hGhde5yfPa2n0BisoPY-og-1 X-Mimecast-MFC-AGG-ID: hGhde5yfPa2n0BisoPY-og Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-3021e171631so4727871fa.0 for ; Thu, 23 Jan 2025 05:13:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737638018; x=1738242818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pO7y0WEkpJJTD0RoijrS6KzBr+HmKbayIMYwDF39rZ0=; b=UFLUtEkjBqFESrEOMCqZT9QqQOETuswu7BdEuR11QVeVGtLhnPc54LI7M/rXoTtp6r q5sERVtRWhI4H1CIntuVAVU0wnejEJkLTX++Am1ShYaDGiw+syH0/iOplPl9xXLNj72j RyRfmAdBIIlzo13rnBYCakU2Q2LLCAoVUXQuH3R2KLHi7D+iVjbKUTXAKZ+sWdvKUqCK WJEqN926sxFQuVvWsdMy65mXVk/upZzC8btsk6si+sY1VVjcLhyEOidznsgVs7juo+nw s2W3AGk8HPKvjBhaSm5L21IwDfsmjwXLtyy1yBmfIdaXne2bucRDSod7UXyVa8ZIIOmy JTMA== X-Forwarded-Encrypted: i=1; AJvYcCXSZV0OBU3WSe1ULGgdj1gGPyRRgxxrpG6KyLr2WEhks/F6RT5752/ZENWPwrNXUdNUvoO1t+A=@dpdk.org X-Gm-Message-State: AOJu0Yw2DzvE6SbWP64NVd5btg/uJRaUrebCH8fYs6pxk8uV8pPdRMal fpMfxVTBD1hUNxZa3nWbdcC7XcrSNsFANo1Ulkvl2IaiRRPdaCGz6uvO04UD1wE/7eI4sYvv3Qb 5kf7McT2WEu9sbevrmIysX+zi1ZvCxijoGXHOJ+TrCPJhXq1aeS5Q3th/82Ic1QsVND4muux7N1 SpWpD2mIdLDg0qED09S1c= X-Gm-Gg: ASbGncsZZIzxEiEoXDCJGPSuApP8g2t7ikl7v3a2KskUmbWEDP2W4O23GU549MMc/WK Zff7WwDoUzqsWUP2hpANlVco2xrKLYUpmCwfT6cx8inlFfgMeULnP5A== X-Received: by 2002:a05:651c:10a3:b0:306:501:4762 with SMTP id 38308e7fff4ca-30761c1abe3mr9009701fa.16.1737638018410; Thu, 23 Jan 2025 05:13:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/I2LKZCFKLHPMOlTwNtGvUQkxLqBCAEkqWHhh3ShF3rijfkmait1yPWStEw+FDeL6Zw0YTwwPAbRXm/upSRc= X-Received: by 2002:a05:651c:10a3:b0:306:501:4762 with SMTP id 38308e7fff4ca-30761c1abe3mr9009631fa.16.1737638018048; Thu, 23 Jan 2025 05:13:38 -0800 (PST) MIME-Version: 1.0 References: <1736871673-25398-1-git-send-email-andremue@linux.microsoft.com> In-Reply-To: From: David Marchand Date: Thu, 23 Jan 2025 14:13:26 +0100 X-Gm-Features: AbW1kvYsPOasZKqL5DYTpG20qcy72oPU7bVSSbA3YxmqIVx78pHlkYZL4kYuTVY Message-ID: Subject: Re: [PATCH] eal: fix undeclared function error on old CPUs To: Andre Muezerie Cc: Konstantin Ananyev , Neil Horman , dev@dpdk.org, stable@dpdk.org, Bruce Richardson , pdamouny@nvidia.com X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: U7rzBKJ7jx5dsk7mxMIFBp-nut_tdP4mUOc-XRJECmA_1737638018 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Tue, Jan 14, 2025 at 5:33=E2=80=AFPM Bruce Richardson 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 > > Signed-off-by: Andre Muezerie > Acked-by: Bruce Richardson Applied, thanks Andre. --=20 David Marchand