* [dpdk-dev] [Bug 556] build failure in lib/librte_acl
@ 2020-10-15 8:28 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-10-15 8:28 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=556
Bug ID: 556
Summary: build failure in lib/librte_acl
Product: DPDK
Version: 20.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: alialnu@mellanox.com
Target Milestone: ---
A build failure occurs on Ubuntu 16.04.7 LTS with gcc 5.4.0.
"""
$ meson --werror --buildtype=debugoptimized build && ninja -C build
...
...
[179/2308] Compiling C object
lib/librte_compressdev.a.p/librte_compressdev_rte_compressdev_pmd.c.o
[180/2308] Compiling C object lib/librte_acl.a.p/librte_acl_acl_run_sse.c.o
[181/2308] Compiling C object
lib/librte_pipeline.a.p/librte_pipeline_rte_swx_ctl.c.o
[182/2308] Compiling C object
lib/librte_pipeline.a.p/librte_pipeline_rte_swx_pipeline_spec.c.o
[183/2308] Generating rte_distributor_mingw with a custom command
[184/2308] Generating pci.sym_chk with a meson_exe.py custom command
[185/2308] Compiling C object
lib/librte_compressdev.a.p/librte_compressdev_rte_comp.c.o
[186/2308] Compiling C object
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o
FAILED: lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o
gcc -Ilib/librte_acl/libavx512_tmp.a.p -Ilib/librte_acl -I../lib/librte_acl -I.
-I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include
-Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include
-Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include
-Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs
-Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry
-I../lib/librte_telemetry -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h
-Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC
-march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_AVX2_SUPPORT
-mavx512f -mavx512vl -mavx512cd -mavx512bw -MD -MQ
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o -MF
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o.d -o
lib/librte_acl/libavx512_tmp.a.p/acl_run_avx512.c.o -c
../lib/librte_acl/acl_run_avx512.c
In file included from ../lib/librte_acl/acl_run_avx512.c:108:0:
../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]
_mm256_mask_i32scatter_epi32(flow->matches, rmsk[0],
^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:53:0,
from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
from ../lib/librte_eal/x86/include/rte_vect.h:31,
from ../lib/librte_acl/rte_acl_osdep.h:33,
from ../lib/librte_acl/rte_acl.h:14,
from ../lib/librte_acl/acl_run.h:8,
from ../lib/librte_acl/acl_run_sse.h:5,
from ../lib/librte_acl/acl_run_avx512.c:5:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h:10591:1: note:
expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}'
_mm256_mask_i32scatter_epi32 (int *__addr, __mmask8 __mask,
^
cc1: all warnings being treated as errors
...
...
"""
The build error was introduced by "b64c229 acl: add 256-bit AVX512 classify
method".
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-15 8:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 8:28 [dpdk-dev] [Bug 556] build failure in lib/librte_acl bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).