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 4F93CA034F; Tue, 9 Nov 2021 16:57:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B984410F2; Tue, 9 Nov 2021 16:57:50 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id AC8A540E03 for ; Tue, 9 Nov 2021 16:57:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636473468; 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=YS0X3MLFNOmHIL6xAm2dM6lprFx/taGrmxiDoB9+nwA=; b=IzOUvcSaOm6Yco6jjeqwSuqHA63xkidH8h9ES10KFNsoY1QVUFlpP58T95lbVWIH9Aec5o 2IU0YfoC3hK/jkrphK2J+yBqLh0+1kJ0WwyDZMPX+ANMo/oLoh3GpTvJPY4v/3Nyn9ZM9S mHbmiX4JSQh1T8qOCwkCPGXcmO3fKA8= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-145-DNUgp5K2Ob6fwxKtE8RNbw-1; Tue, 09 Nov 2021 10:57:46 -0500 X-MC-Unique: DNUgp5K2Ob6fwxKtE8RNbw-1 Received: by mail-lj1-f200.google.com with SMTP id o15-20020a2e90cf000000b00218dfebebdeso242620ljg.13 for ; Tue, 09 Nov 2021 07:57:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YS0X3MLFNOmHIL6xAm2dM6lprFx/taGrmxiDoB9+nwA=; b=ZYkqnAz7Oj8ZHrdvcmTCq50rnBgtxYRac46o4pi8Bml9RI7+tW5anVYufRTGOA2cx5 hElkddejUPzNJOyzquPFaRnebO1ESrPhdEAlrOX/iZ+YvWz/OepkWJ7PdcVHF4V21pM4 whJJG/I1QrF8CREgcGnzKCEcgOD2aVn9/ZusAfQKIR0ChMkgsZevh7pvnBpFzl+OVSpQ WuRFZ89Urf8tQ+DiSigUauNtHVvDpW/ifKi09D7o5v+IS9KwgJKrNlJ4m9eYs0SXnn1x pdqlkIfK2XrgY+L5woELjv+tPXKbG5TUcHrL+wlmjpuN7e6vFHYsIrxFiYCkAb2NQeJH fG5Q== X-Gm-Message-State: AOAM532ySO8ze7l8Pu2aye629jneB/l4k7uoL1voLzk4ImSmiz91HWip 7ajbB1KMOPZcwhTwh5IQh8d3dqaTSSJOlK+vIOcnQk2Fx54ANcPj2/Wr5HukrOlVWlhx0iOWM59 QRBCx+2G0SvhZ32gJza4= X-Received: by 2002:a2e:83c6:: with SMTP id s6mr9027573ljh.477.1636473464925; Tue, 09 Nov 2021 07:57:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4ALNDTsDdE/33j8wqtsHVsS1N1wTrFSVkzzA2OizlaWVwO5lrpnGsQC9LfMl0xrYuUBmMLbXgEorAggwbqdM= X-Received: by 2002:a2e:83c6:: with SMTP id s6mr9027548ljh.477.1636473464733; Tue, 09 Nov 2021 07:57:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Tue, 9 Nov 2021 16:57:33 +0100 Message-ID: To: Vladimir Medvedkin Cc: dev , Lance Richardson , Thomas Monjalon , "Ananyev, Konstantin" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [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" On Tue, Nov 9, 2021 at 4:53 PM Lance Richardson wrote: > > 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). Thanks for reporting Lance. It rings a bell, think it was mentionned in the past. > > 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 N= O > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOS= E. > > 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_= set1_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 > Vladimir, can you reimplement this part without relying on _mm512_set_epi8? Thanks. --=20 David Marchand