Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit d4c20de6c056aa08e796340348c1cf3fed4efd46 Author: Christian Ehrhardt Date: Mon Jul 18 11:14:00 2022 +0200 version: 19.11.13-rc1 DPDK git Repo: dpdk-stable Meson Build Summary: 24 Builds Done, 18 Successful, 6 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | fail | 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 | pass | | | pass | | | | | UB2204-64 | pass | pass | | | | pass | fail | | 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-gcc 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: FC36-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -Wno-format-truncation -DRTE_LIBEAL_USE_GETENTROPY -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o -MF lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o.d -o lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o -c ../lib/librte_eal/linux/eal/eal_memory.c In function ‘eal_get_hugepage_mem_size’, inlined from ‘eal_legacy_hugepage_init’ at ../lib/librte_eal/linux/eal/eal_memory.c:1566:28: ../lib/librte_eal/linux/eal/eal_memory.c:1272:21: error: ‘strnlen’ specified bound 4096 exceeds source size 136 [-Werror=stringop-overread] 1272 | if (strnlen(hpi->hugedir, sizeof(hpi->hugedir)) != 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/librte_eal/linux/eal/eal_memory.c:49: ../lib/librte_eal/common/eal_internal_cfg.h: In function ‘eal_legacy_hugepage_init’: ../lib/librte_eal/common/eal_internal_cfg.h:86:31: note: source object allocated here 86 | extern struct internal_config internal_config; /**< Global EAL configuration. */ | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [66/2239] Compiling C object lib/librte_eal.a.p/librte_eal_linux_eal_eal_vfio.c.o [67/2239] Generating lib/ring.exp_chk with a custom command (wrapped by meson to capture output) [68/2239] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool_ops.c.o [69/2239] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_ptype.c.o [70/2239] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_pool_ops.c.o [71/2239] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool.c.o [72/2239] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool_ops_default.c.o [73/2239] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_dyn.c.o [74/2239] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -Wno-format-truncation -DRTE_LIBEAL_USE_GETENTROPY -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -c ../lib/librte_eal/common/eal_common_options.c ../lib/librte_eal/common/eal_common_options.c: In function 'compute_ctrl_threads_cpuset': ../lib/librte_eal/common/eal_common_options.c:1497:60: error: macro "CPU_OR" requires 3 arguments, but only 2 given 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: error: 'CPU_OR' undeclared (first use in this function) 31 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/librte_eal/common/eal_common_options.c:1497:3: note: in expansion of macro 'RTE_CPU_OR' 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: note: each undeclared identifier is reported only once for each function it appears in 31 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/librte_eal/common/eal_common_options.c:1497:3: note: in expansion of macro 'RTE_CPU_OR' 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1499:28: error: macro "CPU_ANDNOT" requires 3 arguments, but only 2 given 1499 | RTE_CPU_NOT(cpuset, cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:50:2: error: 'CPU_ANDNOT' undeclared (first use in this function) 50 | CPU_ANDNOT(&tmp, src); \ | ^~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1499:2: note: in expansion of macro 'RTE_CPU_NOT' 1499 | RTE_CPU_NOT(cpuset, cpuset); | ^~~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1505:42: error: macro "CPU_AND" requires 3 arguments, but only 2 given 1505 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:24:2: error: 'CPU_AND' undeclared (first use in this function) 24 | CPU_AND(&tmp, src2); \ | ^~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1505:2: note: in expansion of macro 'RTE_CPU_AND' 1505 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^~~~~~~~~~~ [52/1614] Generating symbol file lib/librte_kvargs.so.20.0.p/librte_kvargs.so.20.0.symbols [53/1614] Generating lib/ring_def with a custom command [54/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_malloc.c.o [55/1614] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_memory.c.o [56/1614] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal.c.o [57/1614] Compiling C object lib/librte_ring.a.p/librte_ring_rte_ring.c.o [58/1614] Compiling C object buildtools/pmdinfogen/pmdinfogen.p/pmdinfogen.c.o [59/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_malloc_heap.c.o [60/1614] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -DRTE_LIBEAL_USE_GETENTROPY -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -c ../lib/librte_eal/common/eal_common_options.c ../lib/librte_eal/common/eal_common_options.c:1497:3: error: too few arguments provided to function-like macro invocation RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); ^ ../lib/librte_eal/freebsd/eal/include/rte_os.h:31: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/librte_eal/common/eal_common_options.c:1497:3: error: use of undeclared identifier 'CPU_OR' RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); ^ ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: note: expanded from macro 'RTE_CPU_OR' CPU_OR(&tmp, src2); \ ^ ../lib/librte_eal/common/eal_common_options.c:1499:2: error: too few arguments provided to function-like macro invocation RTE_CPU_NOT(cpuset, cpuset); ^ ../lib/librte_eal/freebsd/eal/include/rte_os.h:50: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/librte_eal/common/eal_common_options.c:1499:2: error: use of undeclared identifier 'CPU_ANDNOT' RTE_CPU_NOT(cpuset, cpuset); ^ ../lib/librte_eal/freebsd/eal/include/rte_os.h:50:2: note: expanded from macro 'RTE_CPU_NOT' CPU_ANDNOT(&tmp, src); \ ^ ../lib/librte_eal/common/eal_common_options.c:1505:2: error: too few arguments provided to function-like macro invocation RTE_CPU_AND(cpuset, cpuset, &default_set); ^ ../lib/librte_eal/freebsd/eal/include/rte_os.h:24: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/librte_eal/common/eal_common_options.c:1505:2: error: use of undeclared identifier 'CPU_AND' RTE_CPU_AND(cpuset, cpuset, &default_set); ^ ../lib/librte_eal/freebsd/eal/include/rte_os.h:24:2: note: expanded from macro 'RTE_CPU_AND' CPU_AND(&tmp, src2); \ ^ 6 errors generated. [62/1594] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool_ops.c.o [63/1594] Linking target buildtools/pmdinfogen/pmdinfogen [64/1594] Generating lib/ring.exp_chk with a custom command (wrapped by meson to capture output) [65/1594] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool.c.o [66/1594] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_pool_ops.c.o [67/1594] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_ptype.c.o [68/1594] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool_ops_default.c.o [69/1594] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_dyn.c.o [70/1594] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -Wno-format-truncation -DRTE_LIBEAL_USE_GETENTROPY -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -c ../lib/librte_eal/common/eal_common_options.c ../lib/librte_eal/common/eal_common_options.c: In function 'compute_ctrl_threads_cpuset': ../lib/librte_eal/common/eal_common_options.c:1497:60: error: macro "CPU_OR" requires 3 arguments, but only 2 given 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: error: 'CPU_OR' undeclared (first use in this function) 31 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/librte_eal/common/eal_common_options.c:1497:3: note: in expansion of macro 'RTE_CPU_OR' 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: note: each undeclared identifier is reported only once for each function it appears in 31 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/librte_eal/common/eal_common_options.c:1497:3: note: in expansion of macro 'RTE_CPU_OR' 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1499:28: error: macro "CPU_ANDNOT" requires 3 arguments, but only 2 given 1499 | RTE_CPU_NOT(cpuset, cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:50:2: error: 'CPU_ANDNOT' undeclared (first use in this function) 50 | CPU_ANDNOT(&tmp, src); \ | ^~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1499:2: note: in expansion of macro 'RTE_CPU_NOT' 1499 | RTE_CPU_NOT(cpuset, cpuset); | ^~~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1505:42: error: macro "CPU_AND" requires 3 arguments, but only 2 given 1505 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:24:2: error: 'CPU_AND' undeclared (first use in this function) 24 | CPU_AND(&tmp, src2); \ | ^~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1505:2: note: in expansion of macro 'RTE_CPU_AND' 1505 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^~~~~~~~~~~ [44/1503] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_lcore.c.o [45/1503] Compiling C object buildtools/pmdinfogen/pmdinfogen.p/pmdinfogen.c.o [46/1503] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_memalloc.c.o [47/1503] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_interrupts.c.o [48/1503] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_service.c.o [49/1503] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_thread.c.o [50/1503] Generating symbol file lib/librte_kvargs.so.20.0.p/librte_kvargs.so.20.0.symbols [51/1503] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_malloc.c.o [52/1503] Compiling C object lib/librte_eal.a.p/librte_eal_common_malloc_heap.c.o ninja: build stopped *Build Failed #5: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -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 -Wno-format-truncation -DRTE_LIBEAL_USE_GETENTROPY -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -MF lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o.d -o lib/librte_eal.a.p/librte_eal_common_eal_common_options.c.o -c ../lib/librte_eal/common/eal_common_options.c ../lib/librte_eal/common/eal_common_options.c: In function 'compute_ctrl_threads_cpuset': ../lib/librte_eal/common/eal_common_options.c:1497:60: error: macro "CPU_OR" requires 3 arguments, but only 2 given 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: error: 'CPU_OR' undeclared (first use in this function) 31 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/librte_eal/common/eal_common_options.c:1497:3: note: in expansion of macro 'RTE_CPU_OR' 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/librte_eal/freebsd/eal/include/rte_os.h:31:2: note: each undeclared identifier is reported only once for each function it appears in 31 | CPU_OR(&tmp, src2); \ | ^~~~~~ ../lib/librte_eal/common/eal_common_options.c:1497:3: note: in expansion of macro 'RTE_CPU_OR' 1497 | RTE_CPU_OR(cpuset, cpuset, &lcore_config[lcore_id].cpuset); | ^~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1499:28: error: macro "CPU_ANDNOT" requires 3 arguments, but only 2 given 1499 | RTE_CPU_NOT(cpuset, cpuset); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:50:2: error: 'CPU_ANDNOT' undeclared (first use in this function) 50 | CPU_ANDNOT(&tmp, src); \ | ^~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1499:2: note: in expansion of macro 'RTE_CPU_NOT' 1499 | RTE_CPU_NOT(cpuset, cpuset); | ^~~~~~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1505:42: error: macro "CPU_AND" requires 3 arguments, but only 2 given 1505 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^ In file included from /usr/include/pthread_np.h:37, from ../lib/librte_eal/freebsd/eal/include/rte_os.h:17, from ../lib/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: /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/librte_eal/common/include/rte_common.h:28, from ../lib/librte_eal/common/include/rte_string_fns.h:21, from ../lib/librte_eal/common/eal_common_options.c:19: ../lib/librte_eal/freebsd/eal/include/rte_os.h:24:2: error: 'CPU_AND' undeclared (first use in this function) 24 | CPU_AND(&tmp, src2); \ | ^~~~~~~ ../lib/librte_eal/common/eal_common_options.c:1505:2: note: in expansion of macro 'RTE_CPU_AND' 1505 | RTE_CPU_AND(cpuset, cpuset, &default_set); | ^~~~~~~~~~~ [39/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_arch_x86_rte_spinlock.c.o [40/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_arch_x86_rte_hypervisor.c.o [41/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_random.c.o [42/1614] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_cpuflags.c.o [43/1614] Compiling C object lib/librte_eal.a.p/librte_eal_freebsd_eal_eal_alarm.c.o [44/1614] Generating symbol file lib/librte_kvargs.so.20.0.p/librte_kvargs.so.20.0.symbols [45/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_service.c.o [46/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_malloc_heap.c.o [47/1614] Compiling C object lib/librte_eal.a.p/librte_eal_common_rte_malloc.c.o ninja: build stopped *Build Failed #6: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/libtmp_rte_pmd_ice.a.p/net_ice_ice_rxtx.c.o gcc -Idrivers/libtmp_rte_pmd_ice.a.p -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ drivers/libtmp_rte_pmd_ice.a.p/net_ice_ice_rxtx.c.o -MF drivers/libtmp_rte_pmd_ice.a.p/net_ice_ice_rxtx.c.o.d -o drivers/libtmp_rte_pmd_ice.a.p/net_ice_ice_rxtx.c.o -c ../drivers/net/ice/ice_rxtx.c ../drivers/net/ice/ice_rxtx.c: In function ‘ice_recv_pkts’: ../drivers/net/ice/ice_rxtx.c:1365:18: error: array subscript ‘volatile struct ice_32b_rx_flex_desc_comms[0]’ is partly outside array bounds of ‘union ice_16b_rx_flex_desc[1]’ [-Werror=array-bounds] 1365 | stat_err = rte_le_to_cpu_16(desc->status_error0); ../drivers/net/ice/ice_rxtx.c:2090:32: note: while referencing ‘rxd’ 2090 | union ice_rx_flex_desc rxd; | ^~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/ice/ice_rxtx.c:5: ../drivers/net/ice/ice_rxtx.c:1368:53: error: array subscript ‘volatile struct ice_32b_rx_flex_desc_comms[0]’ is partly outside array bounds of ‘union ice_16b_rx_flex_desc[1]’ [-Werror=array-bounds] 1368 | mb->hash.rss = rte_le_to_cpu_32(desc->rss_hash); ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:82:30: note: in definition of macro ‘rte_le_to_cpu_32’ 82 | #define rte_le_to_cpu_32(x) (x) | ^ ../drivers/net/ice/ice_rxtx.c:2090:32: note: while referencing ‘rxd’ 2090 | union ice_rx_flex_desc rxd; | ^~~ ../drivers/net/ice/ice_rxtx.c: In function ‘ice_recv_scattered_pkts’: ../drivers/net/ice/ice_rxtx.c:1365:18: error: array subscript ‘volatile struct ice_32b_rx_flex_desc_comms[0]’ is partly outside array bounds of ‘union ice_16b_rx_flex_desc[1]’ [-Werror=array-bounds] 1365 | stat_err = rte_le_to_cpu_16(desc->status_error0); ../drivers/net/ice/ice_rxtx.c:1611:32: note: while referencing ‘rxd’ 1611 | union ice_rx_flex_desc rxd; | ^~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/ice/ice_rxtx.c:5: ../drivers/net/ice/ice_rxtx.c:1368:53: error: array subscript ‘volatile struct ice_32b_rx_flex_desc_comms[0]’ is partly outside array bounds of ‘union ice_16b_rx_flex_desc[1]’ [-Werror=array-bounds] 1368 | mb->hash.rss = rte_le_to_cpu_32(desc->rss_hash); ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:82:30: note: in definition of macro ‘rte_le_to_cpu_32’ 82 | #define rte_le_to_cpu_32(x) (x) | ^ ../drivers/net/ice/ice_rxtx.c:1611:32: note: while referencing ‘rxd’ 1611 | union ice_rx_flex_desc rxd; | ^~~ cc1: all warnings being treated as errors [1043/2239] Compiling C object drivers/libtmp_rte_pmd_ipn3ke.a.p/net_ipn3ke_ipn3ke_ethdev.c.o [1044/2239] Compiling C object drivers/libtmp_rte_pmd_ipn3ke.a.p/net_ipn3ke_ipn3ke_tm.c.o [1045/2239] Compiling C object drivers/libtmp_rte_pmd_ice.a.p/net_ice_ice_ethdev.c.o [1046/2239] Compiling C object drivers/libtmp_rte_pmd_ice.a.p/net_ice_ice_rxtx_vec_avx2.c.o [1047/2239] Compiling C object drivers/net/ixgbe/base/libixgbe_base.a.p/ixgbe_api.c.o [1048/2239] Compiling C object drivers/libtmp_rte_pmd_ipn3ke.a.p/net_ipn3ke_ipn3ke_flow.c.o [1049/2239] Generating drivers/rte_pmd_ifc.exp_chk with a custom command (wrapped by meson to capture output) [1050/2239] Compiling C object drivers/libtmp_rte_pmd_ipn3ke.a.p/net_ipn3ke_ipn3ke_representor.c.o [1051/2239] Compiling C object drivers/net/ixgbe/base/libixgbe_base.a.p/ixgbe_common.c.o ninja: build stopped DPDK STV team