Debug building failed due to librte_acl avx512 code
https://bugs.dpdk.org/show_bug.cgi?id=717
Bug ID: 717
Summary: Debug building failed due to librte_acl avx512 code
Product: DPDK
Version: 20.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: meson
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
Platform X86_64 Compiler Gcc 6.30 Distro. Debian 9
run command like
meson setup build --buildtype=debug
then kick off ninja build.
following is the failure log:
[171/2456] 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
cc -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 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -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 /usr/lib/gcc/x86_64-linux-gnu/6/include/immintrin.h:45:0,
from /usr/lib/gcc/x86_64-linux-gnu/6/include/x86intrin.h:48,
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:../lib/librte_acl/acl_run_avx512_common.h: In function ‘resolve_match_idx_avx512x16’:../lib/librte_acl/acl_run_avx512x16.h:33:18: error: the last argument must be an 8-bit immediate
#define _M_I_(x) _mm512_##x
^
../lib/librte_acl/acl_run_avx512_common.h:373:9: note: in expansion of macro
‘_M_I_’
return _M_I_(slli_epi32)(mi, match_log);
^~~~~[180/2456] Generating ethdev.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.