Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/152790 _Compilation issues_ Submitter: Tirthendu Sarkar <tirthendu.sarkar@intel.com> Date: 2025-04-07 09:19:25 Reply_mail: <20250407091925.3057365-1-tirthendu.sarkar@intel.com> DPDK git baseline: Repo:dpdk, CommitID: 0c4fb260a3dd4e977e88cbf5c8e39289bcc94520 Meson Build Summary: 23 Builds Done, 21 Successful, 2 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.9-64 | fail | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL94-64 | pass | pass | | pass | pass | | | | SUSE15-64 | fail | 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: OpenAnolis8.9-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o gcc -Idrivers/librte_event_dlb2_avx512_lib.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/eventdev -I../lib/eventdev -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/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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -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 -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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=pmd.event.dlb2 -DCC_AVX512_SUPPORT -mavx512f -mavx512vl -mavx512dq -mavx512bw -mavx512cd -MD -MQ drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o -MF drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o.d -o drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o -c ../drivers/event/dlb2/dlb2_avx512.c ../drivers/event/dlb2/dlb2_avx512.c: In function ‘dlb2_build_qes_avx512’: ../drivers/event/dlb2/dlb2_avx512.c:18:25: error: implicit declaration of function ‘_mm512_set_epi8’; did you mean ‘_mm512_set1_epi8’? [-Werror=implicit-function-declaration] __m512i shuffle_mask = _mm512_set_epi8( ^~~~~~~~~~~~~~~ _mm512_set1_epi8 ../drivers/event/dlb2/dlb2_avx512.c:18:25: error: nested extern declaration of ‘_mm512_set_epi8’ [-Werror=nested-externs] ../drivers/event/dlb2/dlb2_avx512.c:18:25: error: incompatible types when initializing type ‘__m512i’ {aka ‘__vector(8) long long int’} using type ‘int’ ../drivers/event/dlb2/dlb2_avx512.c:24:22: error: implicit declaration of function ‘_mm512_set_epi16’; did you mean ‘_mm512_set1_epi16’? [-Werror=implicit-function-declaration] __m512i sched_cmd = _mm512_set_epi16(cmd_weight[3], 0, sched_word[3], 0, 0, 0, 0, 0, ^~~~~~~~~~~~~~~~ _mm512_set1_epi16 ../drivers/event/dlb2/dlb2_avx512.c:24:22: error: nested extern declaration of ‘_mm512_set_epi16’ [-Werror=nested-externs] ../drivers/event/dlb2/dlb2_avx512.c:24:22: error: incompatible types when initializing type ‘__m512i’ {aka ‘__vector(8) long long int’} using type ‘int’ ../drivers/event/dlb2/dlb2_avx512.c:28:16: error: implicit declaration of function ‘_mm512_loadu_epi8’; did you mean ‘_mm512_add_epi8’? [-Werror=implicit-function-declaration] __m512i tmp = _mm512_loadu_epi8((const __m512i *)ev); ^~~~~~~~~~~~~~~~~ _mm512_add_epi8 ../drivers/event/dlb2/dlb2_avx512.c:28:16: error: nested extern declaration of ‘_mm512_loadu_epi8’ [-Werror=nested-externs] ../drivers/event/dlb2/dlb2_avx512.c:28:16: error: incompatible types when initializing type ‘__m512i’ {aka ‘__vector(8) long long int’} using type ‘int’ cc1: all warnings being treated as errors [2571/3279] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2_iface.c.o [2572/3279] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_rte_pmd_dlb2.c.o [2573/3279] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_main.c.o [2574/3279] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_pf.c.o [2575/3279] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn20k_eventdev.c.o [2576/3279] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2_xstats.c.o [2577/3279] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2.c.o [2578/3279] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o [2579/3279] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o ninja: build stopped *Build Failed #2: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o gcc -Idrivers/librte_event_dlb2_avx512_lib.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/eventdev -I../lib/eventdev -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/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/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -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 -Ilib/pci -I../lib/pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.dlb2 -DCC_AVX512_SUPPORT -mavx512f -mavx512vl -mavx512dq -mavx512bw -mavx512cd -MD -MQ drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o -MF drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o.d -o drivers/librte_event_dlb2_avx512_lib.a.p/event_dlb2_dlb2_avx512.c.o -c ../drivers/event/dlb2/dlb2_avx512.c ../drivers/event/dlb2/dlb2_avx512.c: In function ‘dlb2_build_qes_avx512’: ../drivers/event/dlb2/dlb2_avx512.c:18:25: error: implicit declaration of function ‘_mm512_set_epi8’; did you mean ‘_mm512_set1_epi8’? [-Werror=implicit-function-declaration] __m512i shuffle_mask = _mm512_set_epi8( ^~~~~~~~~~~~~~~ _mm512_set1_epi8 ../drivers/event/dlb2/dlb2_avx512.c:18:25: error: nested extern declaration of ‘_mm512_set_epi8’ [-Werror=nested-externs] ../drivers/event/dlb2/dlb2_avx512.c:18:25: error: incompatible types when initializing type ‘__m512i {aka __vector(8) long long int}’ using type ‘int’ ../drivers/event/dlb2/dlb2_avx512.c:24:22: error: implicit declaration of function ‘_mm512_set_epi16’; did you mean ‘_mm512_set1_epi16’? [-Werror=implicit-function-declaration] __m512i sched_cmd = _mm512_set_epi16(cmd_weight[3], 0, sched_word[3], 0, 0, 0, 0, 0, ^~~~~~~~~~~~~~~~ _mm512_set1_epi16 ../drivers/event/dlb2/dlb2_avx512.c:24:22: error: nested extern declaration of ‘_mm512_set_epi16’ [-Werror=nested-externs] ../drivers/event/dlb2/dlb2_avx512.c:24:22: error: incompatible types when initializing type ‘__m512i {aka __vector(8) long long int}’ using type ‘int’ ../drivers/event/dlb2/dlb2_avx512.c:28:16: error: implicit declaration of function ‘_mm512_loadu_epi8’; did you mean ‘_mm512_add_epi8’? [-Werror=implicit-function-declaration] __m512i tmp = _mm512_loadu_epi8((const __m512i *)ev); ^~~~~~~~~~~~~~~~~ _mm512_add_epi8 ../drivers/event/dlb2/dlb2_avx512.c:28:16: error: nested extern declaration of ‘_mm512_loadu_epi8’ [-Werror=nested-externs] ../drivers/event/dlb2/dlb2_avx512.c:28:16: error: incompatible types when initializing type ‘__m512i {aka __vector(8) long long int}’ using type ‘int’ cc1: all warnings being treated as errors [2547/3260] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_tx_cn20k_tx_all_offload.c.o [2548/3260] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_deq_cn20k_deq_all_offload.c.o [2549/3260] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_eventdev.c.o [2550/3260] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2_xstats.c.o [2551/3260] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn20k_eventdev.c.o [2552/3260] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_dlb2.c.o [2553/3260] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn9k_cryptodev_ops.c.o [2554/3260] Compiling C object drivers/libtmp_rte_crypto_octeontx.a.p/crypto_octeontx_otx_cryptodev_ops.c.o [2555/3260] Compiling C object drivers/libtmp_rte_crypto_cnxk.a.p/crypto_cnxk_cn10k_cryptodev_ops.c.o ninja: build stopped DPDK STV team