Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/139677 _Compilation issues_ Submitter: Mattias Rönnblom Date: 2024-04-25 08:58:53 Reply_mail: <20240425085853.97888-7-mattias.ronnblom@ericsson.com> DPDK git baseline: Repo:dpdk, CommitID: 7e06c0de1952d3109a5b0c4779d7e7d8059c9d78 Meson Build Summary: 24 Builds Done, 20 Successful, 4 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | fail | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL92-64 | pass | pass | | pass | pass | | | | SUSE15-64 | fail | pass | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2204-32 | pass | | | | | | | | RHEL89-64 | fail | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | fail | | | | | | | | RHEL92-64Rt | pass | | | | | | | | UB2310-64 | pass | | | | | | | | FC39-64 | pass | pass | | | | | | | UB2204-64Rt | 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: 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: FreeBSD14-64 Kernel Version: 14.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) 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: app/dpdk-test.p/test_test_bitops.c.o gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -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 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_bitops.c.o -MF app/dpdk-test.p/test_test_bitops.c.o.d -o app/dpdk-test.p/test_test_bitops.c.o -c ../app/test/test_bitops.c ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_32’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_64’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_32’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_64’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [2571/2913] Compiling C object app/dpdk-test.p/test_test_byteorder.c.o [2572/2913] Compiling C object app/dpdk-test.p/test_test_barrier.c.o [2573/2913] Compiling C object app/dpdk-test.p/test_test_bitratestats.c.o [2574/2913] Linking target app/dpdk-test-regex [2575/2913] Compiling C object app/dpdk-test.p/test_test_bpf.c.o [2576/2913] Linking target app/dpdk-testpmd [2577/2913] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o [2578/2913] Compiling C object app/dpdk-test.p/test_test_cksum.c.o [2579/2913] Linking target app/dpdk-test-security-perf ninja: build stopped *Build Failed #2: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-test.p/test_test_bitops.c.o gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -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 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_bitops.c.o -MF app/dpdk-test.p/test_test_bitops.c.o.d -o app/dpdk-test.p/test_test_bitops.c.o -c ../app/test/test_bitops.c ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_32’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_64’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_32’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_64’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ cc1: all warnings being treated as errors [2592/2932] Compiling C object app/dpdk-test.p/test_test_cmdline.c.o [2593/2932] Linking target app/dpdk-test-regex [2594/2932] Compiling C object app/dpdk-test.p/test_test_bpf.c.o [2595/2932] Compiling C object app/dpdk-test.p/test_test_cmdline_cirbuf.c.o [2596/2932] Linking target app/dpdk-test-security-perf [2597/2932] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o [2598/2932] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o [2599/2932] Compiling C object app/dpdk-test.p/test_test_cksum.c.o [2600/2932] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o ninja: build stopped *Build Failed #3: OS: RHEL89-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-test.p/test_test_bitops.c.o gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -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 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_bitops.c.o -MF app/dpdk-test.p/test_test_bitops.c.o.d -o app/dpdk-test.p/test_test_bitops.c.o -c ../app/test/test_bitops.c ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_32’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_64’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_32’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_64’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^~~~ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [2589/2928] Linking target app/dpdk-testpmd [2590/2928] Compiling C object app/dpdk-test.p/test_test_bitmap.c.o [2591/2928] Compiling C object app/dpdk-test.p/test_test_cmdline_cirbuf.c.o [2592/2928] Compiling C object app/dpdk-test.p/test_test_bpf.c.o [2593/2928] Compiling C object app/dpdk-test.p/test_test_cksum_perf.c.o [2594/2928] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o [2595/2928] Compiling C object app/dpdk-test.p/test_test_cmdline_etheraddr.c.o [2596/2928] Compiling C object app/dpdk-test.p/test_test_cmdline_ipaddr.c.o [2597/2928] Compiling C object app/dpdk-test.p/test_test_cksum.c.o ninja: build stopped *Build Failed #4: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: app/dpdk-test.p/test_test_bitops.c.o gcc -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/argparse -I../lib/argparse -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher -I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table -I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph -I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec -Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/member -I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder -Ilib/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -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 -march=native -mrtm -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/dpdk-test.p/test_test_bitops.c.o -MF app/dpdk-test.p/test_test_bitops.c.o.d -o app/dpdk-test.p/test_test_bitops.c.o -c ../app/test/test_bitops.c ../app/test/test_bitops.c: In function ‘test_bit_access_32’: ../app/test/test_bitops.c:52:1: error: implicit declaration of function ‘_Generic’ [-Werror=implicit-function-declaration] GEN_TEST_BIT_ACCESS(test_bit_access_32, rte_bit_set, rte_bit_clear, \ ^ ../app/test/test_bitops.c:52:1: error: nested extern declaration of ‘_Generic’ [-Werror=nested-externs] In file included from ../app/test/test_bitops.c:9:0: ../lib/eal/include/rte_bitops.h:202:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_assign32, \ ^ ../app/test/test_bitops.c:29:5: note: in expansion of macro ‘rte_bit_assign’ assign_fun(&word, bit_nr, reference_bit); \ ^ ../app/test/test_bitops.c:52:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_32, rte_bit_set, rte_bit_clear, \ ^ ../lib/eal/include/rte_bitops.h:155:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_set32, \ ^ ../app/test/test_bitops.c:32:6: note: in expansion of macro ‘rte_bit_set’ set_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:52:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_32, rte_bit_set, rte_bit_clear, \ ^ ../lib/eal/include/rte_bitops.h:178:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_clear32, \ ^ ../app/test/test_bitops.c:34:6: note: in expansion of macro ‘rte_bit_clear’ clear_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:52:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_32, rte_bit_set, rte_bit_clear, \ ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:132:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:37:16: note: in expansion of macro ‘rte_bit_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:52:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_32, rte_bit_set, rte_bit_clear, \ ^ ../lib/eal/include/rte_bitops.h:132:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:43:16: note: in expansion of macro ‘rte_bit_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:52:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_32, rte_bit_set, rte_bit_clear, \ ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘test_bit_access_64’: ../lib/eal/include/rte_bitops.h:202:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_assign32, \ ^ ../app/test/test_bitops.c:29:5: note: in expansion of macro ‘rte_bit_assign’ assign_fun(&word, bit_nr, reference_bit); \ ^ ../app/test/test_bitops.c:55:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_64, rte_bit_set, rte_bit_clear, \ ^ ../lib/eal/include/rte_bitops.h:155:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_set32, \ ^ ../app/test/test_bitops.c:32:6: note: in expansion of macro ‘rte_bit_set’ set_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:55:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_64, rte_bit_set, rte_bit_clear, \ ^ ../lib/eal/include/rte_bitops.h:178:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_clear32, \ ^ ../app/test/test_bitops.c:34:6: note: in expansion of macro ‘rte_bit_clear’ clear_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:55:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_64, rte_bit_set, rte_bit_clear, \ ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:132:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:37:16: note: in expansion of macro ‘rte_bit_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:55:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_64, rte_bit_set, rte_bit_clear, \ ^ ../lib/eal/include/rte_bitops.h:132:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:43:16: note: in expansion of macro ‘rte_bit_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:55:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_access_64, rte_bit_set, rte_bit_clear, \ ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘test_bit_once_access_32’: ../lib/eal/include/rte_bitops.h:343:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_assign32, \ ^ ../app/test/test_bitops.c:29:5: note: in expansion of macro ‘rte_bit_once_assign’ assign_fun(&word, bit_nr, reference_bit); \ ^ ../app/test/test_bitops.c:58:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_32, rte_bit_once_set, \ ^ ../lib/eal/include/rte_bitops.h:288:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_set32, \ ^ ../app/test/test_bitops.c:32:6: note: in expansion of macro ‘rte_bit_once_set’ set_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:58:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_32, rte_bit_once_set, \ ^ ../lib/eal/include/rte_bitops.h:316:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_clear32, \ ^ ../app/test/test_bitops.c:34:6: note: in expansion of macro ‘rte_bit_once_clear’ clear_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:58:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_32, rte_bit_once_set, \ ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:260:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:37:16: note: in expansion of macro ‘rte_bit_once_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:58:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_32, rte_bit_once_set, \ ^ ../lib/eal/include/rte_bitops.h:260:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:43:16: note: in expansion of macro ‘rte_bit_once_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:58:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_32, rte_bit_once_set, \ ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘test_bit_once_access_64’: ../lib/eal/include/rte_bitops.h:343:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_assign32, \ ^ ../app/test/test_bitops.c:29:5: note: in expansion of macro ‘rte_bit_once_assign’ assign_fun(&word, bit_nr, reference_bit); \ ^ ../app/test/test_bitops.c:62:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_64, rte_bit_once_set, \ ^ ../lib/eal/include/rte_bitops.h:288:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_set32, \ ^ ../app/test/test_bitops.c:32:6: note: in expansion of macro ‘rte_bit_once_set’ set_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:62:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_64, rte_bit_once_set, \ ^ ../lib/eal/include/rte_bitops.h:316:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_clear32, \ ^ ../app/test/test_bitops.c:34:6: note: in expansion of macro ‘rte_bit_once_clear’ clear_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:62:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_64, rte_bit_once_set, \ ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:260:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:37:16: note: in expansion of macro ‘rte_bit_once_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:62:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_64, rte_bit_once_set, \ ^ ../lib/eal/include/rte_bitops.h:260:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_once_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:43:16: note: in expansion of macro ‘rte_bit_once_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:62:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_once_access_64, rte_bit_once_set, \ ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘test_bit_atomic_access_32’: ../lib/eal/include/rte_bitops.h:435:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_assign32, \ ^ ../app/test/test_bitops.c:73:2: note: in expansion of macro ‘rte_bit_atomic_assign’ rte_bit_atomic_assign(addr, nr, value, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:29:5: note: in expansion of macro ‘bit_atomic_assign’ assign_fun(&word, bit_nr, reference_bit); \ ^ ../app/test/test_bitops.c:78:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_32, bit_atomic_set, \ ^ ../lib/eal/include/rte_bitops.h:389:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_set32, \ ^ ../app/test/test_bitops.c:67:2: note: in expansion of macro ‘rte_bit_atomic_set’ rte_bit_atomic_set(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:32:6: note: in expansion of macro ‘bit_atomic_set’ set_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:78:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_32, bit_atomic_set, \ ^ ../lib/eal/include/rte_bitops.h:411:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_clear32, \ ^ ../app/test/test_bitops.c:70:2: note: in expansion of macro ‘rte_bit_atomic_clear’ rte_bit_atomic_clear(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:34:6: note: in expansion of macro ‘bit_atomic_clear’ clear_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:78:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_32, bit_atomic_set, \ ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:367:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:76:2: note: in expansion of macro ‘rte_bit_atomic_test’ rte_bit_atomic_test(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:37:16: note: in expansion of macro ‘bit_atomic_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:78:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_32, bit_atomic_set, \ ^ ../lib/eal/include/rte_bitops.h:367:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:76:2: note: in expansion of macro ‘rte_bit_atomic_test’ rte_bit_atomic_test(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:43:16: note: in expansion of macro ‘bit_atomic_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:78:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_32, bit_atomic_set, \ ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘test_bit_atomic_access_64’: ../lib/eal/include/rte_bitops.h:435:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_assign32, \ ^ ../app/test/test_bitops.c:73:2: note: in expansion of macro ‘rte_bit_atomic_assign’ rte_bit_atomic_assign(addr, nr, value, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:29:5: note: in expansion of macro ‘bit_atomic_assign’ assign_fun(&word, bit_nr, reference_bit); \ ^ ../app/test/test_bitops.c:82:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_64, bit_atomic_set, \ ^ ../lib/eal/include/rte_bitops.h:389:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_set32, \ ^ ../app/test/test_bitops.c:67:2: note: in expansion of macro ‘rte_bit_atomic_set’ rte_bit_atomic_set(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:32:6: note: in expansion of macro ‘bit_atomic_set’ set_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:82:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_64, bit_atomic_set, \ ^ ../lib/eal/include/rte_bitops.h:411:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_clear32, \ ^ ../app/test/test_bitops.c:70:2: note: in expansion of macro ‘rte_bit_atomic_clear’ rte_bit_atomic_clear(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:34:6: note: in expansion of macro ‘bit_atomic_clear’ clear_fun(&word, bit_nr); \ ^ ../app/test/test_bitops.c:82:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_64, bit_atomic_set, \ ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:367:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:76:2: note: in expansion of macro ‘rte_bit_atomic_test’ rte_bit_atomic_test(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:37:16: note: in expansion of macro ‘bit_atomic_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:82:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_64, bit_atomic_set, \ ^ ../lib/eal/include/rte_bitops.h:367:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:76:2: note: in expansion of macro ‘rte_bit_atomic_test’ rte_bit_atomic_test(addr, nr, rte_memory_order_relaxed) ^ ../app/test/test_bitops.c:43:16: note: in expansion of macro ‘bit_atomic_test’ TEST_ASSERT(test_fun(&word, bit_nr) == reference_bit, \ ^ ../app/test/test_bitops.c:82:1: note: in expansion of macro ‘GEN_TEST_BIT_ACCESS’ GEN_TEST_BIT_ACCESS(test_bit_atomic_access_64, bit_atomic_set, \ ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘run_parallel_assign_32’: ../lib/eal/include/rte_bitops.h:367:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test32, \ ^ ../app/test/test_bitops.c:110:8: note: in expansion of macro ‘rte_bit_atomic_test’ if (rte_bit_atomic_test(lcore->word, lcore->bit, \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../lib/eal/include/rte_bitops.h:511:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_assign32, \ ^ ../app/test/test_bitops.c:119:18: note: in expansion of macro ‘rte_bit_atomic_test_and_assign’ old_value = rte_bit_atomic_test_and_assign( \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../lib/eal/include/rte_bitops.h:460:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_set32, \ ^ ../app/test/test_bitops.c:124:7: note: in expansion of macro ‘rte_bit_atomic_test_and_set’ rte_bit_atomic_test_and_set( \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../lib/eal/include/rte_bitops.h:485:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_clear32, \ ^ ../app/test/test_bitops.c:127:7: note: in expansion of macro ‘rte_bit_atomic_test_and_clear’ rte_bit_atomic_test_and_clear( \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../lib/eal/include/rte_bitops.h:435:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_assign32, \ ^ ../app/test/test_bitops.c:137:6: note: in expansion of macro ‘rte_bit_atomic_assign’ rte_bit_atomic_assign(lcore->word, lcore->bit, \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../lib/eal/include/rte_bitops.h:389:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_set32, \ ^ ../app/test/test_bitops.c:142:7: note: in expansion of macro ‘rte_bit_atomic_set’ rte_bit_atomic_set( \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../lib/eal/include/rte_bitops.h:411:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_clear32, \ ^ ../app/test/test_bitops.c:146:7: note: in expansion of macro ‘rte_bit_atomic_clear’ rte_bit_atomic_clear( \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_32’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:197:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(32) ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘run_parallel_assign_64’: ../lib/eal/include/rte_bitops.h:367:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test32, \ ^ ../app/test/test_bitops.c:110:8: note: in expansion of macro ‘rte_bit_atomic_test’ if (rte_bit_atomic_test(lcore->word, lcore->bit, \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../lib/eal/include/rte_bitops.h:511:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_assign32, \ ^ ../app/test/test_bitops.c:119:18: note: in expansion of macro ‘rte_bit_atomic_test_and_assign’ old_value = rte_bit_atomic_test_and_assign( \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../lib/eal/include/rte_bitops.h:460:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_set32, \ ^ ../app/test/test_bitops.c:124:7: note: in expansion of macro ‘rte_bit_atomic_test_and_set’ rte_bit_atomic_test_and_set( \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../lib/eal/include/rte_bitops.h:485:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_clear32, \ ^ ../app/test/test_bitops.c:127:7: note: in expansion of macro ‘rte_bit_atomic_test_and_clear’ rte_bit_atomic_test_and_clear( \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../lib/eal/include/rte_bitops.h:435:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_assign32, \ ^ ../app/test/test_bitops.c:137:6: note: in expansion of macro ‘rte_bit_atomic_assign’ rte_bit_atomic_assign(lcore->word, lcore->bit, \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../lib/eal/include/rte_bitops.h:389:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_set32, \ ^ ../app/test/test_bitops.c:142:7: note: in expansion of macro ‘rte_bit_atomic_set’ rte_bit_atomic_set( \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../lib/eal/include/rte_bitops.h:411:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_clear32, \ ^ ../app/test/test_bitops.c:146:7: note: in expansion of macro ‘rte_bit_atomic_clear’ rte_bit_atomic_clear( \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_assign_64’: ../app/test/test_bitops.c:163:41: error: ‘main’ is usually a function [-Werror=main] struct parallel_access_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:198:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_ASSIGN’ GEN_TEST_BIT_PARALLEL_ASSIGN(64) ^ In file included from ../app/test/test_bitops.c:9:0: ../app/test/test_bitops.c: In function ‘run_parallel_test_and_modify_32’: ../lib/eal/include/rte_bitops.h:511:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_assign32, \ ^ ../app/test/test_bitops.c:221:17: note: in expansion of macro ‘rte_bit_atomic_test_and_assign’ old_value = rte_bit_atomic_test_and_assign( \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ ../lib/eal/include/rte_bitops.h:460:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_set32, \ ^ ../app/test/test_bitops.c:226:6: note: in expansion of macro ‘rte_bit_atomic_test_and_set’ rte_bit_atomic_test_and_set( \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ ../lib/eal/include/rte_bitops.h:485:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_clear32, \ ^ ../app/test/test_bitops.c:229:6: note: in expansion of macro ‘rte_bit_atomic_test_and_clear’ rte_bit_atomic_test_and_clear( \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_32’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:132:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:272:33: note: in expansion of macro ‘rte_bit_test’ TEST_ASSERT(expected_value == rte_bit_test(&word, bit), \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ In file included from ../app/test/test_bitops.c:9:0: ../lib/eal/include/rte_bitops.h:202:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_assign32, \ ^ ../app/test/test_bitops.c:277:3: note: in expansion of macro ‘rte_bit_assign’ rte_bit_assign(&expected_word, bit, expected_value); \ ^ ../app/test/test_bitops.c:285:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(32) ^ ../app/test/test_bitops.c: In function ‘run_parallel_test_and_modify_64’: ../lib/eal/include/rte_bitops.h:511:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_assign32, \ ^ ../app/test/test_bitops.c:221:17: note: in expansion of macro ‘rte_bit_atomic_test_and_assign’ old_value = rte_bit_atomic_test_and_assign( \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ ../lib/eal/include/rte_bitops.h:460:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_set32, \ ^ ../app/test/test_bitops.c:226:6: note: in expansion of macro ‘rte_bit_atomic_test_and_set’ rte_bit_atomic_test_and_set( \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ ../lib/eal/include/rte_bitops.h:485:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_atomic_test_and_clear32, \ ^ ../app/test/test_bitops.c:229:6: note: in expansion of macro ‘rte_bit_atomic_test_and_clear’ rte_bit_atomic_test_and_clear( \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ ../app/test/test_bitops.c: In function ‘test_bit_atomic_parallel_test_and_modify_64’: ../app/test/test_bitops.c:245:47: error: ‘main’ is usually a function [-Werror=main] struct parallel_test_and_set_lcore_ ## size main = { \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ In file included from ../app/test/test.h:28:0, from ../app/test/test_bitops.c:14: ../lib/eal/include/rte_bitops.h:132:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_test32, \ ^ ../lib/eal/include/rte_test.h:20:8: note: in definition of macro ‘RTE_TEST_ASSERT’ if (!(cond)) { \ ^ ../app/test/test_bitops.c:272:33: note: in expansion of macro ‘rte_bit_test’ TEST_ASSERT(expected_value == rte_bit_test(&word, bit), \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ In file included from ../app/test/test_bitops.c:9:0: ../lib/eal/include/rte_bitops.h:202:4: error: expected expression before ‘uint32_t’ uint32_t *: __rte_bit_assign32, \ ^ ../app/test/test_bitops.c:277:3: note: in expansion of macro ‘rte_bit_assign’ rte_bit_assign(&expected_word, bit, expected_value); \ ^ ../app/test/test_bitops.c:286:1: note: in expansion of macro ‘GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY’ GEN_TEST_BIT_PARALLEL_TEST_AND_MODIFY(64) ^ cc1: all warnings being treated as errors [2556/2906] Compiling C object app/dpdk-test.p/test_test_acl.c.o [2557/2906] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o [2558/2906] Compiling C object app/dpdk-test.p/test_test.c.o [2559/2906] Compiling C object app/dpdk-test.p/test_test_bitmap.c.o [2560/2906] Compiling C object app/dpdk-test.p/test_test_argparse.c.o [2561/2906] Linking target app/dpdk-test-regex [2562/2906] Linking target app/dpdk-test-sad [2563/2906] Compiling C object examples/dpdk-ipsec-secgw.p/ipsec-secgw_event_helper.c.o [2564/2906] Linking target app/dpdk-test-security-perf ninja: build stopped DPDK STV team