Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/147053 _Compilation issues_ Submitter: Dmitry Kozlyuk Date: 2024-10-23 23:18:59 Reply_mail: <20241023231859.1323727-1-kozlyuk@bifit.com> DPDK git baseline: Repo:dpdk, CommitID: 90cb8ff8196f9b9c1c2bcee1c94ea583789bb63f 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.9-64 | pass | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL94-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | AzureLinux3.0-64 | pass | | | | | | | | UB2404-32 | fail | | | | | | | | RHEL8.10-64 | pass | | | | | | | | UB2404-64 | pass | pass | | | | pass | pass | | RHEL94-64Rt | pass | | | | | | | | UB2410-64 | pass | | | | | | | | FC40-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.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 13.2.0 Clang Version: 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9) 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: RHEL8.10-64 Kernel Version: 4.18.0-553.el8_10.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-21) Clang Version: 17.0.6 (Red Hat 17.0.6-1.module+el8.10.0+20808+e12784c0) 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: RHEL94-64Rt Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt 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 OS: UB2410-64 Kernel Version: 6.11.0-8-generic GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC40-64 Kernel Version: 6.8.5-301.fc40.x86_64 GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0) Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40) 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: UB2404-32 Target: i686-native-linuxapp-gcc FAILED: lib/librte_eal.a.p/eal_linux_eal_memory.c.o gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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-address-of-packed-member -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 '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_linux_eal_memory.c.o -MF lib/librte_eal.a.p/eal_linux_eal_memory.c.o.d -o lib/librte_eal.a.p/eal_linux_eal_memory.c.o -c ../lib/eal/linux/eal_memory.c In file included from ../lib/log/rte_log.h:22, from ../lib/eal/linux/eal_memory.c:31: ../lib/eal/linux/eal_memory.c: In function ‘remap_segment’: ../lib/eal/include/rte_common.h:444:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 444 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x))) | ^ ../lib/eal/linux/eal_memory.c:724:20: note: in expansion of macro ‘RTE_PTR_ADD’ 724 | map_addr = RTE_PTR_ADD(msl->base_va, ms_idx * page_sz); | ^~~~~~~~~~~ cc1: all warnings being treated as errors [94/2287] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o [95/2287] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops.c.o [96/2287] Compiling C object lib/librte_compressdev.a.p/compressdev_rte_comp.c.o [97/2287] Generating lib/ring.sym_chk with a custom command (wrapped by meson to capture output) [98/2287] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_pool_ops.c.o [99/2287] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf_ptype.c.o [100/2287] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.o [101/2287] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o [102/2287] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o ninja: build stopped DPDK STV team