Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/142081 _Compilation issues_ Submitter: Date: 2024-07-03 11:16:44 Reply_mail: <20240703111644.1523242-9-vanshika.shukla@nxp.com> DPDK git baseline: Repo:dpdk-next-net, CommitID: fbba6db3640f9f623c29c452e1a6b057073e81d2 Meson Build Summary: 23 Builds Done, 22 Successful, 1 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 | | | | RHEL94-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2404-32 | pass | | | | | | | | RHEL93-64 | pass | | | | | | | | UB2404-64 | pass | pass | | | | pass | pass | | RHEL94-64Rt | pass | | | | | | | | UB2204-64 | pass | | | | | | | | FC40-64 | pass | pass | | | | | | | UB2404-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: RHEL94-64 Kernel Version: 5.14.0-427.13.1.el9_4.x86_64 GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.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: UB2404-32 Kernel Version: 6.8.0-31-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL93-64 Kernel Version: 5.14.0-362.8.1.el9_3.x86_64 GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9) x86_64-native-linuxapp-gcc OS: UB2404-64 Kernel Version: 6.8.0-31-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: 18.1.3 (1) x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: RHEL94-64Rt Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9) x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-94-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 OS: FC40-64 Kernel Version: 6.8.5-301.fc40.x86_64 GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0) Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2404-64Rt Kernel Version: 6.8.0-rt8 GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: 18.1.3 (1) x86_64-native-linuxapp-gcc *Build Failed #1: OS: OpenAnolis8.8-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o gcc -Idrivers/libtmp_rte_net_dpaa.a.p -Idrivers -I../drivers -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/ethdev -I../lib/ethdev -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 -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 -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.dpaa -MD -MQ drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o -MF drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o.d -o drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o -c ../drivers/net/dpaa/dpaa_ethdev.c ../drivers/net/dpaa/dpaa_ethdev.c: In function ‘dpaa_eth_dev_configure’: ../drivers/net/dpaa/dpaa_ethdev.c:240:3: error: ‘strncpy’ specified bound 16 equals destination size [-Werror=stringop-truncation] strncpy(ifr.ifr_name, dpaa_intf->name, IFNAMSIZ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1292/2914] Generating drivers/rte_net_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [1293/2914] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_flow.c.o [1294/2914] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_base_t4_hw.c.o [1295/2914] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_fmc.c.o [1296/2914] Generating drivers/rte_net_cpfl.pmd.c with a custom command [1297/2914] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_base_dpaa2_tlu_hash.c.o [1298/2914] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_base_dpaa2_hw_dpni.c.o [1299/2914] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_tm.c.o [1300/2914] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o ninja: build stopped DPDK STV team