Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/152993 _Compilation issues_ Submitter: Ivan Malov Date: 2025-04-16 14:00:16 Reply_mail: <20250416140016.36127-47-ivan.malov@arknetworks.am> DPDK git baseline: Repo:dpdk-next-net, CommitID: ca1690ebd224f148268285b15b97441ccdbdd07e Meson Build Summary: 23 Builds Done, 19 Successful, 4 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.9-64 | pass | | | | | | | | FreeBSD14-64 | fail | fail | | fail | fail | | | | RHEL94-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | AzureLinux3.0-64 | pass | | | | | | | | UB2404-32 | pass | | | | | | | | RHEL10-64 | pass | | | | | | | | UB2404-64 | pass | pass | | | | pass | pass | | RHEL95-64Rt | pass | | | | | | | | UB2410-64 | pass | | | | | | | | FC41-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.9-64 Kernel Version: 5.10.134-16.2.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1) Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc) x86_64-native-linuxapp-gcc OS: FreeBSD14-64 Kernel Version: 14.2-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 13.3.0 Clang Version: 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67) 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: 6.4.0-150600.21-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 17.0.6 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: AzureLinux3.0-64 Kernel Version: 6.6.47.1-1.azl3 GCC Version: gcc (GCC) 13.2.0 Clang Version: 18.1.2 x86_64-native-linuxapp-gcc OS: UB2404-32 Kernel Version: 6.8.0-41-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL10-64 Kernel Version: 6.11.0-0.rc5.23.el10.x86_64 GCC Version: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1) Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-1.el10) x86_64-native-linuxapp-gcc OS: UB2404-64 Kernel Version: 6.8.0-41-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: RHEL95-64Rt Kernel Version: 5.14.0-503.11.1.el9_5.x86_64+rt GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2) Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-3.el9) x86_64-native-linuxapp-gcc OS: UB2410-64 Kernel Version: 6.11.0-8-generic GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0 Clang Version: 19.1.1 (1ubuntu1) x86_64-native-linuxapp-gcc OS: FC41-64 Kernel Version: 6.11.4-301.fc41.x86_64 GCC Version: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) Clang Version: 19.1.5 (Fedora 19.1.5-1.fc41) 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: NA x86_64-native-linuxapp-gcc *Build Failed #1: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc FAILED: drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o gcc -Idrivers/libtmp_rte_net_sfc.a.p -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -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/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -MF drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o.d -o drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -c ../drivers/net/sfc/sfc_ethdev.c ../drivers/net/sfc/sfc_ethdev.c: In function 'sfc_dev_speed_lanes_get_capa': ../drivers/net/sfc/sfc_ethdev.c:426:24: error: 'ENODATA' undeclared (first use in this function) 426 | ret = -ENODATA; | ^~~~~~~ ../drivers/net/sfc/sfc_ethdev.c:426:24: note: each undeclared identifier is reported only once for each function it appears in [1434/2222] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o [1435/2222] Compiling C object drivers/libtmp_rte_net_r8169.a.p/net_r8169_base_rtl8126a.c.o [1436/2222] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mcdi.c.o [1437/2222] Compiling C object drivers/libtmp_rte_net_r8169.a.p/net_r8169_base_rtl8125a_mcu.c.o [1438/2222] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc.c.o [1439/2222] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o [1440/2222] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sriov.c.o [1441/2222] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sw_stats.c.o [1442/2222] Compiling C object drivers/libtmp_rte_net_ring.a.p/net_ring_rte_eth_ring.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o clang -Idrivers/libtmp_rte_net_sfc.a.p -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -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/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -MF drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o.d -o drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -c ../drivers/net/sfc/sfc_ethdev.c ../drivers/net/sfc/sfc_ethdev.c:426:10: error: use of undeclared identifier 'ENODATA' 426 | ret = -ENODATA; | ^ 1 error generated. [1431/2193] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mcdi.c.o [1432/2193] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sriov.c.o [1433/2193] Generating drivers/rte_net_qede.pmd.c with a custom command [1434/2193] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc.c.o [1435/2193] Generating drivers/rte_net_r8169.pmd.c with a custom command [1436/2193] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_intr.c.o [1437/2193] Compiling C object drivers/libtmp_rte_net_ring.a.p/net_ring_rte_eth_ring.c.o [1438/2193] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sw_stats.c.o [1439/2193] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ev.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o gcc -Idrivers/libtmp_rte_net_sfc.a.p -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -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/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -MF drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o.d -o drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -c ../drivers/net/sfc/sfc_ethdev.c ../drivers/net/sfc/sfc_ethdev.c: In function 'sfc_dev_speed_lanes_get_capa': ../drivers/net/sfc/sfc_ethdev.c:426:24: error: 'ENODATA' undeclared (first use in this function) 426 | ret = -ENODATA; | ^~~~~~~ ../drivers/net/sfc/sfc_ethdev.c:426:24: note: each undeclared identifier is reported only once for each function it appears in [1431/2065] Compiling C object drivers/libtmp_rte_net_r8169.a.p/net_r8169_base_rtl8126a_mcu.c.o [1432/2065] Compiling C object drivers/libtmp_rte_net_r8169.a.p/net_r8169_base_rtl8126a.c.o [1433/2065] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o [1434/2065] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mcdi.c.o [1435/2065] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc.c.o [1436/2065] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o [1437/2065] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sriov.c.o [1438/2065] Compiling C object drivers/libtmp_rte_net_ring.a.p/net_ring_rte_eth_ring.c.o [1439/2065] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sw_stats.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o gcc -Idrivers/libtmp_rte_net_sfc.a.p -Idrivers -I../drivers -Idrivers/net/sfc -I../drivers/net/sfc -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -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 -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/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/sfc_efx -I../drivers/common/sfc_efx -Idrivers/common/sfc_efx/base -I../drivers/common/sfc_efx/base -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wvla -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -Wno-strict-aliasing -Wdisabled-optimization -Waggregate-return -Wbad-function-cast -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sfc -MD -MQ drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -MF drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o.d -o drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o -c ../drivers/net/sfc/sfc_ethdev.c ../drivers/net/sfc/sfc_ethdev.c: In function 'sfc_dev_speed_lanes_get_capa': ../drivers/net/sfc/sfc_ethdev.c:426:24: error: 'ENODATA' undeclared (first use in this function) 426 | ret = -ENODATA; | ^~~~~~~ ../drivers/net/sfc/sfc_ethdev.c:426:24: note: each undeclared identifier is reported only once for each function it appears in [1413/2174] Generating drivers/rte_net_qede.pmd.c with a custom command [1414/2174] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mcdi.c.o [1415/2174] Generating drivers/rte_net_r8169.pmd.c with a custom command [1416/2174] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o [1417/2174] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sriov.c.o [1418/2174] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_intr.c.o [1419/2174] Compiling C object drivers/libtmp_rte_net_ring.a.p/net_ring_rte_eth_ring.c.o [1420/2174] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sw_stats.c.o [1421/2174] Compiling C object drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc.c.o ninja: build stopped DPDK STV team