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 15FCFA0C47; Sun, 18 Jul 2021 11:33:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACCC14069D; Sun, 18 Jul 2021 11:33:23 +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 0754740683; Sun, 18 Jul 2021 11:33:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; t=1626600798; cv=none; d=zohomail.eu; s=zohoarc; b=LpkIQiNG5/wiRoHX7YCw74/HPMznEAXbyhVwkB/IYGdylnX0B1eZU3LjwWzD1f1sKiRL0ADGblnvkZG4VSm6GdWMhbB4Ck5qK0R6mJ5E6YFpTPvRODLNUBIt2mnLuN+B0ZZyQp3zrl10PLFkG1tlyLUf7Nc4yqMJ0VZ/FjcjRck= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1626600798; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=b+gEN4f5yt0IjUnl9lHpAtLTwXtJLCXZ+A+ZPrcHjRc=; b=GYKLZTT8SsKLZ6xvMadJ/5vKbRwl47uhawEk6skhVoEmheY8TDO2tPdSL4t6QQjh5hZ8TT4djpm79rtFwjnmduTR2DOrYJEK7RPzWE5g68CJ42unoaNTEYLVZLwRWvbD0zvCPf5UXRkn59JtL/xFKGk/quJy+neT7WP3RltcaUo= ARC-Authentication-Results: i=1; mx.zohomail.eu; spf=pass smtp.mailfrom=liangma@liangbit.com; dmarc=pass header.from= Received: from C02F33EJML85 (51.37.251.98 [51.37.251.98]) by mx.zoho.eu with SMTPS id 1626600797396913.5729493655947; Sun, 18 Jul 2021 11:33:17 +0200 (CEST) Date: Sun, 18 Jul 2021 10:33:15 +0100 From: Liang Ma To: Stephen Hemminger Cc: dev@dpdk.org, leyi.rong@intel.com, Liang Ma , stable@dpdk.org, Bruce Richardson , Konstantin Ananyev Message-ID: References: <20210717170830.1736-1-liangma@liangbit.com> <20210717104849.2ec6526e@hermes.local> <20210717221304.GA45@DESKTOP-POQV63C.localdomain> <20210717180804.301f7876@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210717180804.301f7876@hermes.local> X-ZohoMailClient: External Subject: Re: [dpdk-dev] [PATCH] buildtools: Check GCC version to avoid GCC 6.3.0 avx512 bug 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 Sat, Jul 17, 2021 at 06:08:04PM -0700, Stephen Hemminger wrote: > On Sat, 17 Jul 2021 23:13:04 +0100 > Liang Ma wrote: > > > On Sat, Jul 17, 2021 at 10:48:49AM -0700, Stephen Hemminger wrote: > > > On Sat, 17 Jul 2021 18:08:30 +0100 > > > Liang Ma wrote: > > > > > > > From: Liang Ma > > > > > > > > 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 > > > > Signed-off-by: Liang Ma > > > > > > What distro still has GCC 6.3.0? > > For example Debian 9.x > > Ok, thanks. Is there a bug fix in Debian LTS yet? I look into https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82887, and find gcc community has no plan to backport fix. Hence, I don't think Debian LTS will have any fix for this. That's why I send out this patch.