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 31EEAA0547; Wed, 19 May 2021 14:42:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A679740041; Wed, 19 May 2021 14:42:49 +0200 (CEST) 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 B67684003F for ; Wed, 19 May 2021 14:42:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621428167; 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=KVFTYJKQPdzAzpzo9NPGY+jtse01W2asHNNEa5z2lUo=; b=dlAUMoVB/cehdT9LwDONBf54S0DwgTIJmw8MAJ8A2oGD05Kp/gdKsGDsR5EDBIvM9sNdyd JOXbamgjETasgSHPyhlX56Cq7GvLv8UYi7jnMl01PgqLkzfQBm4Z0pDdb+7ichIv7WNPcw 7ByplJOLCJOmI7gBbSyBa+v+755c5rw= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-354-_2bBjsNFNt2YaAmzvUcjLw-1; Wed, 19 May 2021 08:42:43 -0400 X-MC-Unique: _2bBjsNFNt2YaAmzvUcjLw-1 Received: by mail-vk1-f198.google.com with SMTP id a28-20020a056122013cb02901eb816f5778so1587873vko.10 for ; Wed, 19 May 2021 05:42:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=KVFTYJKQPdzAzpzo9NPGY+jtse01W2asHNNEa5z2lUo=; b=qef/niniAi7E9Ye9Pe7u56Jb/QmG0pP7+3NzORXuxZl6ON8hXutqqgsPUpCmn47QaV lnBRFxSrPhx/f2v12lAFKeU19n7L/LLGxHKqyodlxfXwQuuGtA+EEuQO69ihufgA/kDw GMnHBPa4Upn/gwowXIQZ12jZ3YRyfjgWVeydf2P/AzWoDw7e3XK+H6JsdQxuCtvMIPy8 JsGMHvvGt1CJRIe6SARPt8fwqYo0i4296o2NIlLyg8sDh7WUp1XBkj5w3vEvm9bFWHom 78PiDvmJqZR3v6O/lG6/YrejK3qepwTNeY8TSLWL79hlIV/Kr/mNAHAi8VPtRTiAyuuv HVRQ== X-Gm-Message-State: AOAM531qQned1R/nitTU5SfirRBNwyLSnurKZGK6m1VyVQphdCXIxcbC u0ZgDRdZPwYlABNUjKSRq/2+E5hfqlNQC0Dwe3z5guVR7UofL2r1PsHJWTJr/U89ehGJRDBpGxJ T57iAy+ak7Pcf50hoWFc= X-Received: by 2002:a67:7cc4:: with SMTP id x187mr12113240vsc.17.1621428163294; Wed, 19 May 2021 05:42:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3/70Az28b+rWpAJOk1tJ/y+YGx9cRNJq9JhOLvbJEpfIpxURKrfDH81n3ujOfeWzVcVl+dmOTQTYp93S7KqA= X-Received: by 2002:a67:7cc4:: with SMTP id x187mr12113223vsc.17.1621428163115; Wed, 19 May 2021 05:42:43 -0700 (PDT) MIME-Version: 1.0 References: <1621424821-53240-1-git-send-email-fengchengwen@huawei.com> <1621425281-2413-1-git-send-email-fengchengwen@huawei.com> <46abc8a3-1e1f-55c4-ca22-d61c7489ef84@intel.com> In-Reply-To: <46abc8a3-1e1f-55c4-ca22-d61c7489ef84@intel.com> From: David Marchand Date: Wed, 19 May 2021 14:42:31 +0200 Message-ID: To: Ferruh Yigit Cc: Chengwen Feng , Thomas Monjalon , dev , Honnappa Nagarahalli , Jerin Jacob Kollanukkaran , Jerin Jacob , "Ruifeng Wang (Arm Technology China)" , Jan Viktorin , Bruce Richardson , =?UTF-8?Q?Juraj_Linke=C5=A1?= , nd 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] [PATCH v2] net/hns3: fix compile error with gcc8.3 and thunderx2 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 Wed, May 19, 2021 at 2:30 PM Ferruh Yigit wrote= : > > On 5/19/2021 12:54 PM, Chengwen Feng wrote: > > Compile error with gcc8.3 and crossfile arm64_thunderx2_linux_gcc: > > ../drivers/net/hns3/hns3_rxtx_vec_sve.c > > cc1: error: switch =E2=80=98-mcpu=3Darmv8.1-a=E2=80=99 conflicts = with > > =E2=80=98-march=3Darmv8.2-a=E2=80=99 switch [-Werror] > > ../drivers/net/hns3/hns3_rxtx_vec_sve.c:5:10: fatal error: > > arm_sve.h: No such file or directory > > 5 | #include > > > > The root cause is that gcc8.3 supports SVE, but it doesn't support > > compile ACLE[1] SVE code, and the hns3_rxtx_vec_sve.c was written > > by ACLE SVE code. > > > > This patch also filters out '-march=3D' '-mcpu' '-mtune' when compile > > with hns3_rxtx_vec_sve.c. > > > > [1] ACLE: Arm C Language Extensions, user should include > > when writing ACLE SVE code. > > > > Fixes: 203fbaf8813d ("net/hns3: refactor SVE code compile method") > > > > Signed-off-by: Chengwen Feng > > Hi Chengwen, > > We need CI result to proceed with the patch, since I don't have arm platf= rom to > test this properly. > > But in the CI applying patch fails, I guess that is because the original = patch > has been dropped in the next-net. > > Can you please send a new version of the patch rebased on top of latest n= ext-net? We are almost done for 21.05. Is this issue a blocker? --=20 David Marchand