Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit 0f80c13b4d589f63a8ede56bea0a443750bdcc47 Author: Luca Boccassi Date: Mon Jul 18 09:56:26 2022 +0100 version: 21.11.2-rc1 DPDK git Repo: dpdk-stable Meson Build Summary: 24 Builds Done, 23 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | fail | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64N | pass | | | pass | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-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: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) 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: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FC36-64 Target: x86_64-native-linuxapp-gcc FAILED: examples/dpdk-pthread_shim.p/performance-thread_pthread_shim_pthread_shim.c.o gcc -Iexamples/dpdk-pthread_shim.p -Iexamples -I../examples -Iexamples/performance-thread/pthread_shim -I../examples/performance-thread/pthread_shim -I../examples/performance-thread/common -I../examples/performance-thread/common/arch/x86 -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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/timer -I../lib/timer -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-zero-length-bounds -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-pthread_shim.p/performance-thread_pthread_shim_pthread_shim.c.o -MF examples/dpdk-pthread_shim.p/performance-thread_pthread_shim_pthread_shim.c.o.d -o examples/dpdk-pthread_shim.p/performance-thread_pthread_shim_pthread_shim.c.o -c ../examples/performance-thread/pthread_shim/pthread_shim.c ../examples/performance-thread/pthread_shim/pthread_shim.c: In function ‘pthread_setspecific’: ../examples/performance-thread/pthread_shim/pthread_shim.c:592:27: error: ‘data’ may be used uninitialized [-Werror=maybe-uninitialized] 592 | int rv = lthread_setspecific((unsigned int)key, data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../examples/performance-thread/pthread_shim/pthread_shim.c:589:56: note: accessing argument 2 of a function declared with attribute ‘access (none, 2)’ 589 | int pthread_setspecific(pthread_key_t key, const void *data) | ~~~~~~~~~~~~^~~~ cc1: all warnings being treated as errors [3006/3142] Compiling C object examples/dpdk-mp_server.p/multi_process_client_server_mp_mp_server_main.c.o [3007/3142] Compiling C object examples/dpdk-l3fwd-thread.p/performance-thread_common_lthread_tls.c.o [3008/3142] Compiling C object examples/dpdk-mp_server.p/multi_process_client_server_mp_mp_server_args.c.o [3009/3142] Compiling C object examples/dpdk-mp_server.p/multi_process_client_server_mp_mp_server_init.c.o [3010/3142] Compiling C object examples/dpdk-link_status_interrupt.p/link_status_interrupt_main.c.o [3011/3142] Compiling C object examples/dpdk-mp_client.p/multi_process_client_server_mp_mp_client_client.c.o [3012/3142] Compiling C object examples/dpdk-simple_mp.p/multi_process_simple_mp_mp_commands.c.o [3013/3142] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o [3014/3142] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped DPDK STV team