Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit d8f0f514428ef3c07c9b75f590d75a6addd970f2 Author: Thomas Monjalon Date: Fri Sep 19 20:16:42 2025 +0200 eal/x86: remove useless include from spinlock header DPDK git Repo: dpdk-next-net Meson Build Summary: 25 Builds Done, 23 Successful, 2 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.10-64 | pass | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL96-64 | fail | pass | | pass | fail | | | | SUSE15-64 | pass | pass | | | | | | | AzureLinux3.0-64 | pass | | | | | | | | UB2404-32 | pass | | | | | | | | RHEL10-64 | pass | | | | | | | | UB2404-64N | pass | | | pass | | | | | UB2404-64 | pass | pass | | | | pass | pass | | RHEL10-64RT | pass | | | | | | | | UB2504-64 | pass | | | | | | | | Fedora42-64 | pass | pass | | | | | | | OpenEuler2404-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: 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.3-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 13.3.0 Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) 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) 14.2.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-64N Kernel Version: 6.10.8-061008-generic GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 Clang Version: NA x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared 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: 18.1.3 (1ubuntu1) x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: RHEL10-64RT Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt 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: 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: Fedora42-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: OpenEuler2404-64 Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64 GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2) Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2) x86_64-native-linuxapp-gcc *Build Failed #1: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc FAILED: lib/librte_hash.a.p/hash_rte_thash.c.o gcc -Ilib/librte_hash.a.p -Ilib -I../lib -Ilib/hash -I../lib/hash -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.hash -MD -MQ lib/librte_hash.a.p/hash_rte_thash.c.o -MF lib/librte_hash.a.p/hash_rte_thash.c.o.d -o lib/librte_hash.a.p/hash_rte_thash.c.o -c ../lib/hash/rte_thash.c ../lib/hash/rte_thash.c: In function ‘rte_thash_gfni_supported’: ../lib/hash/rte_thash.c:79:13: error: implicit declaration of function ‘rte_cpu_get_flag_enabled’ [-Werror=implicit-function-declaration] 79 | if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_GFNI) && | ^~~~~~~~~~~~~~~~~~~~~~~~ ../lib/hash/rte_thash.c:79:13: error: nested extern declaration of ‘rte_cpu_get_flag_enabled’ [-Werror=nested-externs] ../lib/hash/rte_thash.c:79:38: error: ‘RTE_CPUFLAG_GFNI’ undeclared (first use in this function) 79 | if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_GFNI) && | ^~~~~~~~~~~~~~~~ ../lib/hash/rte_thash.c:79:38: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors [189/3565] Generating lib/cmdline.sym_chk with a custom command (wrapped by meson to capture output) [190/3565] Compiling C object lib/librte_hash.a.p/hash_rte_fbk_hash.c.o [191/3565] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [192/3565] Compiling C object lib/librte_hash.a.p/hash_rte_hash_crc.c.o [193/3565] Compiling C object lib/librte_hash.a.p/hash_rte_thash_gfni.c.o [194/3565] Compiling C object lib/librte_metrics.a.p/metrics_rte_metrics.c.o [195/3565] Compiling C object lib/librte_metrics.a.p/metrics_rte_metrics_telemetry.c.o [196/3565] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o [197/3565] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o ninja: build stopped *Build Failed #2: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: lib/librte_hash.a.p/hash_rte_thash.c.o gcc -Ilib/librte_hash.a.p -Ilib -I../lib -Ilib/hash -I../lib/hash -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -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/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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.hash -MD -MQ lib/librte_hash.a.p/hash_rte_thash.c.o -MF lib/librte_hash.a.p/hash_rte_thash.c.o.d -o lib/librte_hash.a.p/hash_rte_thash.c.o -c ../lib/hash/rte_thash.c ../lib/hash/rte_thash.c: In function ‘rte_thash_gfni_supported’: ../lib/hash/rte_thash.c:79:13: error: implicit declaration of function ‘rte_cpu_get_flag_enabled’ [-Werror=implicit-function-declaration] 79 | if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_GFNI) && | ^~~~~~~~~~~~~~~~~~~~~~~~ ../lib/hash/rte_thash.c:79:13: error: nested extern declaration of ‘rte_cpu_get_flag_enabled’ [-Werror=nested-externs] ../lib/hash/rte_thash.c:79:38: error: ‘RTE_CPUFLAG_GFNI’ undeclared (first use in this function) 79 | if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_GFNI) && | ^~~~~~~~~~~~~~~~ ../lib/hash/rte_thash.c:79:38: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors [209/3565] Compiling C object lib/librte_hash.a.p/hash_rte_thash_gfni.c.o [210/3565] Compiling C object lib/librte_hash.a.p/hash_rte_thash_gf2_poly_math.c.o [211/3565] Generating lib/metrics.sym_chk with a custom command (wrapped by meson to capture output) [212/3565] Compiling C object lib/librte_timer.a.p/timer_rte_timer.c.o [213/3565] Compiling C object lib/librte_acl.a.p/acl_acl_bld.c.o [214/3565] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o [215/3565] Compiling C object lib/librte_acl_avx2_lib.a.p/acl_acl_run_avx2.c.o [216/3565] Compiling C object lib/librte_acl_avx512_lib.a.p/acl_acl_run_avx512.c.o [217/3565] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o ninja: build stopped DPDK STV team