Thanks Konstantin. > -----Original Message----- > From: Konstantin Ananyev <konstantin.anan...@intel.com> > Sent: Thursday, October 15, 2020 2:54 PM > To: dev@dpdk.org > Cc: alia...@mellanox.com; david.march...@redhat.com; Konstantin > Ananyev <konstantin.anan...@intel.com> > Subject: [PATCH] acl: fix build failure with gcc 5.4.0 > > gcc 5.4 fails with: > ../lib/librte_acl/acl_run_avx512x8.h: In function 'match_process_avx512x8': > ../lib/librte_acl/acl_run_avx512x8.h:382:31: error: > pointer targets in passing argument 1 of '_mm256_mask_i32scatter_epi32' > differ in signedness [-Werror=pointer-sign] > > Later gcc versions work fine, as for them parameter type was changed to > 'void *'. > Fixed by applying explicit cast for offending argument. > > Fixes: b64c2295f7fc ("acl: add 256-bit AVX512 classify method") > Fixes: 45da22e42ec3 ("acl: add 512-bit AVX512 classify method") > > Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com> > ---
Tested-by: Ali Alnubani <alia...@nvidia.com> - Ali