From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 9BCF942BC8
	for <public@inbox.dpdk.org>; Mon, 29 May 2023 03:03:52 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 98783410D7;
	Mon, 29 May 2023 03:03:52 +0200 (CEST)
Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163])
 by mails.dpdk.org (Postfix) with ESMTP id 9767B410D7
 for <test-report@dpdk.org>; Mon, 29 May 2023 03:03:50 +0200 (CEST)
Received: from loongson.cn (unknown [10.40.46.153])
 by gateway (Coremail) with SMTP id _____8CxPevq+XNkdhECAA--.497S3;
 Mon, 29 May 2023 09:03:38 +0800 (CST)
Received: from localhost.localdomain (unknown [10.40.46.153])
 by localhost.localdomain (Coremail) with SMTP id
 AQAAf8BxoOTA+XNk9iF+AA--.9012S3; 
 Mon, 29 May 2023 09:02:57 +0800 (CST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
 by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 34T0mdxw2068645
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Mon, 29 May 2023 08:48:55 +0800
Received: (from root@localhost)
 by localhost.localdomain (8.15.2/8.15.2/Submit) id 34SJKnGI2018447;
 Mon, 29 May 2023 03:20:49 +0800
Date: Mon, 29 May 2023 03:20:49 +0800
From: qemudev@loongson.cn
Message-Id: <202305281920.34SJKnGI2018447@localhost.localdomain>
Content-Type: text/plain; charset="utf-8"
Subject: |FAILURE| pw127647 [PATCH v2] crypto/qat: add SM3 HMAC to gen4 devices
In-Reply-To: <20230528173625.263611-1-arkadiuszx.kusztal@intel.com>
References: <20230528173625.263611-1-arkadiuszx.kusztal@intel.com>
To: test-report@dpdk.org
Cc: Arek Kusztal <arkadiusz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14v26r1j6r4UMIIF0xvE42xK8VAv
 wI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14
 v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x0zRLID7UUUUU=
X-BeenThere: test-report@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: automatic DPDK test reports <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=subscribe>
Errors-To: test-report-bounces@dpdk.org

Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/127647

_ninja build failure_

Submitter: Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>
Date: Sun, 28 May 2023 17:36:25 +0000
DPDK git baseline: Repo:dpdk-next-crypto
  Branch: for-main
  CommitID: 4f59fbae91a2f10ce2ff5617ee693c5f3066e235

127647 --> ninja build failed

Test environment and result as below:

+---------------------+----------------+
|     Environment     | compilation    |
+---------------------+----------------+
| Loongnix-Server 8.3 | FAIL           |
+---------------------+----------------+

Loongnix-Server 8.3
    Kernel: 4.19.190+
    Compiler: gcc 8.3


Ninja build logs:
-------------------------------BEGIN LOGS----------------------------
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym_session.c.o
cc -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/loongarch/include -I../lib/eal/loongarch/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -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=loongarch64 -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 ‘qat_sym_session_configure_auth’:
./drivers/crypto/qat/qat_sym_session.c:757:7: error: ‘RTE_CRYPTO_AUTH_SM3_HMAC’ undeclared (first use in this function); did you mean ‘RTE_CRYPTO_AUTH_SHA1_HMAC’?
case RTE_CRYPTO_AUTH_SM3_HMAC:
^~~~~~~~~~~~~~~~~~~~~~~~
RTE_CRYPTO_AUTH_SHA1_HMAC
./drivers/crypto/qat/qat_sym_session.c:757:7: note: each undeclared identifier is reported only once for each function it appears in
[597/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_crypto.c.o
[598/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen2.c.o
[599/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_asym_pmd_gen1.c.o
[600/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_device.c.o
[601/2869] Generating rte_bus_dpaa.pmd.c with a custom command
[602/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
FAILED: drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o
cc -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/loongarch/include -I../lib/eal/loongarch/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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -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=loongarch64 -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_dev_qat_crypto_pmd_gen4.c.o -MF drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o.d -o drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen4.c.o -c ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c
In file included from ../drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:8:
./drivers/crypto/qat/qat_sym.h:62:13: error: ‘RTE_CRYPTO_AUTH_SM3_HMAC’ undeclared here (not in a function); did you mean ‘RTE_CRYPTO_AUTH_SHA1_HMAC’?
.algo = RTE_CRYPTO_AUTH_##n, ^~~~~~~~~~~~~~~~
./drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c:106:2: note: in expansion of macro ‘QAT_SYM_AUTH_CAP’
QAT_SYM_AUTH_CAP(SM3_HMAC,
^~~~~~~~~~~~~~~~
[603/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_cnxk_telemetry_nix.c.o
[604/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cnxk_mempool_telemetry.c.o
[605/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cnxk_mempool.c.o
[606/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cn9k_mempool_ops.c.o
[607/2869] Generating rte_bus_pci.sym_chk with a custom command (wrapped by meson to capture output)
[608/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_sym.c.o
[609/2869] Generating rte_bus_fslmc.pmd.c with a custom command
[610/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp_pmd.c.o
[611/2869] Generating eventdev.sym_chk with a custom command (wrapped by meson to capture output)
[612/2869] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o
[613/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_tm.c.o
[614/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/compress_qat_qat_comp.c.o
[615/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cnxk_mempool_ops.c.o
[616/2869] Generating rte_bus_vmbus.sym_chk with a custom command (wrapped by meson to capture output)
[617/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/common_qat_qat_qp.c.o
[618/2869] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cn10k_mempool_ops.c.o
[619/2869] Compiling C object drivers/libtmp_rte_mempool_dpaa.a.p/mempool_dpaa_dpaa_mempool.c.o
[620/2869] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_npc_mcam.c.o
[621/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
[622/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
[623/2869] Generating rte_common_idpf.sym_chk with a custom command (wrapped by meson to capture output)
[624/2869] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[625/2869] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o
[626/2869] Generating ethdev.sym_chk with a custom command (wrapped by meson to capture output)
[627/2869] Generating eal.sym_chk with a custom command (wrapped by meson to capture output)
[628/2869] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[629/2869] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------