From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A9936A0C41
	for <public@inbox.dpdk.org>; Sun, 18 Jul 2021 00:13:13 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 9129D4116D;
	Sun, 18 Jul 2021 00:13:13 +0200 (CEST)
Received: from sender11-of-o51.zoho.eu (sender11-of-o51.zoho.eu
 [31.186.226.237])
 by mails.dpdk.org (Postfix) with ESMTP id 1E7054003C;
 Sun, 18 Jul 2021 00:13:11 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; t=1626559987; cv=none; d=zohomail.eu; s=zohoarc; 
 b=cOT/WYXV44HgQZCGQDhwGUxYH1rq7M0uZ3+jsNA5s2h6HdXWcXBFydjuONn7UCILpH+olkP32bs2qTNc964RdB51bolldDM4QJlmZNURjQv0Ws7xlnAHzdswagleo4KWJP4OV49uJuY2dg6oqWoHLmTDxPSRjalgLAJyUXY0l1E=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu;
 s=zohoarc; t=1626559987;
 h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
 bh=6njkgQyRKMjlIslLNU+lDMmkvg+YGur1G82ne3HHt6E=; 
 b=aHo+Zy3a7/bZaGfPwIINMC84E/kmKnYMOTGB2ae5jBYGXuopQUc53E8D2jU2inShW2+aJFTITAlm6Ko0VxN2L/jnzLyu3ibpdZJUyPZ7/iQyVXi1hmOuIBTKZdmHkvNDfBiMmGrSNPiXT+h4Bp6yITAVJ6EwqGMmxR/XGOUZyhE=
ARC-Authentication-Results: i=1; mx.zohomail.eu;
 spf=pass  smtp.mailfrom=liangma@liangbit.com;
 dmarc=pass header.from=<liangma@liangbit.com>
Received: from DESKTOP-POQV63C.localdomain (51.37.214.90 [51.37.214.90]) by
 mx.zoho.eu with SMTPS id 1626559987095364.04704447036306;
 Sun, 18 Jul 2021 00:13:07 +0200 (CEST)
Date: Sat, 17 Jul 2021 23:13:04 +0100
From: Liang Ma <liangma@liangbit.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org, yi.rong@intel.com, Liang Ma <liangma@bytedance.com>,
 stable@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>,
 Konstantin Ananyev <konstantin.ananyev@intel.com>
Message-ID: <20210717221304.GA45@DESKTOP-POQV63C.localdomain>
References: <20210717170830.1736-1-liangma@liangbit.com>
 <20210717104849.2ec6526e@hermes.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20210717104849.2ec6526e@hermes.local>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-ZohoMailClient: External
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] buildtools: Check GCC version
 to avoid GCC 6.3.0 avx512 bug
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

On Sat, Jul 17, 2021 at 10:48:49AM -0700, Stephen Hemminger wrote:
> On Sat, 17 Jul 2021 18:08:30 +0100
> Liang Ma <liangma@liangbit.com> wrote:
> 
> > From: Liang Ma <liangma@bytedance.com>
> > 
> > GCC 6.3.0 has a known bug which related to _mm512_extracti64x4_epi64.
> > Please reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82887
> > 
> > Some DPDK PMD avx512 version heavily use _mm512_extracti64x4_epi6,
> > which casue building failure with debug buildtype.
> > 
> > Therefore, it's helpful to disable avx512 for GCC 6.3.0
> > 
> > Bugzilla ID: 717
> > Fixes: e6a6a138919f (net/i40e: add AVX512 vector path)
> > Fixes: 808a17b3c1e6 (net/ice: add Rx AVX512 offload path)
> > Fixes: 4b64ccb328c9 (net/iavf: fix VLAN extraction in AVX512 path)
> > Cc: stable@dpdk.org
> > 
> > Reported-by: Liang Ma <liangma@liangbit.com>
> > Signed-off-by: Liang Ma <liangma@bytedance.com>
> 
> What distro still has GCC 6.3.0?
For example  Debian 9.x