Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/154517 _Compilation issues_ Submitter: Soumyadeep Hore Date: 2025-06-17 00:14:29 Reply_mail: <20250617001429.551262-5-soumyadeep.hore@intel.com> DPDK git baseline: Repo:dpdk, CommitID: dbeb8ae8d09387bd525353f4a5aa6ec152cddffa 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.10-64 | pass | | | | | | | | FreeBSD14-64 | fail | fail | | fail | fail | | | | RHEL96-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 | | RHEL96-64RT | pass | | | | | | | | UB2504-64 | pass | | | | | | | | FC42-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.10-64 Kernel Version: 5.10.134-18.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1) Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3) 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: RHEL96-64 Kernel Version: 5.14.0-570.12.1.el9_6.x86_64 GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5) Clang Version: 19.1.7 (Red Hat, Inc. 19.1.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: 6.4.0-150700.51-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.3.0-6ubuntu2~24.04) 13.3.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL10-64 Kernel Version: 6.12.0-55.9.1.el10_0.x86_64 GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7) Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10) x86_64-native-linuxapp-gcc OS: UB2404-64 Kernel Version: 6.8.0-41-generic GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.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: RHEL96-64RT Kernel Version: 5.14.0-570.12.1.el9_6.x86_64 GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5) Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2504-64 Kernel Version: 6.14.0-15-generic GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC42-64 Kernel Version: 6.14.0-63.fc42.x86_64 GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0) Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2404-64RT Kernel Version: 6.8.0-rt8 GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.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_ice.a.p/net_intel_ice_ice_ethdev.c.o gcc -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/intel/ice -I../drivers/net/intel/ice -Idrivers/net/intel/ice/base -I../drivers/net/intel/ice/base -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/net/intel/iavf -I../drivers/net/intel/iavf -I../drivers/net/intel/iavf/base -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -c ../drivers/net/intel/ice/ice_ethdev.c ../drivers/net/intel/ice/ice_ethdev.c: In function 'eth_ice_read_clock': ../drivers/net/intel/ice/ice_ethdev.c:6946:23: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'? 6946 | clock_gettime(CLOCK_MONOTONIC_RAW, &system_time); | ^~~~~~~~~~~~~~~~~~~ | CLOCK_MONOTONIC_FAST ../drivers/net/intel/ice/ice_ethdev.c:6946:23: note: each undeclared identifier is reported only once for each function it appears in [1228/2246] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_acl_filter.c.o [1229/2246] Compiling C object drivers/librte_net_iavf_base_lib.a.p/net_intel_ice_base_ice_parser_rt.c.o [1230/2246] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_diagnose.c.o [1231/2246] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_generic_flow.c.o [1232/2246] Generating symbol file drivers/librte_net_iavf.so.25.2.p/librte_net_iavf.so.25.2.symbols [1233/2246] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_hash.c.o [1234/2246] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_fdir_filter.c.o [1235/2246] Compiling C object drivers/librte_net_ice_avx2_lib.a.p/net_intel_ice_ice_rxtx_vec_avx2.c.o [1236/2246] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-clang FAILED: drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o clang -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/intel/ice -I../drivers/net/intel/ice -Idrivers/net/intel/ice/base -I../drivers/net/intel/ice/base -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/net/intel/iavf -I../drivers/net/intel/iavf -I../drivers/net/intel/iavf/base -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -DRTE_ANNOTATE_LOCKS -Wthread-safety -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -c ../drivers/net/intel/ice/ice_ethdev.c ../drivers/net/intel/ice/ice_ethdev.c:6946:16: error: use of undeclared identifier 'CLOCK_MONOTONIC_RAW' 6946 | clock_gettime(CLOCK_MONOTONIC_RAW, &system_time); | ^ 1 error generated. [1232/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_hash.c.o [1233/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_fdir_filter.c.o [1234/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_tm.c.o [1235/2228] Compiling C object drivers/librte_net_ice_avx512_lib.a.p/net_intel_ice_ice_rxtx_vec_avx512.c.o [1236/2228] Compiling C object drivers/librte_net_ice_avx2_lib.a.p/net_intel_ice_ice_rxtx_vec_avx2.c.o [1237/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_dcf.c.o [1238/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_rxtx_vec_sse.c.o [1239/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_switch_filter.c.o [1240/2228] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o gcc -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/intel/ice -I../drivers/net/intel/ice -Idrivers/net/intel/ice/base -I../drivers/net/intel/ice/base -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/net/intel/iavf -I../drivers/net/intel/iavf -I../drivers/net/intel/iavf/base -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -c ../drivers/net/intel/ice/ice_ethdev.c ../drivers/net/intel/ice/ice_ethdev.c: In function 'eth_ice_read_clock': ../drivers/net/intel/ice/ice_ethdev.c:6946:23: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'? 6946 | clock_gettime(CLOCK_MONOTONIC_RAW, &system_time); | ^~~~~~~~~~~~~~~~~~~ | CLOCK_MONOTONIC_FAST ../drivers/net/intel/ice/ice_ethdev.c:6946:23: note: each undeclared identifier is reported only once for each function it appears in [1235/2099] Compiling C object drivers/librte_net_iavf_base_lib.a.p/net_intel_ice_base_ice_parser_rt.c.o [1236/2099] Generating symbol file drivers/librte_net_iavf.so.25.2.p/librte_net_iavf.so.25.2.symbols [1237/2099] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_generic_flow.c.o [1238/2099] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_hash.c.o [1239/2099] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_tm.c.o [1240/2099] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_fdir_filter.c.o [1241/2099] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_switch_filter.c.o [1242/2099] Compiling C object drivers/librte_net_ice_avx2_lib.a.p/net_intel_ice_ice_rxtx_vec_avx2.c.o [1243/2099] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_rxtx.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD14-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o gcc -Idrivers/libtmp_rte_net_ice.a.p -Idrivers -I../drivers -Idrivers/net/intel/ice -I../drivers/net/intel/ice -Idrivers/net/intel/ice/base -I../drivers/net/intel/ice/base -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/net/intel/iavf -I../drivers/net/intel/iavf -I../drivers/net/intel/iavf/base -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -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 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.ice -MD -MQ drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -MF drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o.d -o drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_ethdev.c.o -c ../drivers/net/intel/ice/ice_ethdev.c ../drivers/net/intel/ice/ice_ethdev.c: In function 'eth_ice_read_clock': ../drivers/net/intel/ice/ice_ethdev.c:6946:23: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function); did you mean 'CLOCK_MONOTONIC_FAST'? 6946 | clock_gettime(CLOCK_MONOTONIC_RAW, &system_time); | ^~~~~~~~~~~~~~~~~~~ | CLOCK_MONOTONIC_FAST ../drivers/net/intel/ice/ice_ethdev.c:6946:23: note: each undeclared identifier is reported only once for each function it appears in [1208/2209] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_acl_filter.c.o [1209/2209] Compiling C object drivers/librte_net_iavf_base_lib.a.p/net_intel_ice_base_ice_fdir.c.o [1210/2209] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_diagnose.c.o [1211/2209] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_generic_flow.c.o [1212/2209] Compiling C object drivers/librte_net_iavf_avx2_lib.a.p/net_intel_iavf_iavf_rxtx_vec_avx2.c.o [1213/2209] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_hash.c.o [1214/2209] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_fdir_filter.c.o [1215/2209] Compiling C object drivers/libtmp_rte_net_ice.a.p/net_intel_ice_ice_rxtx.c.o [1216/2209] Compiling C object drivers/librte_net_ice_avx2_lib.a.p/net_intel_ice_ice_rxtx_vec_avx2.c.o ninja: build stopped DPDK STV team