* compilation|FAILURE| pw(149669) sid(34292) job(PER_PATCH_BUILD14538)[v2, 2/2] examples/vhost_crypto: add asymmetric support
@ 2025-01-07 18:43 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-01-07 18:43 UTC (permalink / raw)
To: test-report, gmuthukrishn
[-- Attachment #1: Type: text/plain, Size: 187118 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/149669
_Compilation issues_
Submitter: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Date: 2025-01-07 18:02:46
Reply_mail: <5126c7ca239ffc9f64d32c6cfa8b74308bc04125.1736270125.git.gmuthukrishn@marvell.com>
DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 07604f264417959d76aa9fcb8cb0c3665f62f0d3
Meson Build Summary: 23 Builds Done, 4 Successful, 19 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.9-64 | fail | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | fail | fail | | | | | |
| AzureLinux3.0-64 | fail | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL8.10-64 | fail | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL94-64Rt | fail | | | | | | |
| UB2410-64 | fail | | | | | | |
| FC40-64 | fail | fail | | | | | |
| UB2404-64Rt | fail | | | | | | |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
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: OpenAnolis8.9-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:7: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
case VIRTIO_CRYPTO_RSA_RAW_PADDING:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:7: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:7: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_SERVICE_AEAD’?
case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_SERVICE_AEAD
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_RSA:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:29: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:59: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
^
../lib/vhost/vhost_crypto.c:1405:29: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1409:29: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1425:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:29: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->sign.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1431:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1433:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1437:31: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1453:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:31: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1459:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_SIGN:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:8: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_RSA:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
[412/3233] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[413/3233] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[414/3233] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[415/3233] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[416/3233] Generating symbol file lib/librte_stack.so.25.1.p/librte_stack.so.25.1.symbols
[417/3233] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[418/3233] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[419/3233] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[420/3233] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #2:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[418/3223] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[419/3223] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[420/3223] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[421/3223] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[422/3223] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[423/3223] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[424/3223] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[425/3223] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[426/3223] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #3:
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 -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 -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:554:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_RAW_PADDING'
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^
../lib/vhost/vhost_crypto.c:557:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_PKCS1_PADDING'
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^
../lib/vhost/vhost_crypto.c:581:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_RSA'; did you mean 'RTE_CRYPTO_CIPHER_ARC4'?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_CRYPTO_CIPHER_ARC4
../lib/cryptodev/rte_crypto_sym.h:142:2: note: 'RTE_CRYPTO_CIPHER_ARC4' declared here
142 | RTE_CRYPTO_CIPHER_ARC4,
| ^
../lib/vhost/vhost_crypto.c:634:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION'
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^
../lib/vhost/vhost_crypto.c:1380:44: error: declaration of 'struct virtio_crypto_akcipher_data_req' will not be visible outside of this function [-Werror,-Wvisibility]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^
../lib/vhost/vhost_crypto.c:1393:60: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1405:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^
../lib/vhost/vhost_crypto.c:1408:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1409:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1425:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_VERIFY'
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^
../lib/vhost/vhost_crypto.c:1428:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1431:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1433:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_ENCRYPT'
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1436:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1437:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1453:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_DECRYPT'
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1456:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1459:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1647:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[419/3184] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[420/3184] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[421/3184] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[422/3184] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[423/3184] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[424/3184] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[425/3184] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[426/3184] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[427/3184] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[430/3067] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[431/3067] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[432/3067] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[433/3067] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[434/3067] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[435/3067] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[436/3067] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[437/3067] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[438/3067] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #5:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[413/3219] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[414/3219] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[415/3219] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[416/3219] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[417/3219] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[418/3219] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[419/3219] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[420/3219] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[421/3219] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #6:
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 -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 -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:554:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_RAW_PADDING'
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^
../lib/vhost/vhost_crypto.c:557:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_PKCS1_PADDING'
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^
../lib/vhost/vhost_crypto.c:581:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_RSA'; did you mean 'RTE_CRYPTO_CIPHER_ARC4'?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_CRYPTO_CIPHER_ARC4
../lib/cryptodev/rte_crypto_sym.h:142:2: note: 'RTE_CRYPTO_CIPHER_ARC4' declared here
142 | RTE_CRYPTO_CIPHER_ARC4,
| ^
../lib/vhost/vhost_crypto.c:634:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION'
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^
../lib/vhost/vhost_crypto.c:1380:44: error: declaration of 'struct virtio_crypto_akcipher_data_req' will not be visible outside of this function [-Werror,-Wvisibility]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^
../lib/vhost/vhost_crypto.c:1393:60: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1405:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^
../lib/vhost/vhost_crypto.c:1408:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1409:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1425:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_VERIFY'
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^
../lib/vhost/vhost_crypto.c:1428:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1431:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1433:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_ENCRYPT'
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1436:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1437:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1453:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_DECRYPT'
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1456:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1459:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1647:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[418/3216] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[419/3216] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[420/3216] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[421/3216] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[422/3216] Generating symbol file lib/librte_stack.so.25.1.p/librte_stack.so.25.1.symbols
[423/3216] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[424/3216] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[425/3216] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[426/3216] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #7:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:7: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
case VIRTIO_CRYPTO_RSA_RAW_PADDING:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:7: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:7: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’?
case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_RSA_RAW_PADDING
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_RSA:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:29: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:59: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
^
../lib/vhost/vhost_crypto.c:1405:29: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1409:29: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1425:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_AKCIPHER_SIGN
../lib/vhost/vhost_crypto.c:1428:29: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->sign.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1431:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1433:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1437:31: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1453:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_AKCIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1456:31: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1459:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_SIGN:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’?
case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_AKCIPHER_SIGN
../lib/vhost/vhost_crypto.c:1649:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’?
case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_AKCIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1683:8: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’?
case VIRTIO_CRYPTO_AKCIPHER_RSA:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_AKCIPHER_SIGN
../lib/vhost/vhost_crypto.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
[404/3214] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[405/3214] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[406/3214] Generating symbol file lib/librte_reorder.so.25.1.p/librte_reorder.so.25.1.symbols
[407/3214] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[408/3214] Generating symbol file lib/librte_rib.so.25.1.p/librte_rib.so.25.1.symbols
[409/3214] Generating symbol file lib/librte_stack.so.25.1.p/librte_stack.so.25.1.symbols
[410/3214] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[411/3214] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[412/3214] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #8:
OS: AzureLinux3.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[416/3234] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[417/3234] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[418/3234] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[419/3234] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[420/3234] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[421/3234] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[422/3234] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[423/3234] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[424/3234] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #9:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-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 -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[398/2401] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[399/2401] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[400/2401] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[401/2401] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[402/2401] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[403/2401] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[404/2401] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[405/2401] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[406/2401] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #10:
OS: RHEL8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:7: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
case VIRTIO_CRYPTO_RSA_RAW_PADDING:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:7: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:7: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_SERVICE_AEAD’?
case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_SERVICE_AEAD
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_RSA:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:29: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:59: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
^
../lib/vhost/vhost_crypto.c:1405:29: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1409:29: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1425:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:29: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->sign.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1431:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1433:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1437:31: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c:1453:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
} else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:31: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
^
../lib/vhost/vhost_crypto.c:1459:32: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
rsa->message.length = req->u.akcipher_req.para.dst_data_len;
^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_SIGN:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:7: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:8: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
case VIRTIO_CRYPTO_AKCIPHER_RSA:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
[412/3198] Generating symbol file lib/librte_stack.so.25.1.p/librte_stack.so.25.1.symbols
[413/3198] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[414/3198] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[415/3198] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[416/3198] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[417/3198] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[418/3198] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[419/3198] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[420/3198] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #11:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[421/3393] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[422/3393] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[423/3393] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[424/3393] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[425/3393] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[426/3393] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[427/3393] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[428/3393] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[429/3393] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #12:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[423/3220] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[424/3220] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[425/3220] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[426/3220] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[427/3220] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[428/3220] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o
[429/3220] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[430/3220] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[431/3220] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #13:
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 -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 -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:554:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_RAW_PADDING'
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^
../lib/vhost/vhost_crypto.c:557:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_PKCS1_PADDING'
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^
../lib/vhost/vhost_crypto.c:581:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_RSA'; did you mean 'RTE_CRYPTO_CIPHER_ARC4'?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_CRYPTO_CIPHER_ARC4
../lib/cryptodev/rte_crypto_sym.h:142:2: note: 'RTE_CRYPTO_CIPHER_ARC4' declared here
142 | RTE_CRYPTO_CIPHER_ARC4,
| ^
../lib/vhost/vhost_crypto.c:634:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION'
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^
../lib/vhost/vhost_crypto.c:1380:44: error: declaration of 'struct virtio_crypto_akcipher_data_req' will not be visible outside of this function [-Werror,-Wvisibility]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^
../lib/vhost/vhost_crypto.c:1393:60: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1405:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^
../lib/vhost/vhost_crypto.c:1408:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1409:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1425:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_VERIFY'
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^
../lib/vhost/vhost_crypto.c:1428:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1431:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1433:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_ENCRYPT'
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1436:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1437:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1453:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_DECRYPT'
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1456:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1459:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1647:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[421/3389] Generating symbol file lib/librte_mldev.so.25.1.p/librte_mldev.so.25.1.symbols
[422/3389] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[423/3389] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[424/3389] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[425/3389] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[426/3389] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[427/3389] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[428/3389] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[429/3389] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #14:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[422/3212] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[423/3212] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[424/3212] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[425/3212] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[426/3212] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[427/3212] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[428/3212] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[429/3212] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[430/3212] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #15:
OS: RHEL94-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[414/3223] Linking target lib/librte_mldev.so.25.1
[415/3223] Generating symbol file lib/librte_security.so.25.1.p/librte_security.so.25.1.symbols
[416/3223] Generating symbol file lib/librte_stack.so.25.1.p/librte_stack.so.25.1.symbols
[417/3223] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[418/3223] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[419/3223] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[420/3223] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[421/3223] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[422/3223] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2410-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[420/3375] Linking target lib/librte_sched.so.25.1
[421/3375] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[422/3375] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[423/3375] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[424/3375] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[425/3375] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[426/3375] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[427/3375] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[428/3375] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #17:
OS: FC40-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[422/3379] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[423/3379] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[424/3379] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[425/3379] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[426/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[427/3379] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[428/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[429/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[430/3379] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #18:
OS: FC40-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 -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 -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:554:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_RAW_PADDING'
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^
../lib/vhost/vhost_crypto.c:557:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_RSA_PKCS1_PADDING'
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^
../lib/vhost/vhost_crypto.c:581:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_RSA'; did you mean 'RTE_CRYPTO_CIPHER_ARC4'?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| RTE_CRYPTO_CIPHER_ARC4
../lib/cryptodev/rte_crypto_sym.h:142:2: note: 'RTE_CRYPTO_CIPHER_ARC4' declared here
142 | RTE_CRYPTO_CIPHER_ARC4,
| ^
../lib/vhost/vhost_crypto.c:634:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION'
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^
../lib/vhost/vhost_crypto.c:1380:44: error: declaration of 'struct virtio_crypto_akcipher_data_req' will not be visible outside of this function [-Werror,-Wvisibility]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^
../lib/vhost/vhost_crypto.c:1393:60: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1405:29: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^
../lib/vhost/vhost_crypto.c:1408:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1409:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1425:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_VERIFY'
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^
../lib/vhost/vhost_crypto.c:1428:30: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1431:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1433:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_ENCRYPT'
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1436:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1437:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1453:36: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_DECRYPT'
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^
../lib/vhost/vhost_crypto.c:1456:32: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1459:33: error: no member named 'akcipher_req' in 'union virtio_crypto_op_data_req::(unnamed at ../lib/vhost/virtio_crypto.h:369:2)'
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ~~~~~~ ^
../lib/vhost/vhost_crypto.c:1647:7: error: use of undeclared identifier 'VIRTIO_CRYPTO_AKCIPHER_SIGN'
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[421/3379] Generating symbol file lib/librte_sched.so.25.1.p/librte_sched.so.25.1.symbols
[422/3379] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[423/3379] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[424/3379] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[425/3379] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[426/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[427/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[428/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[429/3379] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #19:
OS: UB2404-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
gcc -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 -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -Wno-address-of-packed-member -DVHOST_HAS_VDUSE -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -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: In function ‘transform_rsa_param’:
../lib/vhost/vhost_crypto.c:554:14: error: ‘VIRTIO_CRYPTO_RSA_RAW_PADDING’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_S_HW_READY’?
554 | case VIRTIO_CRYPTO_RSA_RAW_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_S_HW_READY
../lib/vhost/vhost_crypto.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
../lib/vhost/vhost_crypto.c:557:14: error: ‘VIRTIO_CRYPTO_RSA_PKCS1_PADDING’ undeclared (first use in this function)
557 | case VIRTIO_CRYPTO_RSA_PKCS1_PADDING:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_asym_sess’:
../lib/vhost/vhost_crypto.c:581:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
581 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_create_sess’:
../lib/vhost/vhost_crypto.c:634:36: error: ‘VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_CREATE_SESSION’?
634 | if (sess_param->op_code == VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_CREATE_SESSION
../lib/vhost/vhost_crypto.c: At top level:
../lib/vhost/vhost_crypto.c:1380:44: error: ‘struct virtio_crypto_akcipher_data_req’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
1380 | vhost_crypto_check_akcipher_request(struct virtio_crypto_akcipher_data_req *req)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/vhost/vhost_crypto.c: In function ‘prepare_asym_rsa_op’:
../lib/vhost/vhost_crypto.c:1393:66: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1393 | uint8_t ret = vhost_crypto_check_akcipher_request(&req->u.akcipher_req);
| ^
../lib/vhost/vhost_crypto.c:1405:43: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1405 | if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_SIGN) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1408:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1408 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1409:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1409 | rsa->sign.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1425:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1425 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1428:50: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1428 | rsa->sign.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1431:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1431 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1433:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1433 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_ENCRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1436:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1436 | rsa->message.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1437:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1437 | rsa->cipher.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c:1453:50: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1453 | } else if (req->header.opcode == VIRTIO_CRYPTO_AKCIPHER_DECRYPT) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1456:52: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1456 | rsa->cipher.length = req->u.akcipher_req.para.src_data_len;
| ^
../lib/vhost/vhost_crypto.c:1459:53: error: ‘union <anonymous>’ has no member named ‘akcipher_req’
1459 | rsa->message.length = req->u.akcipher_req.para.dst_data_len;
| ^
../lib/vhost/vhost_crypto.c: In function ‘vhost_crypto_process_one_req’:
../lib/vhost/vhost_crypto.c:1647:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_SIGN’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1647 | case VIRTIO_CRYPTO_AKCIPHER_SIGN:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
../lib/vhost/vhost_crypto.c:1648:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_VERIFY’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_AES_F8’?
1648 | case VIRTIO_CRYPTO_AKCIPHER_VERIFY:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_AES_F8
../lib/vhost/vhost_crypto.c:1649:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_ENCRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ENCRYPT’?
1649 | case VIRTIO_CRYPTO_AKCIPHER_ENCRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ENCRYPT
../lib/vhost/vhost_crypto.c:1650:14: error: ‘VIRTIO_CRYPTO_AKCIPHER_DECRYPT’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_DECRYPT’?
1650 | case VIRTIO_CRYPTO_AKCIPHER_DECRYPT:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_DECRYPT
../lib/vhost/vhost_crypto.c:1683:22: error: ‘VIRTIO_CRYPTO_AKCIPHER_RSA’ undeclared (first use in this function); did you mean ‘VIRTIO_CRYPTO_CIPHER_ARC4’?
1683 | case VIRTIO_CRYPTO_AKCIPHER_RSA:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTIO_CRYPTO_CIPHER_ARC4
cc1: all warnings being treated as errors
[423/3379] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[424/3379] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[425/3379] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[426/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[427/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[428/3379] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[429/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[430/3379] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[431/3379] 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-01-07 18:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-07 18:43 compilation|FAILURE| pw(149669) sid(34292) job(PER_PATCH_BUILD14538)[v2, 2/2] examples/vhost_crypto: add asymmetric support 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).