Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/142183 _Compilation issues_ Submitter: Gongming Chen Date: 2024-07-08 02:17:45 Reply_mail: DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 9cbdb606e5d04de04be3d9f70f0e76551e8c9a36 Meson Build Summary: 23 Builds Done, 19 Successful, 4 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | pass | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL94-64 | pass | fail | | pass | pass | | | | SUSE15-64 | pass | fail | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2404-32 | pass | | | | | | | | RHEL93-64 | pass | | | | | | | | UB2404-64 | pass | fail | | | | pass | pass | | RHEL94-64Rt | pass | | | | | | | | UB2204-64 | pass | | | | | | | | FC40-64 | pass | fail | | | | | | | 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.8-64 Kernel Version: 5.10.134-13.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3) Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068) x86_64-native-linuxapp-gcc OS: FreeBSD14-64 Kernel Version: 14.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) 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: 5.14.21-150500.53-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 15.0.7 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: CBL-Mariner2.0-64 Kernel Version: 5.15.55.1_2e9a4f9+ GCC Version: gcc (GCC) 11.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2404-32 Kernel Version: 6.8.0-31-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL93-64 Kernel Version: 5.14.0-362.8.1.el9_3.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 OS: UB2404-64 Kernel Version: 6.8.0-31-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: 18.1.3 (1) 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: UB2204-64 Kernel Version: 5.15.0-94-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 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: 18.1.3 (1) x86_64-native-linuxapp-gcc *Build Failed #1: OS: RHEL94-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_vhost.a.p/vhost_vhost_thread.c.o clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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 -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_thread.c.o -MF lib/librte_vhost.a.p/vhost_vhost_thread.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_thread.c.o -c ../lib/vhost/vhost_thread.c ../lib/vhost/vhost_thread.c:11:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 11 | } | ^ ../lib/vhost/vhost_thread.c:10:2: note: mutex acquired here 10 | rte_rwlock_read_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:16:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 16 | rte_rwlock_read_unlock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:23:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 23 | } | ^ ../lib/vhost/vhost_thread.c:22:2: note: mutex acquired here 22 | rte_rwlock_write_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:28:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 28 | rte_rwlock_write_unlock(&vhost_thread_lock); | ^ 4 errors generated. [415/2960] Linking target lib/librte_mldev.so.24.2 [416/2960] Generating symbol file lib/librte_sched.so.24.2.p/librte_sched.so.24.2.symbols [417/2960] Generating symbol file lib/librte_security.so.24.2.p/librte_security.so.24.2.symbols [418/2960] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [419/2960] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [420/2960] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [421/2960] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [422/2960] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [423/2960] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #2: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_vhost.a.p/vhost_vhost_thread.c.o clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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 -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_thread.c.o -MF lib/librte_vhost.a.p/vhost_vhost_thread.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_thread.c.o -c ../lib/vhost/vhost_thread.c ../lib/vhost/vhost_thread.c:11:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:10:2: note: mutex acquired here rte_rwlock_read_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:16:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] rte_rwlock_read_unlock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:23:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:22:2: note: mutex acquired here rte_rwlock_write_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:28:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] rte_rwlock_write_unlock(&vhost_thread_lock); ^ 4 errors generated. [407/2966] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output) [408/2966] Generating symbol file lib/librte_stack.so.24.2.p/librte_stack.so.24.2.symbols [409/2966] Generating symbol file lib/librte_security.so.24.2.p/librte_security.so.24.2.symbols [410/2966] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [411/2966] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [412/2966] Generating symbol file lib/librte_sched.so.24.2.p/librte_sched.so.24.2.symbols [413/2966] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [414/2966] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [415/2966] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #3: OS: UB2404-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_vhost.a.p/vhost_vhost_thread.c.o clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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 -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_thread.c.o -MF lib/librte_vhost.a.p/vhost_vhost_thread.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_thread.c.o -c ../lib/vhost/vhost_thread.c ../lib/vhost/vhost_thread.c:11:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 11 | } | ^ ../lib/vhost/vhost_thread.c:10:2: note: mutex acquired here 10 | rte_rwlock_read_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:16:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 16 | rte_rwlock_read_unlock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:23:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 23 | } | ^ ../lib/vhost/vhost_thread.c:22:2: note: mutex acquired here 22 | rte_rwlock_write_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:28:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 28 | rte_rwlock_write_unlock(&vhost_thread_lock); | ^ 4 errors generated. [415/3150] Generating symbol file lib/librte_sched.so.24.2.p/librte_sched.so.24.2.symbols [416/3150] Generating symbol file lib/librte_mldev.so.24.2.p/librte_mldev.so.24.2.symbols [417/3150] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o [418/3150] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [419/3150] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [420/3150] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [421/3150] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o [422/3150] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [423/3150] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #4: OS: FC40-64 Target: x86_64-native-linuxapp-clang FAILED: lib/librte_vhost.a.p/vhost_vhost_thread.c.o clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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 -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_thread.c.o -MF lib/librte_vhost.a.p/vhost_vhost_thread.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_thread.c.o -c ../lib/vhost/vhost_thread.c ../lib/vhost/vhost_thread.c:11:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 11 | } | ^ ../lib/vhost/vhost_thread.c:10:2: note: mutex acquired here 10 | rte_rwlock_read_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:16:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 16 | rte_rwlock_read_unlock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:23:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 23 | } | ^ ../lib/vhost/vhost_thread.c:22:2: note: mutex acquired here 22 | rte_rwlock_write_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:28:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 28 | rte_rwlock_write_unlock(&vhost_thread_lock); | ^ 4 errors generated. [418/3154] Generating symbol file lib/librte_sched.so.24.2.p/librte_sched.so.24.2.symbols [419/3154] Generating symbol file lib/librte_mldev.so.24.2.p/librte_mldev.so.24.2.symbols [420/3154] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [421/3154] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [422/3154] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o [423/3154] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [424/3154] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o [425/3154] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [426/3154] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped DPDK STV team