Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit fbaf2409604ebccc3c21d4480844e6de54e62be3 Author: Shun Hao Date: Fri May 13 06:57:38 2022 +0300 app/testpmd: fix metering and policing command for rfc4115 DPDK git Repo: dpdk-next-net-mrvl Meson Build Summary: 23 Builds Done, 18 Successful, 5 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | pass | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64N | fail | | | pass | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ 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: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) 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.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 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.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 *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c ../lib/eal/common/eal_common_options.c: In function 'compute_ctrl_threads_cpuset': ../lib/eal/common/eal_common_options.c:1970:60: error: macro "CPU_OR" requires 3 arguments, but only 2 given 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:60: note: macro "CPU_OR" defined here 60 | #define CPU_OR(d, s1, s2) __BIT_OR2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:42:2: error: 'CPU_OR' undeclared (first use in this function) 42 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/eal/common/eal_common_options.c:1970:3: note: in expansion of macro 'RTE_CPU_OR' 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/eal/freebsd/include/rte_os.h:42:2: note: each undeclared identifier is reported only once for each function it appears in 42 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/eal/common/eal_common_options.c:1970:3: note: in expansion of macro 'RTE_CPU_OR' 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1972:28: error: macro "CPU_ANDNOT" requires 3 arguments, but only 2 given 1972 | RTE_CPU_NOT(cpuset, cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:62: note: macro "CPU_ANDNOT" defined here 62 | #define CPU_ANDNOT(d, s1, s2) __BIT_ANDNOT2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:61:2: error: 'CPU_ANDNOT' undeclared (first use in this function) 61 | CPU_ANDNOT(&tmp, src); \ | ^~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1972:2: note: in expansion of macro 'RTE_CPU_NOT' 1972 | RTE_CPU_NOT(cpuset, cpuset); | ^~~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1978:42: error: macro "CPU_AND" requires 3 arguments, but only 2 given 1978 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:61: note: macro "CPU_AND" defined here 61 | #define CPU_AND(d, s1, s2) __BIT_AND2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:35:2: error: 'CPU_AND' undeclared (first use in this function) 35 | CPU_AND(&tmp, src2); \ | ^~~~~~~ ../lib/eal/common/eal_common_options.c:1978:2: note: in expansion of macro 'RTE_CPU_AND' 1978 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^~~~~~~~~~~ [41/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [42/2036] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [43/2036] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [44/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [45/2036] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [46/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [47/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [48/2036] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [49/2036] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c ../lib/eal/common/eal_common_options.c:1970:3: error: too few arguments provided to function-like macro invocation RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); ^ ../lib/eal/freebsd/include/rte_os.h:42:19: note: expanded from macro 'RTE_CPU_OR' CPU_OR(&tmp, src2); \ ^ /usr/include/sys/cpuset.h:60:9: note: macro 'CPU_OR' defined here #define CPU_OR(d, s1, s2) __BIT_OR2(CPU_SETSIZE, d, s1, s2) ^ ../lib/eal/common/eal_common_options.c:1970:3: error: use of undeclared identifier 'CPU_OR' RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); ^ ../lib/eal/freebsd/include/rte_os.h:42:2: note: expanded from macro 'RTE_CPU_OR' CPU_OR(&tmp, src2); \ ^ ../lib/eal/common/eal_common_options.c:1972:2: error: too few arguments provided to function-like macro invocation RTE_CPU_NOT(cpuset, cpuset); ^ ../lib/eal/freebsd/include/rte_os.h:61:22: note: expanded from macro 'RTE_CPU_NOT' CPU_ANDNOT(&tmp, src); \ ^ /usr/include/sys/cpuset.h:62:9: note: macro 'CPU_ANDNOT' defined here #define CPU_ANDNOT(d, s1, s2) __BIT_ANDNOT2(CPU_SETSIZE, d, s1, s2) ^ ../lib/eal/common/eal_common_options.c:1972:2: error: use of undeclared identifier 'CPU_ANDNOT' RTE_CPU_NOT(cpuset, cpuset); ^ ../lib/eal/freebsd/include/rte_os.h:61:2: note: expanded from macro 'RTE_CPU_NOT' CPU_ANDNOT(&tmp, src); \ ^ ../lib/eal/common/eal_common_options.c:1978:2: error: too few arguments provided to function-like macro invocation RTE_CPU_AND(cpuset, cpuset, &default_set); ^ ../lib/eal/freebsd/include/rte_os.h:35:20: note: expanded from macro 'RTE_CPU_AND' CPU_AND(&tmp, src2); \ ^ /usr/include/sys/cpuset.h:61:9: note: macro 'CPU_AND' defined here #define CPU_AND(d, s1, s2) __BIT_AND2(CPU_SETSIZE, d, s1, s2) ^ ../lib/eal/common/eal_common_options.c:1978:2: error: use of undeclared identifier 'CPU_AND' RTE_CPU_AND(cpuset, cpuset, &default_set); ^ ../lib/eal/freebsd/include/rte_os.h:35:2: note: expanded from macro 'RTE_CPU_AND' CPU_AND(&tmp, src2); \ ^ 6 errors generated. [41/2019] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [42/2019] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [43/2019] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [44/2019] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [45/2019] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [46/2019] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [47/2019] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [48/2019] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [49/2019] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c ../lib/eal/common/eal_common_options.c: In function 'compute_ctrl_threads_cpuset': ../lib/eal/common/eal_common_options.c:1970:60: error: macro "CPU_OR" requires 3 arguments, but only 2 given 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:60: note: macro "CPU_OR" defined here 60 | #define CPU_OR(d, s1, s2) __BIT_OR2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:42:2: error: 'CPU_OR' undeclared (first use in this function) 42 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/eal/common/eal_common_options.c:1970:3: note: in expansion of macro 'RTE_CPU_OR' 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/eal/freebsd/include/rte_os.h:42:2: note: each undeclared identifier is reported only once for each function it appears in 42 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/eal/common/eal_common_options.c:1970:3: note: in expansion of macro 'RTE_CPU_OR' 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1972:28: error: macro "CPU_ANDNOT" requires 3 arguments, but only 2 given 1972 | RTE_CPU_NOT(cpuset, cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:62: note: macro "CPU_ANDNOT" defined here 62 | #define CPU_ANDNOT(d, s1, s2) __BIT_ANDNOT2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:61:2: error: 'CPU_ANDNOT' undeclared (first use in this function) 61 | CPU_ANDNOT(&tmp, src); \ | ^~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1972:2: note: in expansion of macro 'RTE_CPU_NOT' 1972 | RTE_CPU_NOT(cpuset, cpuset); | ^~~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1978:42: error: macro "CPU_AND" requires 3 arguments, but only 2 given 1978 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:61: note: macro "CPU_AND" defined here 61 | #define CPU_AND(d, s1, s2) __BIT_AND2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:35:2: error: 'CPU_AND' undeclared (first use in this function) 35 | CPU_AND(&tmp, src2); \ | ^~~~~~~ ../lib/eal/common/eal_common_options.c:1978:2: note: in expansion of macro 'RTE_CPU_AND' 1978 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^~~~~~~~~~~ [41/1938] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [42/1938] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [43/1938] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [44/1938] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [45/1938] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [46/1938] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [47/1938] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [48/1938] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [49/1938] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_eal.a.p/eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_options.c.o -c ../lib/eal/common/eal_common_options.c ../lib/eal/common/eal_common_options.c: In function 'compute_ctrl_threads_cpuset': ../lib/eal/common/eal_common_options.c:1970:60: error: macro "CPU_OR" requires 3 arguments, but only 2 given 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:60: note: macro "CPU_OR" defined here 60 | #define CPU_OR(d, s1, s2) __BIT_OR2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:42:2: error: 'CPU_OR' undeclared (first use in this function) 42 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/eal/common/eal_common_options.c:1970:3: note: in expansion of macro 'RTE_CPU_OR' 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/eal/freebsd/include/rte_os.h:42:2: note: each undeclared identifier is reported only once for each function it appears in 42 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/eal/common/eal_common_options.c:1970:3: note: in expansion of macro 'RTE_CPU_OR' 1970 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1972:28: error: macro "CPU_ANDNOT" requires 3 arguments, but only 2 given 1972 | RTE_CPU_NOT(cpuset, cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:62: note: macro "CPU_ANDNOT" defined here 62 | #define CPU_ANDNOT(d, s1, s2) __BIT_ANDNOT2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:61:2: error: 'CPU_ANDNOT' undeclared (first use in this function) 61 | CPU_ANDNOT(&tmp, src); \ | ^~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1972:2: note: in expansion of macro 'RTE_CPU_NOT' 1972 | RTE_CPU_NOT(cpuset, cpuset); | ^~~~~~~~~~~ ../lib/eal/common/eal_common_options.c:1978:42: error: macro "CPU_AND" requires 3 arguments, but only 2 given 1978 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/eal/freebsd/include/rte_os.h:17, from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: /usr/include/sys/cpuset.h:61: note: macro "CPU_AND" defined here 61 | #define CPU_AND(d, s1, s2) __BIT_AND2(CPU_SETSIZE, d, s1, s2) | In file included from ../lib/eal/include/rte_common.h:28, from ../lib/eal/include/rte_string_fns.h:21, from ../lib/eal/common/eal_common_options.c:24: ../lib/eal/freebsd/include/rte_os.h:35:2: error: 'CPU_AND' undeclared (first use in this function) 35 | CPU_AND(&tmp, src2); \ | ^~~~~~~ ../lib/eal/common/eal_common_options.c:1978:2: note: in expansion of macro 'RTE_CPU_AND' 1978 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^~~~~~~~~~~ [41/2036] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output) [42/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o [43/2036] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [44/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o [45/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o [46/2036] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) [47/2036] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o [48/2036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [49/2036] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o ninja: build stopped *Build Failed #5: OS: UB2204-64N Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha1’: ../drivers/crypto/qat/qat_sym_session.c:1064:9: error: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1064 | if (!SHA1_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1066:9: error: ‘SHA1_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1066 | SHA1_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:52:28: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data); | ^~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha224’: ../drivers/crypto/qat/qat_sym_session.c:1075:9: error: ‘SHA224_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1075 | if (!SHA224_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:69:27: note: declared here 69 | OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1077:9: error: ‘SHA256_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1077 | SHA256_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:77:28: note: declared here 77 | OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha256’: ../drivers/crypto/qat/qat_sym_session.c:1086:9: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1086 | if (!SHA256_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1088:9: error: ‘SHA256_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1088 | SHA256_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:77:28: note: declared here 77 | OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha384’: ../drivers/crypto/qat/qat_sym_session.c:1097:9: error: ‘SHA384_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1097 | if (!SHA384_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:119:27: note: declared here 119 | OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1099:9: error: ‘SHA512_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1099 | SHA512_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha512’: ../drivers/crypto/qat/qat_sym_session.c:1108:9: error: ‘SHA512_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1108 | if (!SHA512_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:123:27: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1110:9: error: ‘SHA512_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1110 | SHA512_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_md5’: ../drivers/crypto/qat/qat_sym_session.c:1119:9: error: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1119 | if (!MD5_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:7: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1121:9: error: ‘MD5_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1121 | MD5_Transform(&ctx, data_in); | ^~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:7: /usr/include/openssl/md5.h:54:28: note: declared here 54 | OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b); | ^~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes’: ../drivers/crypto/qat/qat_sym_session.c:1250:25: error: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1250 | if (AES_set_encrypt_key(auth_key, auth_keylen << 3, | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1256:25: error: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1256 | AES_encrypt(in, k0, &enc_key); | ^~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1294:33: error: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1294 | if (AES_set_encrypt_key(auth_key, | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1304:33: error: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1304 | AES_encrypt(in, out, &enc_key); | ^~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1330:17: error: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1330 | if (AES_set_encrypt_key(auth_key, auth_keylen << 3, | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1334:17: error: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1334 | AES_encrypt(in, out, &enc_key); | ^~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ cc1: all warnings being treated as errors [847/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [848/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_filter.c.o [849/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_evb.c.o [850/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [851/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [852/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [853/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [854/3631] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o [855/3631] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped DPDK STV team