Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/136689 _Compilation issues_ Submitter: Tyler Retzlaff Date: 2024-02-14 01:26:26 Reply_mail: <1707873986-29352-15-git-send-email-roretzla@linux.microsoft.com> DPDK git baseline: Repo:dpdk, CommitID: 31d72ff4dc7c057366153e9918ac92bf9123a3bc Meson Build Summary: 24 Builds Done, 0 Successful, 24 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | fail | | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL92-64 | fail | fail | | fail | fail | | | | SUSE15-64 | fail | fail | | | | | | | CBL-Mariner2.0-64 | fail | | | | | | | | UB2204-32 | fail | | | | | | | | RHEL89-64 | fail | | | | | | | | UB2204-64 | fail | fail | | | | fail | fail | | CentOS79-64 | fail | | | | | | | | RHEL92-64Rt | fail | | | | | | | | UB2310-64 | fail | | | | | | | | FC39-64 | fail | fail | | | | | | | UB2204-64Rt | fail | | | | | | | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: OpenAnolis8.8-64 Kernel Version: 5.10.134-13.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3) Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068) x86_64-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.2-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL92-64 Kernel Version: 5.14.0-284.11.1.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.14.21-150500.53-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 15.0.7 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: CBL-Mariner2.0-64 Kernel Version: 5.15.55.1_2e9a4f9+ GCC Version: gcc (GCC) 11.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL89-64 Kernel Version: 4.18.0-513.5.1.el8_9.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20) Clang Version: 16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba) x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.81.1.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: RHEL92-64Rt Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2310-64 Kernel Version: 6.5.0-9-generic GCC Version: gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC39-64 Kernel Version: 6.5.6-300.fc39.x86_64 GCC Version: gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3) Clang Version: 17.0.6 (Fedora 17.0.6-1.fc39) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: OpenAnolis8.8-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint8_t shf_table[32] = { ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask[4] = { ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask2[4] = { ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:16: error: expected declaration specifiers or ‘...’ before numeric constant const alignas(16) uint32_t mask3[4] = { ^~ ../lib/net/net_crc_avx512.c:105:5: error: ‘shf_table’ undeclared (first use in this function) (shf_table + (data_len-n))); ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:5: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:37: error: ‘mask3’ undeclared (first use in this function) _mm_load_si128((const __m128i *) mask3)); ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:52: error: ‘mask2’ undeclared (first use in this function) data64 = _mm_and_si128(data64, *(const __m128i *)mask2); ^~~~~ ../lib/net/net_crc_avx512.c:150:66: error: ‘mask’ undeclared (first use in this function); did you mean ‘asm’? data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, ^~~~ asm ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:8: error: ‘shf_table’ undeclared (first use in this function) &shf_table[data_len]); ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:2: error: ‘crc32_eth’ undeclared (first use in this function) crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:2: error: ‘crc16_ccitt’ undeclared (first use in this function) crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:4: error: ‘crc16_ccitt’ undeclared (first use in this function) &crc16_ccitt); ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:4: error: ‘crc32_eth’ undeclared (first use in this function) &crc32_eth); ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] } ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors [96/2839] Linking static target lib/librte_mempool.a [97/2839] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [98/2839] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [99/2839] Linking static target lib/librte_eal.a [100/2839] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [101/2839] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [102/2839] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [103/2839] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [104/2839] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I/usr/local/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or '...' before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or '...' before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or '...' before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or '...' before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or '...' before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function 'last_two_xmm': ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or '...' before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: 'shf_table' undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: 'mask3' undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function 'barrett_reduction': ../lib/net/net_crc_avx512.c:145:59: error: 'mask2' undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: 'mask' undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function 'crc32_eth_calc_vpclmulqdq': ../lib/net/net_crc_avx512.c:269:50: error: 'shf_table' undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'crc32_load_init_constants': ../lib/net/net_crc_avx512.c:324:9: error: 'crc32_eth' undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'crc16_load_init_constants': ../lib/net/net_crc_avx512.c:371:9: error: 'crc16_ccitt' undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc16_ccitt_avx512_handler': ../lib/net/net_crc_avx512.c:409:18: error: 'crc16_ccitt' undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc32_eth_avx512_handler': ../lib/net/net_crc_avx512.c:419:18: error: 'crc32_eth' undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc16_ccitt_avx512_handler': ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function 'rte_crc32_eth_avx512_handler': ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [94/1965] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [95/1965] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [96/1965] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [97/1965] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [98/1965] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [99/1965] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [100/1965] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [101/1965] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [102/1965] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o clang -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:16: error: expected ')' ../lib/net/net_crc_avx512.c:23:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:8: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ~~~~~~ ^ ../lib/net/net_crc_avx512.c:23:15: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ void ../lib/net/net_crc_avx512.c:23:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ; ../lib/net/net_crc_avx512.c:24:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:16: error: expected ')' ../lib/net/net_crc_avx512.c:24:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:8: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ~~~~~~ ^ ../lib/net/net_crc_avx512.c:24:15: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ void ../lib/net/net_crc_avx512.c:24:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ; ../lib/net/net_crc_avx512.c:33:22: error: expected parameter declarator static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:22: error: expected ')' ../lib/net/net_crc_avx512.c:33:21: note: to match this '(' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:14: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static const alignas(16) uint8_t shf_table[32] = { ~~~~~~~~~~~~ ^ ../lib/net/net_crc_avx512.c:33:8: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] static const alignas(16) uint8_t shf_table[32] = { ^~~~~~ ../lib/net/net_crc_avx512.c:33:21: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static const alignas(16) uint8_t shf_table[32] = { ^ void ../lib/net/net_crc_avx512.c:33:14: error: conflicting types for 'alignas' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:24:8: note: previous declaration is here static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:33:25: error: expected ';' after top level declarator static const alignas(16) uint8_t shf_table[32] = { ^ ; ../lib/net/net_crc_avx512.c:40:22: error: expected parameter declarator static const alignas(16) uint32_t mask[4] = { ^ ../lib/net/net_crc_avx512.c:40:22: error: expected ')' ../lib/net/net_crc_avx512.c:40:21: note: to match this '(' static const alignas(16) uint32_t mask[4] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [97/1917] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [98/1917] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [99/1917] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [100/1917] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [101/1917] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [102/1917] Compiling C object lib/librte_net.a.p/net_net_crc_sse.c.o FAILED: lib/librte_net.a.p/net_net_crc_sse.c.o clang -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=lib.net -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_net.a.p/net_net_crc_sse.c.o -MF lib/librte_net.a.p/net_net_crc_sse.c.o.d -o lib/librte_net.a.p/net_net_crc_sse.c.o -c ../lib/net/net_crc_sse.c ../lib/net/net_crc_sse.c:21:16: error: expected parameter declarator static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ^ ../lib/net/net_crc_sse.c:21:16: error: expected ')' ../lib/net/net_crc_sse.c:21:15: note: to match this '(' static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ^ ../lib/net/net_crc_sse.c:21:8: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ~~~~~~ ^ ../lib/net/net_crc_sse.c:21:15: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ^ void ../lib/net/net_crc_sse.c:21:19: error: expected ';' after top level declarator static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ^ ; ../lib/net/net_crc_sse.c:22:16: error: expected parameter declarator static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^ ../lib/net/net_crc_sse.c:22:16: error: expected ')' ../lib/net/net_crc_sse.c:22:15: note: to match this '(' static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^ ../lib/net/net_crc_sse.c:22:8: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ~~~~~~ ^ ../lib/net/net_crc_sse.c:22:15: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^ void ../lib/net/net_crc_sse.c:22:19: error: expected ';' after top level declarator static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^ ; ../lib/net/net_crc_sse.c:99:23: error: expected parameter declarator static const alignas(16) uint32_t mask1[4] = { ^ ../lib/net/net_crc_sse.c:99:23: error: expected ')' ../lib/net/net_crc_sse.c:99:22: note: to match this '(' static const alignas(16) uint32_t mask1[4] = { ^ ../lib/net/net_crc_sse.c:99:15: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static const alignas(16) uint32_t mask1[4] = { ~~~~~~~~~~~~ ^ ../lib/net/net_crc_sse.c:99:9: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] static const alignas(16) uint32_t mask1[4] = { ^~~~~~ ../lib/net/net_crc_sse.c:99:22: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static const alignas(16) uint32_t mask1[4] = { ^ void ../lib/net/net_crc_sse.c:99:2: error: function declared in block scope cannot have 'static' storage class static const alignas(16) uint32_t mask1[4] = { ^ ../lib/net/net_crc_sse.c:99:15: error: conflicting types for 'alignas' static const alignas(16) uint32_t mask1[4] = { ^ ../lib/net/net_crc_sse.c:22:8: note: previous declaration is here static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^ ../lib/net/net_crc_sse.c:99:26: error: expected ';' at end of declaration static const alignas(16) uint32_t mask1[4] = { ^ ; ../lib/net/net_crc_sse.c:103:23: error: expected parameter declarator static const alignas(16) uint32_t mask2[4] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [103/1917] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [104/1917] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output) [105/1917] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or '...' before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or '...' before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or '...' before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or '...' before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or '...' before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function 'last_two_xmm': ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or '...' before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: 'shf_table' undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: 'mask3' undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function 'barrett_reduction': ../lib/net/net_crc_avx512.c:145:59: error: 'mask2' undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: 'mask' undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function 'crc32_eth_calc_vpclmulqdq': ../lib/net/net_crc_avx512.c:269:50: error: 'shf_table' undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'crc32_load_init_constants': ../lib/net/net_crc_avx512.c:324:9: error: 'crc32_eth' undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'crc16_load_init_constants': ../lib/net/net_crc_avx512.c:371:9: error: 'crc16_ccitt' undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc16_ccitt_avx512_handler': ../lib/net/net_crc_avx512.c:409:18: error: 'crc16_ccitt' undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc32_eth_avx512_handler': ../lib/net/net_crc_avx512.c:419:18: error: 'crc32_eth' undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc16_ccitt_avx512_handler': ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function 'rte_crc32_eth_avx512_handler': ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [92/1813] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [93/1813] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [94/1813] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [95/1813] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o [96/1813] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [97/1813] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.c.o [98/1813] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [99/1813] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [100/1813] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #5: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or '...' before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or '...' before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or '...' before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or '...' before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or '...' before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function 'last_two_xmm': ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or '...' before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: 'shf_table' undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: 'mask3' undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function 'barrett_reduction': ../lib/net/net_crc_avx512.c:145:59: error: 'mask2' undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: 'mask' undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function 'crc32_eth_calc_vpclmulqdq': ../lib/net/net_crc_avx512.c:269:50: error: 'shf_table' undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'crc32_load_init_constants': ../lib/net/net_crc_avx512.c:324:9: error: 'crc32_eth' undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'crc16_load_init_constants': ../lib/net/net_crc_avx512.c:371:9: error: 'crc16_ccitt' undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc16_ccitt_avx512_handler': ../lib/net/net_crc_avx512.c:409:18: error: 'crc16_ccitt' undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc32_eth_avx512_handler': ../lib/net/net_crc_avx512.c:419:18: error: 'crc32_eth' undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function 'rte_crc16_ccitt_avx512_handler': ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function 'rte_crc32_eth_avx512_handler': ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [95/1917] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [96/1917] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [97/1917] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [98/1917] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [99/1917] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [100/1917] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [101/1917] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [102/1917] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [103/1917] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #6: OS: RHEL92-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [99/2843] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [100/2843] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [101/2843] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [102/2843] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [103/2843] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [104/2843] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [105/2843] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [106/2843] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [107/2843] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #7: OS: RHEL92-64 Target: x86_64-native-linuxapp-clang FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o clang -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:16: error: expected ')' ../lib/net/net_crc_avx512.c:23:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ~~~~~~ ^ int ../lib/net/net_crc_avx512.c:23:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ void ../lib/net/net_crc_avx512.c:23:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ; ../lib/net/net_crc_avx512.c:24:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:16: error: expected ')' ../lib/net/net_crc_avx512.c:24:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ~~~~~~ ^ int ../lib/net/net_crc_avx512.c:24:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ void ../lib/net/net_crc_avx512.c:24:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ; ../lib/net/net_crc_avx512.c:33:22: error: expected parameter declarator static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:22: error: expected ')' ../lib/net/net_crc_avx512.c:33:21: note: to match this '(' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:14: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static const alignas(16) uint8_t shf_table[32] = { ~~~~~~~~~~~~ ^ int ../lib/net/net_crc_avx512.c:33:8: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] static const alignas(16) uint8_t shf_table[32] = { ^~~~~~ ../lib/net/net_crc_avx512.c:33:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] static const alignas(16) uint8_t shf_table[32] = { ^ void ../lib/net/net_crc_avx512.c:33:14: error: conflicting types for 'alignas' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:24:8: note: previous declaration is here static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:33:25: error: expected ';' after top level declarator static const alignas(16) uint8_t shf_table[32] = { ^ ; ../lib/net/net_crc_avx512.c:40:22: error: expected parameter declarator static const alignas(16) uint32_t mask[4] = { ^ ../lib/net/net_crc_avx512.c:40:22: error: expected ')' ../lib/net/net_crc_avx512.c:40:21: note: to match this '(' static const alignas(16) uint32_t mask[4] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [99/2804] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [100/2804] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [101/2804] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [102/2804] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [103/2804] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [104/2804] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [105/2804] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [106/2804] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [107/2804] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #8: OS: RHEL92-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [99/2693] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [100/2693] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [101/2693] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [102/2693] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [103/2693] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [104/2693] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [105/2693] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [106/2693] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [107/2693] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #9: OS: RHEL92-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [96/2889] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [97/2889] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [98/2889] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [99/2889] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [100/2889] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [101/2889] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [102/2889] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [103/2889] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [104/2889] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #10: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o clang -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:16: error: expected ')' ../lib/net/net_crc_avx512.c:23:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ~~~~~~ ^ int ../lib/net/net_crc_avx512.c:23:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ void ../lib/net/net_crc_avx512.c:23:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ; ../lib/net/net_crc_avx512.c:24:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:16: error: expected ')' ../lib/net/net_crc_avx512.c:24:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ~~~~~~ ^ int ../lib/net/net_crc_avx512.c:24:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ void ../lib/net/net_crc_avx512.c:24:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ; ../lib/net/net_crc_avx512.c:33:22: error: expected parameter declarator static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:22: error: expected ')' ../lib/net/net_crc_avx512.c:33:21: note: to match this '(' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:14: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static const alignas(16) uint8_t shf_table[32] = { ~~~~~~~~~~~~ ^ int ../lib/net/net_crc_avx512.c:33:8: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] static const alignas(16) uint8_t shf_table[32] = { ^~~~~~ ../lib/net/net_crc_avx512.c:33:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] static const alignas(16) uint8_t shf_table[32] = { ^ void ../lib/net/net_crc_avx512.c:33:14: error: conflicting types for 'alignas' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:24:8: note: previous declaration is here static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:33:25: error: expected ';' after top level declarator static const alignas(16) uint8_t shf_table[32] = { ^ ; ../lib/net/net_crc_avx512.c:40:22: error: expected parameter declarator static const alignas(16) uint32_t mask[4] = { ^ ../lib/net/net_crc_avx512.c:40:22: error: expected ')' ../lib/net/net_crc_avx512.c:40:21: note: to match this '(' static const alignas(16) uint32_t mask[4] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [96/2862] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [97/2862] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [98/2862] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [99/2862] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [100/2862] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [101/2862] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [102/2862] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [103/2862] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [104/2862] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #11: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_net.a.p/net_net_crc_sse.c.o gcc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=lib.net -MD -MQ lib/librte_net.a.p/net_net_crc_sse.c.o -MF lib/librte_net.a.p/net_net_crc_sse.c.o.d -o lib/librte_net.a.p/net_net_crc_sse.c.o -c ../lib/net/net_crc_sse.c ../lib/net/net_crc_sse.c:21:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ^~ ../lib/net/net_crc_sse.c:22:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^~ ../lib/net/net_crc_sse.c: In function ‘crcr32_reduce_64_to_32’: ../lib/net/net_crc_sse.c:99:23: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask1[4] = { ^~ ../lib/net/net_crc_sse.c:103:23: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask2[4] = { ^~ ../lib/net/net_crc_sse.c:108:63: error: ‘mask2’ undeclared (first use in this function) tmp0 = _mm_and_si128(data64, _mm_load_si128((const __m128i *)mask2)); ^~~~~ ../lib/net/net_crc_sse.c:108:63: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_sse.c:112:61: error: ‘mask1’ undeclared (first use in this function); did you mean ‘mask2’? tmp1 = _mm_and_si128(tmp1, _mm_load_si128((const __m128i *)mask1)); ^~~~~ mask2 ../lib/net/net_crc_sse.c: At top level: ../lib/net/net_crc_sse.c:121:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint8_t crc_xmm_shift_tab[48] = { ^~ ../lib/net/net_crc_sse.c: In function ‘xmm_shift_left’: ../lib/net/net_crc_sse.c:145:39: error: ‘crc_xmm_shift_tab’ undeclared (first use in this function); did you mean ‘xmm_shift_left’? const __m128i *p = (const __m128i *)(crc_xmm_shift_tab + 16 - num); ^~~~~~~~~~~~~~~~~ xmm_shift_left ../lib/net/net_crc_sse.c: In function ‘crc32_eth_calc_pclmulqdq’: ../lib/net/net_crc_sse.c:178:4: error: implicit declaration of function ‘alignas’ [-Werror=implicit-function-declaration] alignas(16) uint8_t buffer[16]; ^~~~~~~ ../lib/net/net_crc_sse.c:178:4: error: nested extern declaration of ‘alignas’ [-Werror=nested-externs] ../lib/net/net_crc_sse.c:178:16: error: expected ‘;’ before ‘uint8_t’ alignas(16) uint8_t buffer[16]; ^~~~~~~ ../lib/net/net_crc_sse.c:180:11: error: ‘buffer’ undeclared (first use in this function) memset(buffer, 0, sizeof(buffer)); ^~~~~~ ../lib/net/net_crc_sse.c:215:17: error: expected declaration specifiers or ‘...’ before numeric constant const alignas(16) uint32_t mask3[4] = { ^~ ../lib/net/net_crc_sse.c:219:17: error: expected declaration specifiers or ‘...’ before numeric constant const alignas(16) uint8_t shf_table[32] = { ^~ ../lib/net/net_crc_sse.c:231:5: error: ‘shf_table’ undeclared (first use in this function) &shf_table[data_len & 15]); ^~~~~~~~~ ../lib/net/net_crc_sse.c:235:36: error: ‘mask3’ undeclared (first use in this function) _mm_load_si128((const __m128i *)mask3)); ^~~~~ ../lib/net/net_crc_sse.c: In function ‘rte_net_crc_sse42_init’: ../lib/net/net_crc_sse.c:274:2: error: ‘crc16_ccitt_pclmulqdq’ undeclared (first use in this function); did you mean ‘crc32_eth_calc_pclmulqdq’? crc16_ccitt_pclmulqdq.rk1_rk2 = ^~~~~~~~~~~~~~~~~~~~~ crc32_eth_calc_pclmulqdq ../lib/net/net_crc_sse.c:290:2: error: ‘crc32_eth_pclmulqdq’ undeclared (first use in this function); did you mean ‘crc32_eth_calc_pclmulqdq’? crc32_eth_pclmulqdq.rk1_rk2 = ^~~~~~~~~~~~~~~~~~~ crc32_eth_calc_pclmulqdq ../lib/net/net_crc_sse.c: In function ‘rte_crc16_ccitt_sse42_handler’: ../lib/net/net_crc_sse.c:311:4: error: ‘crc16_ccitt_pclmulqdq’ undeclared (first use in this function); did you mean ‘crc32_eth_calc_pclmulqdq’? &crc16_ccitt_pclmulqdq); ^~~~~~~~~~~~~~~~~~~~~ crc32_eth_calc_pclmulqdq ../lib/net/net_crc_sse.c: In function ‘rte_crc32_eth_sse42_handler’: ../lib/net/net_crc_sse.c:320:4: error: ‘crc32_eth_pclmulqdq’ undeclared (first use in this function); did you mean ‘crc32_eth_calc_pclmulqdq’? &crc32_eth_pclmulqdq); ^~~~~~~~~~~~~~~~~~~ crc32_eth_calc_pclmulqdq ../lib/net/net_crc_sse.c: In function ‘rte_crc16_ccitt_sse42_handler’: ../lib/net/net_crc_sse.c:312:1: error: control reaches end of non-void function [-Werror=return-type] } ^ ../lib/net/net_crc_sse.c: In function ‘rte_crc32_eth_sse42_handler’: ../lib/net/net_crc_sse.c:321:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors [103/2860] Compiling C object lib/librte_meter.a.p/meter_rte_meter.c.o [104/2860] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [105/2860] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [106/2860] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o [107/2860] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o [108/2860] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o [109/2860] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [110/2860] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [111/2860] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #12: OS: CBL-Mariner2.0-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [96/2840] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [97/2840] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [98/2840] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [99/2840] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [100/2840] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [101/2840] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [102/2840] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [103/2840] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [104/2840] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #13: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: lib/librte_distributor.a.p/distributor_rte_distributor.c.o gcc -Ilib/librte_distributor.a.p -Ilib -I../lib -Ilib/distributor -I../lib/distributor -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.distributor -MD -MQ lib/librte_distributor.a.p/distributor_rte_distributor.c.o -MF lib/librte_distributor.a.p/distributor_rte_distributor.c.o.d -o lib/librte_distributor.a.p/distributor_rte_distributor.c.o -c ../lib/distributor/rte_distributor.c ../lib/distributor/rte_distributor.c: In function ‘rte_distributor_process’: ../lib/distributor/rte_distributor.c:480:17: error: implicit declaration of function ‘alignas’ [-Werror=implicit-function-declaration] 480 | alignas(128) uint16_t matches[RTE_DIST_BURST_SIZE]; | ^~~~~~~ ../lib/distributor/rte_distributor.c:480:17: error: nested extern declaration of ‘alignas’ [-Werror=nested-externs] ../lib/distributor/rte_distributor.c:480:29: error: expected ‘;’ before ‘uint16_t’ 480 | alignas(128) uint16_t matches[RTE_DIST_BURST_SIZE]; | ^~~~~~~~~ | ; ../lib/distributor/rte_distributor.c:508:50: error: ‘matches’ undeclared (first use in this function) 508 | &matches[0]); | ^~~~~~~ ../lib/distributor/rte_distributor.c:508:50: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors [202/2271] Compiling C object lib/librte_distributor.a.p/distributor_rte_distributor_match_sse.c.o [203/2271] Compiling C object lib/librte_dmadev.a.p/dmadev_rte_dmadev_trace_points.c.o [204/2271] Compiling C object lib/librte_distributor.a.p/distributor_rte_distributor_single.c.o [205/2271] Compiling C object lib/librte_dmadev.a.p/dmadev_rte_dmadev.c.o [206/2271] Generating lib/compressdev.sym_chk with a custom command (wrapped by meson to capture output) [207/2271] Compiling C object lib/librte_efd.a.p/efd_rte_efd.c.o [208/2271] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o [209/2271] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) [210/2271] Generating lib/ethdev.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #14: OS: RHEL89-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint8_t shf_table[32] = { ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask[4] = { ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask2[4] = { ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:16: error: expected declaration specifiers or ‘...’ before numeric constant const alignas(16) uint32_t mask3[4] = { ^~ ../lib/net/net_crc_avx512.c:105:5: error: ‘shf_table’ undeclared (first use in this function) (shf_table + (data_len-n))); ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:5: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:37: error: ‘mask3’ undeclared (first use in this function) _mm_load_si128((const __m128i *) mask3)); ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:52: error: ‘mask2’ undeclared (first use in this function) data64 = _mm_and_si128(data64, *(const __m128i *)mask2); ^~~~~ ../lib/net/net_crc_avx512.c:150:66: error: ‘mask’ undeclared (first use in this function); did you mean ‘asm’? data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, ^~~~ asm ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:8: error: ‘shf_table’ undeclared (first use in this function) &shf_table[data_len]); ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:2: error: ‘crc32_eth’ undeclared (first use in this function) crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:2: error: ‘crc16_ccitt’ undeclared (first use in this function) crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:4: error: ‘crc16_ccitt’ undeclared (first use in this function) &crc16_ccitt); ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:4: error: ‘crc32_eth’ undeclared (first use in this function) &crc32_eth); ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] } ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors [97/2854] Linking static target lib/librte_rcu.a [98/2854] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [99/2854] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [100/2854] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [101/2854] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [102/2854] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [103/2854] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [104/2854] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [105/2854] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #15: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [101/2894] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [102/2894] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [103/2894] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [104/2894] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [105/2894] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [106/2894] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [107/2894] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [108/2894] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [109/2894] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #16: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [100/2890] Compiling C object lib/librte_bpf.a.p/bpf_bpf_validate.c.o [101/2890] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [102/2890] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [103/2890] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [104/2890] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [105/2890] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [106/2890] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [107/2890] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [108/2890] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #17: OS: UB2204-64 Target: x86_64-native-linuxapp-clang FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o clang -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:16: error: expected ')' ../lib/net/net_crc_avx512.c:23:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ../lib/net/net_crc_avx512.c:23:8: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ~~~~~~ ^ ../lib/net/net_crc_avx512.c:23:15: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ void ../lib/net/net_crc_avx512.c:23:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; ^ ; ../lib/net/net_crc_avx512.c:24:16: error: expected parameter declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:16: error: expected ')' ../lib/net/net_crc_avx512.c:24:15: note: to match this '(' static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:24:8: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ~~~~~~ ^ ../lib/net/net_crc_avx512.c:24:15: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ void ../lib/net/net_crc_avx512.c:24:19: error: expected ';' after top level declarator static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ; ../lib/net/net_crc_avx512.c:33:22: error: expected parameter declarator static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:22: error: expected ')' ../lib/net/net_crc_avx512.c:33:21: note: to match this '(' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:33:14: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] static const alignas(16) uint8_t shf_table[32] = { ~~~~~~~~~~~~ ^ ../lib/net/net_crc_avx512.c:33:8: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] static const alignas(16) uint8_t shf_table[32] = { ^~~~~~ ../lib/net/net_crc_avx512.c:33:21: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] static const alignas(16) uint8_t shf_table[32] = { ^ void ../lib/net/net_crc_avx512.c:33:14: error: conflicting types for 'alignas' static const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_avx512.c:24:8: note: previous declaration is here static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; ^ ../lib/net/net_crc_avx512.c:33:25: error: expected ';' after top level declarator static const alignas(16) uint8_t shf_table[32] = { ^ ; ../lib/net/net_crc_avx512.c:40:22: error: expected parameter declarator static const alignas(16) uint32_t mask[4] = { ^ ../lib/net/net_crc_avx512.c:40:22: error: expected ')' ../lib/net/net_crc_avx512.c:40:21: note: to match this '(' static const alignas(16) uint32_t mask[4] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [99/2890] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [100/2890] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [101/2890] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [102/2890] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [103/2890] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [104/2890] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [105/2890] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [106/2890] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [107/2890] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #18: OS: UB2204-64 Target: x86_64-native-linuxapp-doc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [99/2860] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [100/2860] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [101/2860] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [102/2860] Compiling C object lib/librte_bpf.a.p/bpf_bpf_jit_x86.c.o [103/2860] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [104/2860] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [105/2860] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [106/2860] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [107/2860] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #19: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_net.a.p/net_net_crc_sse.c.o gcc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=lib.net -MD -MQ lib/librte_net.a.p/net_net_crc_sse.c.o -MF lib/librte_net.a.p/net_net_crc_sse.c.o.d -o lib/librte_net.a.p/net_net_crc_sse.c.o -c ../lib/net/net_crc_sse.c ../lib/net/net_crc_sse.c:21:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(16) struct crc_pclmulqdq_ctx crc32_eth_pclmulqdq; ^ ../lib/net/net_crc_sse.c:22:16: error: expected declaration specifiers or ‘...’ before numeric constant static alignas(16) struct crc_pclmulqdq_ctx crc16_ccitt_pclmulqdq; ^ ../lib/net/net_crc_sse.c: In function ‘crcr32_reduce_64_to_32’: ../lib/net/net_crc_sse.c:99:23: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask1[4] = { ^ ../lib/net/net_crc_sse.c:103:23: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint32_t mask2[4] = { ^ ../lib/net/net_crc_sse.c:108:63: error: ‘mask2’ undeclared (first use in this function) tmp0 = _mm_and_si128(data64, _mm_load_si128((const __m128i *)mask2)); ^ ../lib/net/net_crc_sse.c:108:63: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_sse.c:112:61: error: ‘mask1’ undeclared (first use in this function) tmp1 = _mm_and_si128(tmp1, _mm_load_si128((const __m128i *)mask1)); ^ ../lib/net/net_crc_sse.c: At top level: ../lib/net/net_crc_sse.c:121:22: error: expected declaration specifiers or ‘...’ before numeric constant static const alignas(16) uint8_t crc_xmm_shift_tab[48] = { ^ ../lib/net/net_crc_sse.c: In function ‘xmm_shift_left’: ../lib/net/net_crc_sse.c:145:39: error: ‘crc_xmm_shift_tab’ undeclared (first use in this function) const __m128i *p = (const __m128i *)(crc_xmm_shift_tab + 16 - num); ^ ../lib/net/net_crc_sse.c: In function ‘crc32_eth_calc_pclmulqdq’: ../lib/net/net_crc_sse.c:178:4: error: implicit declaration of function ‘alignas’ [-Werror=implicit-function-declaration] alignas(16) uint8_t buffer[16]; ^ ../lib/net/net_crc_sse.c:178:4: error: nested extern declaration of ‘alignas’ [-Werror=nested-externs] ../lib/net/net_crc_sse.c:178:16: error: expected ‘;’ before ‘uint8_t’ alignas(16) uint8_t buffer[16]; ^ ../lib/net/net_crc_sse.c:180:11: error: ‘buffer’ undeclared (first use in this function) memset(buffer, 0, sizeof(buffer)); ^ ../lib/net/net_crc_sse.c:215:17: error: expected declaration specifiers or ‘...’ before numeric constant const alignas(16) uint32_t mask3[4] = { ^ ../lib/net/net_crc_sse.c:219:17: error: expected declaration specifiers or ‘...’ before numeric constant const alignas(16) uint8_t shf_table[32] = { ^ ../lib/net/net_crc_sse.c:231:5: error: ‘shf_table’ undeclared (first use in this function) &shf_table[data_len & 15]); ^ ../lib/net/net_crc_sse.c:235:36: error: ‘mask3’ undeclared (first use in this function) _mm_load_si128((const __m128i *)mask3)); ^ ../lib/net/net_crc_sse.c: In function ‘rte_net_crc_sse42_init’: ../lib/net/net_crc_sse.c:274:2: error: ‘crc16_ccitt_pclmulqdq’ undeclared (first use in this function) crc16_ccitt_pclmulqdq.rk1_rk2 = ^ ../lib/net/net_crc_sse.c:290:2: error: ‘crc32_eth_pclmulqdq’ undeclared (first use in this function) crc32_eth_pclmulqdq.rk1_rk2 = ^ ../lib/net/net_crc_sse.c: In function ‘rte_crc16_ccitt_sse42_handler’: ../lib/net/net_crc_sse.c:311:4: error: ‘crc16_ccitt_pclmulqdq’ undeclared (first use in this function) &crc16_ccitt_pclmulqdq); ^ ../lib/net/net_crc_sse.c: In function ‘rte_crc32_eth_sse42_handler’: ../lib/net/net_crc_sse.c:320:4: error: ‘crc32_eth_pclmulqdq’ undeclared (first use in this function) &crc32_eth_pclmulqdq); ^ ../lib/net/net_crc_sse.c: In function ‘rte_crc16_ccitt_sse42_handler’: ../lib/net/net_crc_sse.c:312:1: error: control reaches end of non-void function [-Werror=return-type] } ^ ../lib/net/net_crc_sse.c: In function ‘rte_crc32_eth_sse42_handler’: ../lib/net/net_crc_sse.c:321:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors [103/2832] Compiling C object lib/librte_meter.a.p/meter_rte_meter.c.o [104/2832] Generating symbol file lib/librte_telemetry.so.24.1.p/librte_telemetry.so.24.1.symbols [105/2832] Generating symbol file lib/librte_kvargs.so.24.1.p/librte_kvargs.so.24.1.symbols [106/2832] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o [107/2832] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [108/2832] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [109/2832] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [110/2832] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output) [111/2832] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #20: OS: RHEL92-64Rt Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [99/2843] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [100/2843] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [101/2843] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [102/2843] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [103/2843] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [104/2843] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [105/2843] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [106/2843] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [107/2843] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #21: OS: UB2310-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [100/2890] Compiling C object lib/librte_bpf.a.p/bpf_bpf_validate.c.o [101/2890] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [102/2890] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [103/2890] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [104/2890] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [105/2890] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [106/2890] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [107/2890] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [108/2890] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #22: OS: FC39-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [99/3045] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [100/3045] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [101/3045] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [102/3045] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [103/3045] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [104/3045] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [105/3045] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [106/3045] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [107/3045] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #23: OS: FC39-64 Target: x86_64-native-linuxapp-clang FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o clang -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected parameter declarator 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^ ../lib/net/net_crc_avx512.c:23:16: error: expected ')' ../lib/net/net_crc_avx512.c:23:15: note: to match this '(' 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^ ../lib/net/net_crc_avx512.c:23:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ~~~~~~ ^ | int ../lib/net/net_crc_avx512.c:23:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^ | void ../lib/net/net_crc_avx512.c:23:19: error: expected ';' after top level declarator 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^ | ; ../lib/net/net_crc_avx512.c:24:16: error: expected parameter declarator 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^ ../lib/net/net_crc_avx512.c:24:16: error: expected ')' ../lib/net/net_crc_avx512.c:24:15: note: to match this '(' 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^ ../lib/net/net_crc_avx512.c:24:8: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ~~~~~~ ^ | int ../lib/net/net_crc_avx512.c:24:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^ | void ../lib/net/net_crc_avx512.c:24:19: error: expected ';' after top level declarator 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^ | ; ../lib/net/net_crc_avx512.c:33:22: error: expected parameter declarator 33 | static const alignas(16) uint8_t shf_table[32] = { | ^ ../lib/net/net_crc_avx512.c:33:22: error: expected ')' ../lib/net/net_crc_avx512.c:33:21: note: to match this '(' 33 | static const alignas(16) uint8_t shf_table[32] = { | ^ ../lib/net/net_crc_avx512.c:33:14: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | static const alignas(16) uint8_t shf_table[32] = { | ~~~~~~~~~~~~ ^ | int ../lib/net/net_crc_avx512.c:33:8: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~~~~ ../lib/net/net_crc_avx512.c:33:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 33 | static const alignas(16) uint8_t shf_table[32] = { | ^ | void ../lib/net/net_crc_avx512.c:33:14: error: conflicting types for 'alignas' 33 | static const alignas(16) uint8_t shf_table[32] = { | ^ ../lib/net/net_crc_avx512.c:24:8: note: previous declaration is here 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^ ../lib/net/net_crc_avx512.c:33:25: error: expected ';' after top level declarator 33 | static const alignas(16) uint8_t shf_table[32] = { | ^ | ; ../lib/net/net_crc_avx512.c:40:22: error: expected parameter declarator 40 | static const alignas(16) uint32_t mask[4] = { | ^ ../lib/net/net_crc_avx512.c:40:22: error: expected ')' ../lib/net/net_crc_avx512.c:40:21: note: to match this '(' 40 | static const alignas(16) uint32_t mask[4] = { | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [99/3045] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [100/3045] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [101/3045] Compiling C object lib/librte_net.a.p/net_rte_arp.c.o [102/3045] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [103/3045] Compiling C object lib/librte_net.a.p/net_rte_ether.c.o [104/3045] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [105/3045] Compiling C object lib/librte_net.a.p/net_rte_net_crc.c.o [106/3045] Compiling C object lib/librte_net.a.p/net_rte_net.c.o [107/3045] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #24: OS: UB2204-64Rt Target: x86_64-native-linuxapp-gcc FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o gcc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT -mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c ../lib/net/net_crc_avx512.c ../lib/net/net_crc_avx512.c:23:16: error: expected declaration specifiers or ‘...’ before numeric constant 23 | static alignas(64) struct crc_vpclmulqdq_ctx crc32_eth; | ^~ ../lib/net/net_crc_avx512.c:24:16: error: expected declaration specifiers or ‘...’ before numeric constant 24 | static alignas(64) struct crc_vpclmulqdq_ctx crc16_ccitt; | ^~ ../lib/net/net_crc_avx512.c:33:22: error: expected declaration specifiers or ‘...’ before numeric constant 33 | static const alignas(16) uint8_t shf_table[32] = { | ^~ ../lib/net/net_crc_avx512.c:40:22: error: expected declaration specifiers or ‘...’ before numeric constant 40 | static const alignas(16) uint32_t mask[4] = { | ^~ ../lib/net/net_crc_avx512.c:44:22: error: expected declaration specifiers or ‘...’ before numeric constant 44 | static const alignas(16) uint32_t mask2[4] = { | ^~ ../lib/net/net_crc_avx512.c: In function ‘last_two_xmm’: ../lib/net/net_crc_avx512.c:96:23: error: expected declaration specifiers or ‘...’ before numeric constant 96 | const alignas(16) uint32_t mask3[4] = { | ^~ ../lib/net/net_crc_avx512.c:105:26: error: ‘shf_table’ undeclared (first use in this function) 105 | (shf_table + (data_len-n))); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c:105:26: note: each undeclared identifier is reported only once for each function it appears in ../lib/net/net_crc_avx512.c:109:58: error: ‘mask3’ undeclared (first use in this function) 109 | _mm_load_si128((const __m128i *) mask3)); | ^~~~~ ../lib/net/net_crc_avx512.c: In function ‘barrett_reduction’: ../lib/net/net_crc_avx512.c:145:59: error: ‘mask2’ undeclared (first use in this function) 145 | data64 = _mm_and_si128(data64, *(const __m128i *)mask2); | ^~~~~ ../lib/net/net_crc_avx512.c:150:73: error: ‘mask’ undeclared (first use in this function) 150 | data64 = _mm_ternarylogic_epi64(data64, tmp1, *(const __m128i *)mask, | ^~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_eth_calc_vpclmulqdq’: ../lib/net/net_crc_avx512.c:269:50: error: ‘shf_table’ undeclared (first use in this function) 269 | &shf_table[data_len]); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc32_load_init_constants’: ../lib/net/net_crc_avx512.c:324:9: error: ‘crc32_eth’ undeclared (first use in this function) 324 | crc32_eth.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘crc16_load_init_constants’: ../lib/net/net_crc_avx512.c:371:9: error: ‘crc16_ccitt’ undeclared (first use in this function) 371 | crc16_ccitt.rk1_rk2 = _mm512_broadcast_i32x4(a); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:409:18: error: ‘crc16_ccitt’ undeclared (first use in this function) 409 | &crc16_ccitt); | ^~~~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:419:18: error: ‘crc32_eth’ undeclared (first use in this function) 419 | &crc32_eth); | ^~~~~~~~~ ../lib/net/net_crc_avx512.c: In function ‘rte_crc16_ccitt_avx512_handler’: ../lib/net/net_crc_avx512.c:410:1: error: control reaches end of non-void function [-Werror=return-type] 410 | } | ^ ../lib/net/net_crc_avx512.c: In function ‘rte_crc32_eth_avx512_handler’: ../lib/net/net_crc_avx512.c:420:1: error: control reaches end of non-void function [-Werror=return-type] 420 | } | ^ cc1: all warnings being treated as errors [97/2894] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_ptype.c.o [98/2894] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_pool_ops.c.o [99/2894] Compiling C object lib/librte_bpf.a.p/bpf_bpf_validate.c.o [100/2894] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [101/2894] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_dyn.c.o [102/2894] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output) [103/2894] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output) [104/2894] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o [105/2894] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped DPDK STV team