From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 58BD2A00C3; Fri, 13 May 2022 10:58:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D71440E64; Fri, 13 May 2022 10:58:26 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 80A4240DDE for ; Fri, 13 May 2022 10:58:24 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 535A5A00C4; Fri, 13 May 2022 10:58:24 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1009] [dpdk-22.07*] drivers/crypto/qat meson build failed with gcc 11.2.0 on Ub22.04/64 Date: Fri, 13 May 2022 08:58:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daxuex.gao@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D1009 Bug ID: 1009 Summary: [dpdk-22.07*] drivers/crypto/qat meson build failed with gcc 11.2.0 on Ub22.04/64 Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: daxuex.gao@intel.com Target Milestone: --- [DPDK Version] dpdk latest code dpdk-next-* and dpdk branch=20=20 [OS version] Ubuntu22.04 LTS/(5.17.5-051705-generic/5.15.0-25-generic) GCC 11.2.0 [Test Setup] # meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3Dall --default-library=3Dstatic gcc-linux-app=20 # ninja -C gcc-linux-app [log] FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o=20 clang -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../conf= ig -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/compressd= ev -I../lib/compressdev -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-exte= rns -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=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_A= SYM -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.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:1064:7: error: 'SHA1_Init' is deprecated [-Werror,-Wdeprecated-declarations] if (!SHA1_Init(&ctx)) ^ /usr/include/openssl/sha.h:49:1: note: 'SHA1_Init' has been explicitly mark= ed deprecated here OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1066:2: error: 'SHA1_Transform' is deprecated [-Werror,-Wdeprecated-declarations] SHA1_Transform(&ctx, data_in); ^ /usr/include/openssl/sha.h:52:1: note: 'SHA1_Transform' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1075:7: error: 'SHA224_Init' is deprecated [-Werror,-Wdeprecated-declarations] if (!SHA224_Init(&ctx)) ^ /usr/include/openssl/sha.h:69:1: note: 'SHA224_Init' has been explicitly ma= rked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA224_Init(SHA256_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1077:2: error: 'SHA256_Transform' is deprecated [-Werror,-Wdeprecated-declarations] SHA256_Transform(&ctx, data_in); ^ /usr/include/openssl/sha.h:77:1: note: 'SHA256_Transform' has been explicit= ly marked deprecated here OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1086:7: error: 'SHA256_Init' is deprecated [-Werror,-Wdeprecated-declarations] if (!SHA256_Init(&ctx)) ^ /usr/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly ma= rked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1088:2: error: 'SHA256_Transform' is deprecated [-Werror,-Wdeprecated-declarations] SHA256_Transform(&ctx, data_in); ^ /usr/include/openssl/sha.h:77:1: note: 'SHA256_Transform' has been explicit= ly marked deprecated here OSSL_DEPRECATEDIN_3_0 void SHA256_Transform(SHA256_CTX *c, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1097:7: error: 'SHA384_Init' is deprecated [-Werror,-Wdeprecated-declarations] if (!SHA384_Init(&ctx)) ^ /usr/include/openssl/sha.h:119:1: note: 'SHA384_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1099:2: error: 'SHA512_Transform' is deprecated [-Werror,-Wdeprecated-declarations] SHA512_Transform(&ctx, data_in); ^ /usr/include/openssl/sha.h:127:1: note: 'SHA512_Transform' has been explici= tly marked deprecated here OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1108:7: error: 'SHA512_Init' is deprecated [-Werror,-Wdeprecated-declarations] if (!SHA512_Init(&ctx)) ^ /usr/include/openssl/sha.h:123:1: note: 'SHA512_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1110:2: error: 'SHA512_Transform' is deprecated [-Werror,-Wdeprecated-declarations] SHA512_Transform(&ctx, data_in); ^ /usr/include/openssl/sha.h:127:1: note: 'SHA512_Transform' has been explici= tly marked deprecated here OSSL_DEPRECATEDIN_3_0 void SHA512_Transform(SHA512_CTX *c, ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1119:7: error: 'MD5_Init' is deprec= ated [-Werror,-Wdeprecated-declarations] if (!MD5_Init(&ctx)) ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1121:2: error: 'MD5_Transform' is deprecated [-Werror,-Wdeprecated-declarations] MD5_Transform(&ctx, data_in); ^ /usr/include/openssl/md5.h:54:1: note: 'MD5_Transform' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b= ); ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1250:8: error: 'AES_set_encrypt_key= ' is deprecated [-Werror,-Wdeprecated-declarations] if (AES_set_encrypt_key(auth_key, auth_keylen << 3, ^ /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1256:4: error: 'AES_encrypt' is deprecated [-Werror,-Wdeprecated-declarations] AES_encrypt(in, k0, &enc_key); ^ /usr/include/openssl/aes.h:56:1: note: 'AES_encrypt' has been explicitly ma= rked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1294:9: error: 'AES_set_encrypt_key= ' is deprecated [-Werror,-Wdeprecated-declarations] if (AES_set_encrypt_key(auth_key, ^ /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1304:5: error: 'AES_encrypt' is deprecated [-Werror,-Wdeprecated-declarations] AES_encrypt(in, out, &enc_key); ^ /usr/include/openssl/aes.h:56:1: note: 'AES_encrypt' has been explicitly ma= rked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1330:7: error: 'AES_set_encrypt_key= ' is deprecated [-Werror,-Wdeprecated-declarations] if (AES_set_encrypt_key(auth_key, auth_keylen << 3, ^ /usr/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ ../drivers/crypto/qat/qat_sym_session.c:1334:3: error: 'AES_encrypt' is deprecated [-Werror,-Wdeprecated-declarations] AES_encrypt(in, out, &enc_key); ^ /usr/include/openssl/aes.h:56:1: note: 'AES_encrypt' has been explicitly ma= rked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 18 errors generated. [844/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o [845/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o [846/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o [847/3631] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/efx_hash.c.o [848/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o [849/3631] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [850/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o [851/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o [852/3631] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o ninja: build stopped [Bad commit] I can't find bad commit, Because it's using openssl v3 these errors occur, = The package name on ubuntu is libssl-dev. --=20 You are receiving this mail because: You are the assignee for the bug.=