Test-Label: Intel-compilation Test-Status: FAILURE _Compilation issues_ commit 18ca4a4ec73a2e28df45a10543b7cdd45f2801dd Author: Raja Zidane Date: Thu May 12 12:17:11 2022 +0300 net/mlx5: support ESP SPI match and RSS hash DPDK git Repo: dpdk Meson Build Summary: 25 Builds Done, 24 Successful, 1 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC35-64 | pass | pass | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL84-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | UB2004-32 | pass | | | | | | | | UB2004-64 | pass | pass | | | | pass | | | UB2204-32 | pass | | | | | | | | UB2204-64N | fail | | | pass | | | | | UB2204-64 | pass | pass | | | | pass | pass | | RHEL85-64 | pass | | | | | | | | CentOS7.9-64 | pass | | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: FC35-64 Kernel Version: 5.14.16-301.fc35.x86_64 GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL84-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64N Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: RHEL85-64 Kernel Version: 4.18.0-348.7.1.el8_5.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4) Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c) ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility) x86_64-native-linuxapp-gcc OS: CentOS7.9-64 Kernel Version: 3.10.0-1160.el7.x86_64 GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc *Build Failed #1: OS: UB2204-64N Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o gcc -Idrivers/libtmp_rte_common_qat.a.p -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/crypto/qat -I../drivers/compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -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/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-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 -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o -c ../drivers/crypto/qat/qat_sym_session.c ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha1’: ../drivers/crypto/qat/qat_sym_session.c:1064:9: error: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1064 | if (!SHA1_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1066:9: error: ‘SHA1_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1066 | SHA1_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:52:28: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data); | ^~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha224’: ../drivers/crypto/qat/qat_sym_session.c:1075:9: error: ‘SHA224_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1075 | if (!SHA224_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:69:27: note: declared here 69 | OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1077:9: error: ‘SHA256_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1077 | SHA256_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:77:28: note: declared here 77 | OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha256’: ../drivers/crypto/qat/qat_sym_session.c:1086:9: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1086 | if (!SHA256_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1088:9: error: ‘SHA256_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1088 | SHA256_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:77:28: note: declared here 77 | OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha384’: ../drivers/crypto/qat/qat_sym_session.c:1097:9: error: ‘SHA384_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1097 | if (!SHA384_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:119:27: note: declared here 119 | OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1099:9: error: ‘SHA512_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1099 | SHA512_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_sha512’: ../drivers/crypto/qat/qat_sym_session.c:1108:9: error: ‘SHA512_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1108 | if (!SHA512_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:123:27: note: declared here 123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1110:9: error: ‘SHA512_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1110 | SHA512_Transform(&ctx, data_in); | ^~~~~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:5: /usr/include/openssl/sha.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, | ^~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘partial_hash_md5’: ../drivers/crypto/qat/qat_sym_session.c:1119:9: error: ‘MD5_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1119 | if (!MD5_Init(&ctx)) | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:7: /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1121:9: error: ‘MD5_Transform’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1121 | MD5_Transform(&ctx, data_in); | ^~~~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:7: /usr/include/openssl/md5.h:54:28: note: declared here 54 | OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b); | ^~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c: In function ‘qat_sym_do_precomputes’: ../drivers/crypto/qat/qat_sym_session.c:1250:25: error: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1250 | if (AES_set_encrypt_key(auth_key, auth_keylen << 3, | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1256:25: error: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1256 | AES_encrypt(in, k0, &enc_key); | ^~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1294:33: error: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1294 | if (AES_set_encrypt_key(auth_key, | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1304:33: error: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1304 | AES_encrypt(in, out, &enc_key); | ^~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1330:17: error: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1330 | if (AES_set_encrypt_key(auth_key, auth_keylen << 3, | ^~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../drivers/crypto/qat/qat_sym_session.c:1334:17: error: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 1334 | AES_encrypt(in, out, &enc_key); | ^~~~~~~~~~~ In file included from ../drivers/crypto/qat/qat_sym_session.c:6: /usr/include/openssl/aes.h:57:6: note: declared here 57 | void AES_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~ cc1: all warnings being treated as errors [854/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_evb.c.o [855/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_ev.c.o [856/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_bootcfg.c.o [857/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [858/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_crc32.c.o [859/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [860/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [861/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o [862/3631] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped DPDK STV team