Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/139067 _Compilation issues_ Submitter: Gongming Chen Date: 2024-04-03 03:25:28 Reply_mail: DPDK git baseline: Repo:dpdk-next-virtio, CommitID: deedfb86a7a6e10064d3cccd593f62072de96e36 Meson Build Summary: 24 Builds Done, 20 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 | | | | RHEL92-64 | pass | fail | | pass | pass | | | | SUSE15-64 | pass | fail | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2204-32 | pass | | | | | | | | RHEL89-64 | pass | | | | | | | | UB2204-64 | pass | fail | | | | pass | pass | | CentOS79-64 | pass | | | | | | | | RHEL92-64Rt | pass | | | | | | | | UB2310-64 | pass | | | | | | | | FC39-64 | pass | fail | | | | | | | UB2204-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: RHEL92-64 Kernel Version: 5.14.0-284.11.1.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.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: 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: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL89-64 Kernel Version: 4.18.0-513.5.1.el8_9.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20) Clang Version: 16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba) x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-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+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.81.1.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 OS: RHEL92-64Rt Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2310-64 Kernel Version: 6.5.0-9-generic GCC Version: gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC39-64 Kernel Version: 6.5.6-300.fc39.x86_64 GCC Version: gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3) Clang Version: 17.0.6 (Fedora 17.0.6-1.fc39) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.17.5-051705-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 *Build Failed #1: OS: RHEL92-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:15:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:14:2: note: mutex acquired here rte_rwlock_read_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:20: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:27:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:26:2: note: mutex acquired here rte_rwlock_write_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:32: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. [405/2856] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o [406/2856] Generating symbol file lib/librte_security.so.24.1.p/librte_security.so.24.1.symbols [407/2856] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output) [408/2856] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output) [409/2856] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [410/2856] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [411/2856] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [412/2856] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [413/2856] 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:15:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:14:2: note: mutex acquired here rte_rwlock_read_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:20: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:27:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:26:2: note: mutex acquired here rte_rwlock_write_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:32: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. [403/2912] Generating symbol file lib/librte_rib.so.24.1.p/librte_rib.so.24.1.symbols [404/2912] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output) [405/2912] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output) [406/2912] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [407/2912] Generating symbol file lib/librte_security.so.24.1.p/librte_security.so.24.1.symbols [408/2912] Generating symbol file lib/librte_stack.so.24.1.p/librte_stack.so.24.1.symbols [409/2912] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [410/2912] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [411/2912] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #3: OS: UB2204-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 -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:15:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:14:2: note: mutex acquired here rte_rwlock_read_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:20: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:27:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] } ^ ../lib/vhost/vhost_thread.c:26:2: note: mutex acquired here rte_rwlock_write_lock(&vhost_thread_lock); ^ ../lib/vhost/vhost_thread.c:32: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. [411/2942] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output) [412/2942] Generating symbol file lib/librte_stack.so.24.1.p/librte_stack.so.24.1.symbols [413/2942] Generating symbol file lib/librte_security.so.24.1.p/librte_security.so.24.1.symbols [414/2942] Generating symbol file lib/librte_mldev.so.24.1.p/librte_mldev.so.24.1.symbols [415/2942] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [416/2942] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [417/2942] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [418/2942] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [419/2942] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped *Build Failed #4: OS: FC39-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 -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:15:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 15 | } | ^ ../lib/vhost/vhost_thread.c:14:2: note: mutex acquired here 14 | rte_rwlock_read_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:20:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 20 | rte_rwlock_read_unlock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:27:1: error: mutex 'vhost_thread_lock' is still held at the end of function [-Werror,-Wthread-safety-analysis] 27 | } | ^ ../lib/vhost/vhost_thread.c:26:2: note: mutex acquired here 26 | rte_rwlock_write_lock(&vhost_thread_lock); | ^ ../lib/vhost/vhost_thread.c:32:2: error: releasing mutex 'vhost_thread_lock' that was not held [-Werror,-Wthread-safety-analysis] 32 | rte_rwlock_write_unlock(&vhost_thread_lock); | ^ 4 errors generated. [410/3098] Generating symbol file lib/librte_security.so.24.1.p/librte_security.so.24.1.symbols [411/3098] Generating symbol file lib/librte_mldev.so.24.1.p/librte_mldev.so.24.1.symbols [412/3098] Generating symbol file lib/librte_sched.so.24.1.p/librte_sched.so.24.1.symbols [413/3098] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o [414/3098] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o [415/3098] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o [416/3098] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o [417/3098] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o [418/3098] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o ninja: build stopped DPDK STV team