[dpdk-stable] [dpdk-dev] [PATCH] buildtools: Check GCC version to avoid GCC 6.3.0 avx512 bug

Liang Ma liangma at liangbit.com
Sun Jul 18 00:13:04 CEST 2021


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 at liangbit.com> wrote:
> 
> > From: Liang Ma <liangma at 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 at dpdk.org
> > 
> > Reported-by: Liang Ma <liangma at liangbit.com>
> > Signed-off-by: Liang Ma <liangma at bytedance.com>
> 
> What distro still has GCC 6.3.0?
For example  Debian 9.x


More information about the stable mailing list