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 C75B5A034F; Tue, 9 Nov 2021 16:53:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5677540E03; Tue, 9 Nov 2021 16:53:38 +0100 (CET) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) by mails.dpdk.org (Postfix) with ESMTP id 9317B4068B for ; Tue, 9 Nov 2021 16:53:37 +0100 (CET) Received: by mail-yb1-f172.google.com with SMTP id v138so54071884ybb.8 for ; Tue, 09 Nov 2021 07:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ZP9Hu0KSeyjNQ/rx0i9C4yADFZW98sTiOyRD4hvW+O4=; b=fUAeH3STl10KOBpFhdcq3Z8TURiMjphlIEIpW56KFZfPCM6e/yOpbAuBxBjCj+9vfe nWaJ50o9Ce4TAXUPK/HZse/9Qsas5WlgPi72tpqpZcozE0iI6YGRa6qw9tzxnvEXXnF6 9XfymRgrt8VbIQhJUhRxyceIAQP12NNWA8uR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=ZP9Hu0KSeyjNQ/rx0i9C4yADFZW98sTiOyRD4hvW+O4=; b=ITV+3dCTUCi76DANYfobDj4wac9h8sCwHXOPpa2F6knm35IiyO/3ie3yeXb2rd4TIE 8Nmf4ACimnzj+Okf1Uy8NTadaLS9izfcNCtRRuZ0fo7dpLNgFqiiY5EHmbkWaQM1jvLM YaPLtvK1Kkitx7DZJ8AQbI0Z55623YaftrZJZgikGpE4zYdq5Va53z4toK8VzC/0/H+3 Cqj6bGrXQAD0v2ZaW1qWvp5/D0Jc3t6JTxvOHu6e/Azvph2Hu5bpgSVw+LjeNLaxJQXQ iq/oC8q3YbPsQr/e1vQHW+HO0e9A+KkYQjrZGZnuWqQv+rRJXW5q7O4t4dZKOprLpxFd y+kw== X-Gm-Message-State: AOAM533iXsUFvcGNo1Zb1/8QU+yS95gO7gcVlT3MJSYd8FD6/GZ9PDum Sxz18cVlC0jGehJ/sCGtdDhfVpWSoCJsTvfauwak+teUkEHoLg== X-Google-Smtp-Source: ABdhPJwF279t6vOId71+XqmGwjMcHiqbMaSImDRISoTkA8eRVVgUVRAuedrJHzdia0gDlQ5l7F/IDVK0kemTLopLLVs= X-Received: by 2002:a25:d68e:: with SMTP id n136mr9872119ybg.59.1636473216607; Tue, 09 Nov 2021 07:53:36 -0800 (PST) MIME-Version: 1.0 From: Lance Richardson Date: Tue, 9 Nov 2021 10:53:25 -0500 Message-ID: To: dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] Build failures in 21.11-rc2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21.11-rc2 builds are failing on CentOS 8.4, apparently because the intrinsic _mm512_set_epi8() is not defined in the GCC headers (see example below). Perhaps code using _mm512_set_epi8() could be reworked to avoid that intrinsic, or maybe support could be detected at build configuration time and definitions for them could be provided in DPDK headers. Here is a GCC patch to add this intrinsic: https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg188664.html BTW, GCC 10.2.1 (via "scl enable gcc-toolset-10") is able to build 21.11-rc2 successfully on CentOS 8.4. Lance # gcc --version gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. In file included from ../lib/hash/rte_thash_gfni.h:16, from ../lib/hash/rte_thash.h:27, from ../lib/hash/rte_thash.c:7: ../lib/hash/rte_thash_x86_gfni.h: In function =E2=80=98__rte_thash_gfni=E2= =80=99: ../lib/hash/rte_thash_x86_gfni.h:59:24: error: implicit declaration of function =E2=80=98_mm512_set_epi8=E2=80=99; did you mean =E2=80=98_mm512_se= t1_epi8=E2=80=99? [-Werror=3Dimplicit-function-declaration] __m512i permute_idx =3D _mm512_set_epi8(7, 6, 5, 4, 7, 6, 5, 4, ^~~~~~~~~~~~~~~ _mm512_set1_epi8