automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(94479) sid(17395) [RFC, 7/7] crypto/ipsec_mb: move zuc PMD to ipsec_mb framework
@ 2021-06-18 12:54 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2021-06-18 12:54 UTC (permalink / raw)
  To: test-report

[-- Attachment #1: Type: text/plain, Size: 32272 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/94479

_Compilation issues_

Submitter: pbronowx <piotrx.bronowski@intel.com>
Date: 2021-06-18 12:18:03
Reply_mail: 20210618121803.1189857-8-piotrx.bronowski@intel.com

DPDK git baseline: Repo:dpdk-next-crypto, CommitID: 469d5c02159ddf0746ddbb9822c034556422515f


Meson Build Summary: 22 Builds Done, 19 Successful, 3 Failures, 0 Blocked

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | pass       | pass         | pass       |            |           | pass     |
| RHEL83-64        | pass       |              |            |            |           |          |
| FC34-64          | fail       | pass         |            |            |           |          |
| CentOsStream8-64 | pass       |              |            |            |           |          |
| UB2104-64        | pass       |              |            |            |           |          |
| WIN10-64         |            | pass         |            |            |           |          |
| UB2004-32        | pass       |              |            |            |           |          |
| CENTOS83-64      | pass       | pass         | pass       | pass       | pass      |          |
| FreeBSD1201-64   | pass       | pass         |            | pass       | pass      |          |
| SUSE15-64        | fail       | fail         |            |            |           |          |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-240.el8.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
	x86_64-native-linuxapp-gcc

OS: FC34-64
	Kernel Version: 5.11.15-300.fc34.x86_64
	GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
	Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: CentOsStream8-64
	Kernel Version: 4.18.0-257.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
	x86_64-native-linuxapp-gcc

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o 
clang -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o -c ../drivers/crypto/ipsec_mb/pmd_kasumi.c
../drivers/crypto/ipsec_mb/pmd_kasumi.c:71:2: error: unknown type name 'kasumi_key_sched_t'; did you mean 'des_keysched_t'?
        kasumi_key_sched_t pKeySched_cipher;
        ^~~~~~~~~~~~~~~~~~
        des_keysched_t
/usr/include/intel-ipsec-mb.h:643:15: note: 'des_keysched_t' declared here
typedef int (*des_keysched_t)(uint64_t *, const void *);
              ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:72:2: error: unknown type name 'kasumi_key_sched_t'; did you mean 'des_keysched_t'?
        kasumi_key_sched_t pKeySched_hash;
        ^~~~~~~~~~~~~~~~~~
        des_keysched_t
/usr/include/intel-ipsec-mb.h:643:15: note: 'des_keysched_t' declared here
typedef int (*des_keysched_t)(uint64_t *, const void *);
              ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:116:3: error: implicit declaration of function 'IMB_KASUMI_INIT_F8_KEY_SCHED' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                IMB_KASUMI_INIT_F8_KEY_SCHED(mgr,
                ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:136:3: error: implicit declaration of function 'IMB_KASUMI_INIT_F9_KEY_SCHED' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                IMB_KASUMI_INIT_F9_KEY_SCHED(mgr, auth_xform->auth.key.data,
                ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:174:3: error: implicit declaration of function 'IMB_KASUMI_F8_N_BUFFER' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                IMB_KASUMI_F8_N_BUFFER(qp->mb_mgr, &session->pKeySched_cipher,
                ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:202:2: error: implicit declaration of function 'IMB_KASUMI_F8_1_BUFFER_BIT' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        IMB_KASUMI_F8_1_BUFFER_BIT(qp->mb_mgr, &session->pKeySched_cipher, iv,
        ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:237:4: error: implicit declaration of function 'IMB_KASUMI_F9_1_BUFFER' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        IMB_KASUMI_F9_1_BUFFER(qp->mb_mgr,
                        ^
../drivers/crypto/ipsec_mb/pmd_kasumi.c:250:4: error: implicit declaration of function 'IMB_KASUMI_F9_1_BUFFER' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        IMB_KASUMI_F9_1_BUFFER(qp->mb_mgr,
                        ^
8 errors generated.
[1872/2707] Linking static target drivers/libtmp_rte_raw_ntb.a
[1873/2707] Generating rte_raw_octeontx2_ep.pmd.c with a custom command
[1874/2707] Compiling C object drivers/librte_raw_octeontx2_dma.a.p/meson-generated_.._rte_raw_octeontx2_dma.pmd.c.o
[1875/2707] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o
[1876/2707] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_rte_ipsec_mb_pmd_ops.c.o
[1877/2707] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev.c.o
[1878/2707] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o 
clang -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o -c ../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c
../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c:648:14: error: no member named 'temp_digest' in 'struct ipsec_mb_qp'
                        tag = qp->temp_digest;
                              ~~  ^
../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c:666:13: error: no member named 'temp_digest' in 'struct ipsec_mb_qp'
                tag = qp->temp_digest;
                      ~~  ^
2 errors generated.
[1879/2707] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_rte_ipsec_mb_pmd.c.o
[1880/2707] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_mb.c.o
ninja: build stopped




*Build Failed #2:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o 
gcc -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_gcm.c.o -c ../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c
../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c: In function ‘process_gcm_crypto_op’:
../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c:648:12: error: ‘struct ipsec_mb_qp’ has no member named ‘temp_digest’
    tag = qp->temp_digest;
            ^~
../drivers/crypto/ipsec_mb/pmd_aesni_gcm.c:666:11: error: ‘struct ipsec_mb_qp’ has no member named ‘temp_digest’
   tag = qp->temp_digest;
           ^~
[1880/2676] Linking target drivers/librte_raw_ntb.so.21.3
[1881/2676] Generating rte_raw_skeleton.pmd.c with a custom command
[1882/2676] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_rte_ipsec_mb_pmd.c.o
[1883/2676] Generating rte_raw_ioat.pmd.c with a custom command
[1884/2676] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o 
gcc -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_kasumi.c.o -c ../drivers/crypto/ipsec_mb/pmd_kasumi.c
../drivers/crypto/ipsec_mb/pmd_kasumi.c:71:2: error: unknown type name ‘kasumi_key_sched_t’
  kasumi_key_sched_t pKeySched_cipher;
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_kasumi.c:72:2: error: unknown type name ‘kasumi_key_sched_t’
  kasumi_key_sched_t pKeySched_hash;
  ^~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_kasumi.c: In function ‘kasumi_session_configure’:
../drivers/crypto/ipsec_mb/pmd_kasumi.c:116:3: error: implicit declaration of function ‘IMB_KASUMI_INIT_F8_KEY_SCHED’; did you mean ‘IMB_DES_KEYSCHED’? [-Werror=implicit-function-declaration]
   IMB_KASUMI_INIT_F8_KEY_SCHED(mgr,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   IMB_DES_KEYSCHED
../drivers/crypto/ipsec_mb/pmd_kasumi.c:116:3: error: nested extern declaration of ‘IMB_KASUMI_INIT_F8_KEY_SCHED’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_kasumi.c:136:3: error: implicit declaration of function ‘IMB_KASUMI_INIT_F9_KEY_SCHED’; did you mean ‘IMB_DES_KEYSCHED’? [-Werror=implicit-function-declaration]
   IMB_KASUMI_INIT_F9_KEY_SCHED(mgr, auth_xform->auth.key.data,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   IMB_DES_KEYSCHED
../drivers/crypto/ipsec_mb/pmd_kasumi.c:136:3: error: nested extern declaration of ‘IMB_KASUMI_INIT_F9_KEY_SCHED’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_kasumi.c: In function ‘process_kasumi_cipher_op’:
../drivers/crypto/ipsec_mb/pmd_kasumi.c:174:3: error: implicit declaration of function ‘IMB_KASUMI_F8_N_BUFFER’ [-Werror=implicit-function-declaration]
   IMB_KASUMI_F8_N_BUFFER(qp->mb_mgr, &session->pKeySched_cipher,
   ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_kasumi.c:174:3: error: nested extern declaration of ‘IMB_KASUMI_F8_N_BUFFER’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_kasumi.c: In function ‘process_kasumi_cipher_op_bit’:
../drivers/crypto/ipsec_mb/pmd_kasumi.c:202:2: error: implicit declaration of function ‘IMB_KASUMI_F8_1_BUFFER_BIT’ [-Werror=implicit-function-declaration]
  IMB_KASUMI_F8_1_BUFFER_BIT(qp->mb_mgr, &session->pKeySched_cipher, iv,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_kasumi.c:202:2: error: nested extern declaration of ‘IMB_KASUMI_F8_1_BUFFER_BIT’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_kasumi.c: In function ‘process_kasumi_hash_op’:
../drivers/crypto/ipsec_mb/pmd_kasumi.c:237:4: error: implicit declaration of function ‘IMB_KASUMI_F9_1_BUFFER’ [-Werror=implicit-function-declaration]
    IMB_KASUMI_F9_1_BUFFER(qp->mb_mgr,
    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_kasumi.c:237:4: error: nested extern declaration of ‘IMB_KASUMI_F9_1_BUFFER’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1885/2676] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o 
gcc -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o -c ../drivers/crypto/ipsec_mb/pmd_snow3g.c
../drivers/crypto/ipsec_mb/pmd_snow3g.c:80:2: error: unknown type name ‘snow3g_key_schedule_t’
  snow3g_key_schedule_t pKeySched_cipher;
  ^~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_snow3g.c:81:2: error: unknown type name ‘snow3g_key_schedule_t’
  snow3g_key_schedule_t pKeySched_hash;
  ^~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_snow3g.c: In function ‘snow3g_session_configure’:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:127:3: error: implicit declaration of function ‘IMB_SNOW3G_INIT_KEY_SCHED’; did you mean ‘SNOW3G_MAX_KEY_SIZE’? [-Werror=implicit-function-declaration]
   IMB_SNOW3G_INIT_KEY_SCHED(mgr, cipher_xform->cipher.key.data,
   ^~~~~~~~~~~~~~~~~~~~~~~~~
   SNOW3G_MAX_KEY_SIZE
../drivers/crypto/ipsec_mb/pmd_snow3g.c:127:3: error: nested extern declaration of ‘IMB_SNOW3G_INIT_KEY_SCHED’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_snow3g.c: In function ‘process_snow3g_cipher_op’:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:2: error: implicit declaration of function ‘IMB_SNOW3G_F8_N_BUFFER’ [-Werror=implicit-function-declaration]
  IMB_SNOW3G_F8_N_BUFFER(qp->mb_mgr, &session->pKeySched_cipher, iv,
  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:2: error: nested extern declaration of ‘IMB_SNOW3G_F8_N_BUFFER’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_snow3g.c: In function ‘process_snow3g_cipher_op_bit’:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:306:2: error: implicit declaration of function ‘IMB_SNOW3G_F8_1_BUFFER_BIT’ [-Werror=implicit-function-declaration]
  IMB_SNOW3G_F8_1_BUFFER_BIT(qp->mb_mgr, &session->pKeySched_cipher, iv,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_snow3g.c:306:2: error: nested extern declaration of ‘IMB_SNOW3G_F8_1_BUFFER_BIT’ [-Werror=nested-externs]
../drivers/crypto/ipsec_mb/pmd_snow3g.c: In function ‘process_snow3g_hash_op’:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:355:4: error: implicit declaration of function ‘IMB_SNOW3G_F9_1_BUFFER’ [-Werror=implicit-function-declaration]
    IMB_SNOW3G_F9_1_BUFFER(qp->mb_mgr,
    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/crypto/ipsec_mb/pmd_snow3g.c:355:4: error: nested extern declaration of ‘IMB_SNOW3G_F9_1_BUFFER’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1886/2676] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_aesni_mb.c.o
ninja: build stopped




*Build Failed #3:
OS: FC34-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_zuc.c.o 
gcc -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_zuc.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_zuc.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_zuc.c.o -c ../drivers/crypto/ipsec_mb/pmd_zuc.c
In file included from ../drivers/crypto/ipsec_mb/pmd_zuc.c:8:
../drivers/crypto/ipsec_mb/pmd_zuc.c: In function ‘process_zuc_hash_op’:
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: error: ‘hash_keys’ may be used uninitialized [-Werror=maybe-uninitialized]
  268 |         IMB_ZUC_EIA3_N_BUFFER(qp->mb_mgr, (const void **)hash_keys,
      |                                 ^
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: note: by argument 1 of type ‘const void * const*’ to ‘void(const void * const*, const void * const*, const void * const*, const uint32_t *, uint32_t **, const uint32_t)’ {aka ‘void(const void * const*, const void * const*, const void * const*, const unsigned int *, unsigned int **, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_zuc.c:232:21: note: ‘hash_keys’ declared here
  232 |         const void *hash_keys[ZUC_MAX_BURST];
      |                     ^~~~~~~~~
In file included from ../drivers/crypto/ipsec_mb/pmd_zuc.c:8:
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: error: ‘iv’ may be used uninitialized [-Werror=maybe-uninitialized]
  268 |         IMB_ZUC_EIA3_N_BUFFER(qp->mb_mgr, (const void **)hash_keys,
      |                                 ^
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: note: by argument 2 of type ‘const void * const*’ to ‘void(const void * const*, const void * const*, const void * const*, const uint32_t *, uint32_t **, const uint32_t)’ {aka ‘void(const void * const*, const void * const*, const void * const*, const unsigned int *, unsigned int **, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_zuc.c:231:18: note: ‘iv’ declared here
  231 |         uint8_t *iv[ZUC_MAX_BURST];
      |                  ^~
In file included from ../drivers/crypto/ipsec_mb/pmd_zuc.c:8:
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: error: ‘src’ may be used uninitialized [-Werror=maybe-uninitialized]
  268 |         IMB_ZUC_EIA3_N_BUFFER(qp->mb_mgr, (const void **)hash_keys,
      |                                 ^
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: note: by argument 3 of type ‘const void * const*’ to ‘void(const void * const*, const void * const*, const void * const*, const uint32_t *, uint32_t **, const uint32_t)’ {aka ‘void(const void * const*, const void * const*, const void * const*, const unsigned int *, unsigned int **, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_zuc.c:228:18: note: ‘src’ declared here
  228 |         uint8_t *src[ZUC_MAX_BURST];
      |                  ^~~
In file included from ../drivers/crypto/ipsec_mb/pmd_zuc.c:8:
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: error: ‘length_in_bits’ may be used uninitialized [-Werror=maybe-uninitialized]
  268 |         IMB_ZUC_EIA3_N_BUFFER(qp->mb_mgr, (const void **)hash_keys,
      |                                 ^
../drivers/crypto/ipsec_mb/pmd_zuc.c:268:33: note: by argument 4 of type ‘const uint32_t *’ {aka ‘const unsigned int *’} to ‘void(const void * const*, const void * const*, const void * const*, const uint32_t *, uint32_t **, const uint32_t)’ {aka ‘void(const void * const*, const void * const*, const void * const*, const unsigned int *, unsigned int **, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_zuc.c:230:18: note: ‘length_in_bits’ declared here
  230 |         uint32_t length_in_bits[ZUC_MAX_BURST];
      |                  ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1901/2716] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_sym_session.c.o
[1902/2716] Generating rte_raw_ioat.pmd.c with a custom command
[1903/2716] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_sym_pmd.c.o
[1904/2716] Compiling C object drivers/libtmp_rte_crypto_bcmfs.a.p/crypto_bcmfs_bcmfs_sym_engine.c.o
[1905/2716] Compiling C object drivers/libtmp_rte_crypto_caam_jr.a.p/crypto_caam_jr_caam_jr_hw.c.o
[1906/2716] Compiling C object drivers/libtmp_rte_crypto_caam_jr.a.p/crypto_caam_jr_caam_jr_capabilities.c.o
[1907/2716] Compiling C object drivers/libtmp_rte_crypto_caam_jr.a.p/crypto_caam_jr_caam_jr_uio.c.o
[1908/2716] Compiling C object drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o
FAILED: drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o 
gcc -Idrivers/libtmp_rte_crypto_ipsec_mb.a.p -Idrivers -I../drivers -Idrivers/crypto/ipsec_mb -I../drivers/crypto/ipsec_mb -Ilib/cryptodev -I../lib/cryptodev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/net -I../lib/net -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.crypto.ipsec_mb -MD -MQ drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o -MF drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o.d -o drivers/libtmp_rte_crypto_ipsec_mb.a.p/crypto_ipsec_mb_pmd_snow3g.c.o -c ../drivers/crypto/ipsec_mb/pmd_snow3g.c
In file included from ../drivers/crypto/ipsec_mb/pmd_snow3g.c:8:
../drivers/crypto/ipsec_mb/pmd_snow3g.c: In function ‘process_snow3g_cipher_op’:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:34: error: ‘iv’ may be used uninitialized [-Werror=maybe-uninitialized]
  240 |         IMB_SNOW3G_F8_N_BUFFER(qp->mb_mgr, &session->pKeySched_cipher, iv,
      |                                  ^
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:34: note: by argument 2 of type ‘const void * const*’ to ‘void(const snow3g_key_schedule_t *, const void * const*, const void * const*, void **, const uint32_t *, const uint32_t)’ {aka ‘void(const struct snow3g_key_schedule_s *, const void * const*, const void * const*, void **, const unsigned int *, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_snow3g.c:192:21: note: ‘iv’ declared here
  192 |         const void *iv[SNOW3G_MAX_BURST];
      |                     ^~
In file included from ../drivers/crypto/ipsec_mb/pmd_snow3g.c:8:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:34: error: ‘src’ may be used uninitialized [-Werror=maybe-uninitialized]
  240 |         IMB_SNOW3G_F8_N_BUFFER(qp->mb_mgr, &session->pKeySched_cipher, iv,
      |                                  ^
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:34: note: by argument 3 of type ‘const void * const*’ to ‘void(const snow3g_key_schedule_t *, const void * const*, const void * const*, void **, const uint32_t *, const uint32_t)’ {aka ‘void(const struct snow3g_key_schedule_s *, const void * const*, const void * const*, void **, const unsigned int *, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_snow3g.c:189:21: note: ‘src’ declared here
  189 |         const void *src[SNOW3G_MAX_BURST];
      |                     ^~~
In file included from ../drivers/crypto/ipsec_mb/pmd_snow3g.c:8:
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:34: error: ‘num_bytes’ may be used uninitialized [-Werror=maybe-uninitialized]
  240 |         IMB_SNOW3G_F8_N_BUFFER(qp->mb_mgr, &session->pKeySched_cipher, iv,
      |                                  ^
../drivers/crypto/ipsec_mb/pmd_snow3g.c:240:34: note: by argument 5 of type ‘const uint32_t *’ {aka ‘const unsigned int *’} to ‘void(const snow3g_key_schedule_t *, const void * const*, const void * const*, void **, const uint32_t *, const uint32_t)’ {aka ‘void(const struct snow3g_key_schedule_s *, const void * const*, const void * const*, void **, const unsigned int *, const unsigned int)’}
../drivers/crypto/ipsec_mb/pmd_snow3g.c:193:18: note: ‘num_bytes’ declared here
  193 |         uint32_t num_bytes[SNOW3G_MAX_BURST];
      |                  ^~~~~~~~~
cc1: all warnings being treated as errors
[1909/2716] Compiling C object drivers/libtmp_rte_crypto_ccp.a.p/crypto_ccp_ccp_pmd_ops.c.o
[1910/2716] Compiling C object drivers/libtmp_rte_crypto_caam_jr.a.p/crypto_caam_jr_caam_jr.c.o
[1911/2716] Compiling C object drivers/libtmp_rte_crypto_ccp.a.p/crypto_ccp_ccp_crypto.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-18 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 12:54 [dpdk-test-report] |FAILURE| pw(94479) sid(17395) [RFC, 7/7] crypto/ipsec_mb: move zuc PMD to ipsec_mb framework 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).