Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/112431 _Compilation issues_ Submitter: Ido Goshen Date: 2022-06-07 06:27:28 Reply_mail: <20220607062728.9439-1-ido@cgstowernetworks.com> DPDK git baseline: Repo:dpdk-next-net, CommitID: 327ef5065996356e1a4b77fb93c85737c99bb8fe Meson Build Summary: 21 Builds Done, 17 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | | pass | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.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: 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-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o gcc -Idrivers/libtmp_rte_net_pcap.a.p -Idrivers -I../drivers -Idrivers/net/pcap -I../drivers/net/pcap -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.pcap -MD -MQ drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -MF drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o.d -o drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -c ../drivers/net/pcap/pcap_osdep_freebsd.c In file included from ../drivers/net/pcap/pcap_osdep_freebsd.c:14: ../drivers/net/pcap/pcap_osdep_freebsd.c: In function 'osdep_iface_mtu_set': ../drivers/net/pcap/pcap_osdep.h:11:10: error: 'RTE_LOG_WARN' undeclared (first use in this function); did you mean 'RTE_LOG_ERR'? 11 | rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ | ^~~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: note: in expansion of macro 'PMD_LOG' 64 | PMD_LOG(WARN, "mtu set not supported on freebsd\n"); | ^~~~~~~ ../drivers/net/pcap/pcap_osdep.h:11:10: note: each undeclared identifier is reported only once for each function it appears in 11 | rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ | ^~~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: note: in expansion of macro 'PMD_LOG' 64 | PMD_LOG(WARN, "mtu set not supported on freebsd\n"); | ^~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:33: error: unused parameter 'if_name' [-Werror=unused-parameter] 62 | osdep_iface_mtu_set(const char *if_name, uint16_t mtu) | ~~~~~~~~~~~~^~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:51: error: unused parameter 'mtu' [-Werror=unused-parameter] 62 | osdep_iface_mtu_set(const char *if_name, uint16_t mtu) | ~~~~~~~~~^~~ cc1: all warnings being treated as errors [1278/2027] Generating rte_net_null.pmd.c with a custom command [1279/2027] Linking static target drivers/libtmp_rte_net_octeontx_ep.a [1280/2027] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1281/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/bcm_osal.c.o [1282/2027] Generating rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output) [1283/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_dcbx.c.o [1284/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_cxt.c.o [1285/2027] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o [1286/2027] Compiling C object drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_ethdev.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o clang -Idrivers/libtmp_rte_net_pcap.a.p -Idrivers -I../drivers -Idrivers/net/pcap -I../drivers/net/pcap -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.pcap -MD -MQ drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -MF drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o.d -o drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -c ../drivers/net/pcap/pcap_osdep_freebsd.c ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: error: use of undeclared identifier 'RTE_LOG_WARN' PMD_LOG(WARN, "mtu set not supported on freebsd\n"); ^ ../drivers/net/pcap/pcap_osdep.h:11:10: note: expanded from macro 'PMD_LOG' rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ ^ :20:1: note: expanded from here RTE_LOG_WARN ^ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:33: error: unused parameter 'if_name' [-Werror,-Wunused-parameter] osdep_iface_mtu_set(const char *if_name, uint16_t mtu) ^ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:51: error: unused parameter 'mtu' [-Werror,-Wunused-parameter] osdep_iface_mtu_set(const char *if_name, uint16_t mtu) ^ 3 errors generated. [840/2027] Linking target drivers/librte_net_null.so.22.2 [841/2027] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) [842/2027] Generating rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output) [843/2027] Generating rte_net_octeontx_ep.sym_chk with a custom command (wrapped by meson to capture output) [844/2027] Generating rte_net_ngbe.pmd.c with a custom command [845/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_init_ops.c.o [846/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_init_fw_funcs.c.o [847/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_hw.c.o [848/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_dev.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o gcc -Idrivers/libtmp_rte_net_pcap.a.p -Idrivers -I../drivers -Idrivers/net/pcap -I../drivers/net/pcap -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.pcap -MD -MQ drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -MF drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o.d -o drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -c ../drivers/net/pcap/pcap_osdep_freebsd.c In file included from ../drivers/net/pcap/pcap_osdep_freebsd.c:14: ../drivers/net/pcap/pcap_osdep_freebsd.c: In function 'osdep_iface_mtu_set': ../drivers/net/pcap/pcap_osdep.h:11:10: error: 'RTE_LOG_WARN' undeclared (first use in this function); did you mean 'RTE_LOG_ERR'? 11 | rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ | ^~~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: note: in expansion of macro 'PMD_LOG' 64 | PMD_LOG(WARN, "mtu set not supported on freebsd\n"); | ^~~~~~~ ../drivers/net/pcap/pcap_osdep.h:11:10: note: each undeclared identifier is reported only once for each function it appears in 11 | rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ | ^~~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: note: in expansion of macro 'PMD_LOG' 64 | PMD_LOG(WARN, "mtu set not supported on freebsd\n"); | ^~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:33: error: unused parameter 'if_name' [-Werror=unused-parameter] 62 | osdep_iface_mtu_set(const char *if_name, uint16_t mtu) | ~~~~~~~~~~~~^~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:51: error: unused parameter 'mtu' [-Werror=unused-parameter] 62 | osdep_iface_mtu_set(const char *if_name, uint16_t mtu) | ~~~~~~~~~^~~ cc1: all warnings being treated as errors [1302/1929] Generating rte_net_null.pmd.c with a custom command [1303/1929] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output) [1304/1929] Generating rte_net_octeontx_ep.pmd.c with a custom command [1305/1929] Compiling C object drivers/net/qede/base/libqede_base.a.p/bcm_osal.c.o [1306/1929] Generating rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output) [1307/1929] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_dcbx.c.o [1308/1929] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_cxt.c.o [1309/1929] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o [1310/1929] Compiling C object drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_ethdev.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o gcc -Idrivers/libtmp_rte_net_pcap.a.p -Idrivers -I../drivers -Idrivers/net/pcap -I../drivers/net/pcap -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.pcap -MD -MQ drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -MF drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o.d -o drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_osdep_freebsd.c.o -c ../drivers/net/pcap/pcap_osdep_freebsd.c In file included from ../drivers/net/pcap/pcap_osdep_freebsd.c:14: ../drivers/net/pcap/pcap_osdep_freebsd.c: In function 'osdep_iface_mtu_set': ../drivers/net/pcap/pcap_osdep.h:11:10: error: 'RTE_LOG_WARN' undeclared (first use in this function); did you mean 'RTE_LOG_ERR'? 11 | rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ | ^~~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: note: in expansion of macro 'PMD_LOG' 64 | PMD_LOG(WARN, "mtu set not supported on freebsd\n"); | ^~~~~~~ ../drivers/net/pcap/pcap_osdep.h:11:10: note: each undeclared identifier is reported only once for each function it appears in 11 | rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \ | ^~~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:64:2: note: in expansion of macro 'PMD_LOG' 64 | PMD_LOG(WARN, "mtu set not supported on freebsd\n"); | ^~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:33: error: unused parameter 'if_name' [-Werror=unused-parameter] 62 | osdep_iface_mtu_set(const char *if_name, uint16_t mtu) | ~~~~~~~~~~~~^~~~~~~ ../drivers/net/pcap/pcap_osdep_freebsd.c:62:51: error: unused parameter 'mtu' [-Werror=unused-parameter] 62 | osdep_iface_mtu_set(const char *if_name, uint16_t mtu) | ~~~~~~~~~^~~ cc1: all warnings being treated as errors [1281/2027] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_ethdev.c.o [1282/2027] Generating rte_net_null.pmd.c with a custom command [1283/2027] Generating rte_net_octeontx_ep.pmd.c with a custom command [1284/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/bcm_osal.c.o [1285/2027] Generating rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output) [1286/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_cxt.c.o [1287/2027] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_dcbx.c.o [1288/2027] Compiling C object drivers/libtmp_rte_net_pcap.a.p/net_pcap_pcap_ethdev.c.o [1289/2027] Compiling C object drivers/libtmp_rte_net_ngbe.a.p/net_ngbe_ngbe_rxtx.c.o ninja: build stopped DPDK STV team