* compilation|FAILURE| pw(151804) sid(34674) job(PER_PATCH_BUILD15046)[v3, 5/5] examples/vhost_crypto: support asymmetric crypto
@ 2025-02-21 23:00 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-02-21 23:00 UTC (permalink / raw)
To: test-report, gmuthukrishn
[-- Attachment #1: Type: text/plain, Size: 25626 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/151804
_Compilation issues_
Submitter: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Date: 2025-02-21 17:30:13
Reply_mail: <69df671e16275511de0db57ffb9c6cd7c9e52939.1740156665.git.gmuthukrishn@marvell.com>
DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 992fd7e15692e3faab0c0e590aaa63998657d804
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.9-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | pass | fail | | pass | pass | | |
| SUSE15-64 | pass | fail | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL10-64 | pass | | | | | | |
| UB2404-64 | pass | fail | | | | pass | pass |
| RHEL95-64Rt | pass | | | | | | |
| UB2410-64 | pass | | | | | | |
| FC41-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.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.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: 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: RHEL10-64
Kernel Version: 6.11.0-0.rc5.23.el10.x86_64
GCC Version: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-1.el10)
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: RHEL95-64Rt
Kernel Version: 5.14.0-503.11.1.el9_5.x86_64+rt
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)
Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-3.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: 19.1.1 (1ubuntu1)
x86_64-native-linuxapp-gcc
OS: FC41-64
Kernel Version: 6.11.4-301.fc41.x86_64
GCC Version: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Clang Version: 19.1.5 (Fedora 19.1.5-1.fc41)
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: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.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 -I../kernel/linux -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 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
../lib/vhost/vhost_crypto.c:1398:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1398 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1409:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1409 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1418:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1418 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1421:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1421 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1426:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1426 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1437:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1437 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1446:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1446 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1449:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1449 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1465:18: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1465 | vc_req->inhdr = get_data_ptr(vc_req, desc, VHOST_ACCESS_WO);
| ^
9 errors generated.
[422/3208] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[423/3208] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[424/3208] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[425/3208] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[426/3208] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[427/3208] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[428/3208] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[429/3208] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[430/3208] 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_crypto.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 -I../kernel/linux -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 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
../lib/vhost/vhost_crypto.c:1398:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1398 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1409:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1409 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1418:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1418 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1421:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1421 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1426:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1426 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1437:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1437 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1446:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1446 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1449:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1449 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1465:18: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1465 | vc_req->inhdr = get_data_ptr(vc_req, desc, VHOST_ACCESS_WO);
| ^
9 errors generated.
[408/3240] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[409/3240] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[410/3240] Generating symbol file lib/librte_reorder.so.25.1.p/librte_reorder.so.25.1.symbols
[411/3240] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[412/3240] Generating lib/stack.sym_chk with a custom command (wrapped by meson to capture output)
[413/3240] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[414/3240] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[415/3240] Generating symbol file lib/librte_rib.so.25.1.p/librte_rib.so.25.1.symbols
[416/3240] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.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_crypto.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 -I../kernel/linux -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 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_CLANG_UNROLL_PRAGMA -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
../lib/vhost/vhost_crypto.c:1398:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1398 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1409:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1409 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1418:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1418 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1421:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1421 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1426:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1426 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1437:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1437 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1446:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1446 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1449:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1449 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1465:18: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1465 | vc_req->inhdr = get_data_ptr(vc_req, desc, VHOST_ACCESS_WO);
| ^
9 errors generated.
[419/3413] Linking target lib/librte_sched.so.25.1
[420/3413] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[421/3413] Generating symbol file lib/librte_stack.so.25.1.p/librte_stack.so.25.1.symbols
[422/3413] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[423/3413] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[424/3413] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[425/3413] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[426/3413] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[427/3413] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #4:
OS: FC41-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.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 -I../kernel/linux -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 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_CLANG_UNROLL_PRAGMA -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
../lib/vhost/vhost_crypto.c:1398:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1398 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1409:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1409 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1418:21: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1418 | rsa->sign.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1421:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1421 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1426:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1426 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1437:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1437 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RW);
| ^
../lib/vhost/vhost_crypto.c:1446:23: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1446 | rsa->cipher.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1449:24: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1449 | rsa->message.data = get_data_ptr(vc_req, desc, VHOST_ACCESS_RO);
| ^
../lib/vhost/vhost_crypto.c:1465:18: error: calling function 'get_data_ptr' requires holding rwlock 'vc_req->vq->iotlb_lock' [-Werror,-Wthread-safety-analysis]
1465 | vc_req->inhdr = get_data_ptr(vc_req, desc, VHOST_ACCESS_WO);
| ^
9 errors generated.
[424/3403] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[425/3403] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[426/3403] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[427/3403] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[428/3403] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[429/3403] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[430/3403] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[431/3403] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[432/3403] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-21 23:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-21 23:00 compilation|FAILURE| pw(151804) sid(34674) job(PER_PATCH_BUILD15046)[v3, 5/5] examples/vhost_crypto: support asymmetric crypto sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).