Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/153536 _Compilation issues_ Submitter: Gagandeep Singh Date: 2025-05-20 05:51:33 Reply_mail: <20250520055133.506071-9-g.singh@nxp.com> DPDK git baseline: Repo:dpdk, CommitID: 117e86c4b96ed761e9a7ab766261208fe81bf5ca 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.10-64 | pass | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL96-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | AzureLinux3.0-64 | pass | | | | | | | | UB2404-32 | fail | | | | | | | | 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-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.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: UB2404-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o gcc -Idrivers/libtmp_rte_crypto_dpaa2_sec.a.p -Idrivers -I../drivers -Idrivers/crypto/dpaa2_sec -I../drivers/crypto/dpaa2_sec -I../drivers/crypto/dpaa2_sec/mc -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -I../drivers/net/dpaa2/base -Ilib/cryptodev -I../lib/cryptodev -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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/security -I../lib/security -Ilib/net -I../lib/net -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Ilib/eal/linux -I../lib/eal/linux -Ilib/eventdev -I../lib/eventdev -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -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 -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.dpaa2_sec -MD -MQ drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o -MF drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o.d -o drivers/libtmp_rte_crypto_dpaa2_sec.a.p/crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o -c ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c: In function ‘build_proto_fd’: ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:358:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 358 | op_context = (void **)RTE_ALIGN_FLOOR((uint64_t)op_context, | ^ In file included from ../lib/eal/include/rte_debug.h:17, from ../lib/eal/include/generic/rte_cycles.h:16, from ../lib/eal/x86/include/rte_cycles.h:15, from ../lib/eal/x86/include/rte_spinlock.h:14, from ../lib/mempool/rte_mempool.h:44, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/net/rte_cksum.h:22, from ../lib/net/rte_ip4.h:32, from ../lib/net/rte_ip.h:9, from ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:13: ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:372:59: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Werror=format=] 372 | DPAA2_DYN_TX_MIN_FD_OFFSET); | ^ ../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’ 334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h:15:9: note: in expansion of macro ‘RTE_LOG_LINE’ 15 | RTE_LOG_LINE(level, DPAA2_SEC, __VA_ARGS__) | ^~~~~~~~~~~~ ../drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h:25:9: note: in expansion of macro ‘DPAA2_SEC_LOG’ 25 | DPAA2_SEC_LOG(ERR, fmt, ## __VA_ARGS__) | ^~~~~~~~~~~~~ ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:370:25: note: in expansion of macro ‘DPAA2_SEC_ERR’ 370 | DPAA2_SEC_ERR("ENC FAEAD being overlapped %p < %p + %lu", | ^~~~~~~~~~~~~ ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c: In function ‘dpaa2_sec_simple_fd_to_mbuf’: ../drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c:1613:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 1613 | op_context = (void *)((uint64_t)mbuf + s_dpaa2_sec_cntx_pos); | ^ cc1: all warnings being treated as errors [1923/2625] Generating drivers/rte_crypto_dpaa_sec.pmd.c with a custom command [1924/2625] Generating drivers/rte_compress_nitrox.pmd.c with a custom command [1925/2625] Generating drivers/rte_event_dpaa.pmd.c with a custom command [1926/2625] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_hw_dpcon.c.o [1927/2625] Compiling C object drivers/libtmp_rte_vdpa_ifc.a.p/vdpa_ifc_ifcvf_vdpa.c.o [1928/2625] Generating drivers/rte_crypto_virtio.sym_chk with a custom command (wrapped by meson to capture output) [1929/2625] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev.c.o [1930/2625] Compiling C object drivers/libtmp_rte_crypto_scheduler.a.p/crypto_scheduler_scheduler_multicore.c.o [1931/2625] Compiling C object drivers/libtmp_rte_event_dpaa2.a.p/event_dpaa2_dpaa2_eventdev_selftest.c.o ninja: build stopped DPDK STV team