Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit 90077256580e8178a0b94ca57ef31f9e226db3a2 Author: Christian Ehrhardt Date: Mon Dec 20 08:44:30 2021 +0100 version: 19.11.11-rc2 DPDK git Repo: dpdk-stable Meson Build Summary: 21 Builds Done, 18 Successful, 3 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +--------------+------------+--------------+------------+------------+-----------+----------+ | FC35-64 | pass | pass | | | | | | FreeBSD13-64 | pass | pass | | pass | fail | | | RHEL84-64 | pass | pass | fail | pass | pass | | | SUSE15-64 | pass | pass | | | | | | UB2004-32 | pass | | | | | | | UB2004-64 | pass | pass | fail | | | pass | | UB2004-64N | pass | | | pass | | | | UB2110-64 | pass | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: FC35-64 Kernel Version: 5.14.16-301.fc35.x86_64 GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL84-64 Kernel Version: 4.18.0-305.19.1.el8_4.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc 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-icc x86_64-native-linuxapp-doc OS: UB2004-64N Kernel Version: 5.11.16-051116-generic GCC Version: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.c.o gcc -Idrivers/libtmp_rte_pmd_skeleton_event.a.p -Idrivers -I../drivers -Idrivers/event/skeleton -I../drivers/event/skeleton -Ilib/librte_eventdev -I../lib/librte_eventdev -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 -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-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 -MD -MQ drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.c.o -MF drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.c.o.d -o drivers/libtmp_rte_pmd_skeleton_event.a.p/event_skeleton_skeleton_eventdev.c.o -c ../drivers/event/skeleton/skeleton_eventdev.c In file included from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/event/skeleton/skeleton_eventdev.c:14: ../drivers/event/skeleton/skeleton_eventdev.c: In function 'skeleton_eventdev_remove': ../lib/librte_eal/common/include/rte_log.h:336:3: error: '%s' directive argument is null [-Werror=format-overflow=] 336 | rte_log(RTE_LOG_ ## l, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 337 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/event/skeleton/skeleton_eventdev.h:13:2: note: in expansion of macro 'RTE_LOG' 13 | RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args) | ^~~~~~~ ../drivers/event/skeleton/skeleton_eventdev.c:467:2: note: in expansion of macro 'PMD_DRV_LOG' 467 | PMD_DRV_LOG(INFO, "Closing %s on NUMA node %d", name, rte_socket_id()); | ^~~~~~~~~~~ cc1: all warnings being treated as errors [1156/1594] Generating rte_pmd_qat.exp_chk with a custom command (wrapped by meson to capture output) [1157/1594] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_evdev_selftest.c.o [1158/1594] Compiling C object drivers/libtmp_rte_pmd_opdl_event.a.p/event_opdl_opdl_test.c.o [1159/1594] Compiling C object drivers/libtmp_rte_pmd_sw_event.a.p/event_sw_sw_evdev_scheduler.c.o [1160/1594] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_tim_worker.c.o [1161/1594] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_evdev.c.o [1162/1594] Compiling C object drivers/libtmp_rte_pmd_opdl_event.a.p/event_opdl_opdl_ring.c.o [1163/1594] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker.c.o [1164/1594] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped *Build Failed #2: OS: RHEL84-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o icc -Ilib/librte_ethdev.a.p -Ilib -I../lib -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 -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o -MF lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o.d -o lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o -c ../lib/librte_ethdev/rte_tm.c In file included from ../lib/librte_ethdev/rte_ethdev.h(159), from ../lib/librte_ethdev/rte_tm.c(8): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_ethdev/rte_tm.c (code 2) [9/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_devargs.c.o [10/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_dev.c.o [11/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_hypervisor.c.o [12/2195] Compiling C object buildtools/pmdinfogen/pmdinfogen.p/pmdinfogen.c.o [13/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_launch.c.o [14/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_hexdump.c.o [15/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_lcore.c.o [16/2195] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_fbarray.c.o [17/2195] Generating kvargs.exp_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #3: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: lib/librte_net.a.p/librte_net_rte_arp.c.o icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_arp.c.o -MF lib/librte_net.a.p/librte_net_rte_arp.c.o.d -o lib/librte_net.a.p/librte_net_rte_arp.c.o -c ../lib/librte_net/rte_arp.c In file included from ../lib/librte_net/rte_arp.h(15), from ../lib/librte_net/rte_arp.c(7): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_net/rte_arp.c (code 2) [72/2185] Generating net_def with a custom command [73/2185] Compiling C object lib/librte_mempool.a.p/librte_mempool_rte_mempool.c.o [74/2185] Compiling C object lib/librte_net.a.p/librte_net_rte_ether.c.o FAILED: lib/librte_net.a.p/librte_net_rte_ether.c.o icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_ether.c.o -MF lib/librte_net.a.p/librte_net_rte_ether.c.o.d -o lib/librte_net.a.p/librte_net_rte_ether.c.o -c ../lib/librte_net/rte_ether.c In file included from ../lib/librte_net/rte_ether.c(7): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_net/rte_ether.c (code 2) [75/2185] Generating ring.exp_chk with a meson_exe.py custom command [76/2185] Compiling C object lib/librte_net.a.p/librte_net_rte_net.c.o FAILED: lib/librte_net.a.p/librte_net_rte_net.c.o icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_net.c.o -MF lib/librte_net.a.p/librte_net_rte_net.c.o.d -o lib/librte_net.a.p/librte_net_rte_net.c.o -c ../lib/librte_net/rte_net.c In file included from ../lib/librte_net/rte_net.c(10): ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type uint16_t *from_words = (uint16_t *)(ea_from->addr_bytes); ^ compilation aborted for ../lib/librte_net/rte_net.c (code 2) [77/2185] Compiling C object lib/librte_net.a.p/librte_net_rte_net_crc.c.o [78/2185] Compiling C object lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o [79/2185] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_dyn.c.o [80/2185] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf.c.o ninja: build stopped DPDK STV team