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 0D93E42C5A for ; Thu, 8 Jun 2023 09:47:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09FE540042; Thu, 8 Jun 2023 09:47:49 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 9480D40042 for ; Thu, 8 Jun 2023 09:47:47 +0200 (CEST) Received: from loongson.cn (unknown [10.40.46.153]) by gateway (Coremail) with SMTP id _____8CxOuqgh4FkAnUAAA--.1726S3; Thu, 08 Jun 2023 15:47:44 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.46.153]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxPMqfh4FkuesGAA--.13678S3; Thu, 08 Jun 2023 15:47:43 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 3587XdX01956482 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 8 Jun 2023 15:33:39 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 3587XdBF1956481; Thu, 8 Jun 2023 15:33:39 +0800 Date: Thu, 8 Jun 2023 15:33:39 +0800 From: qemudev@loongson.cn Message-Id: <202306080733.3587XdBF1956481@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |FAILURE| pw128387 [PATCH] cryptodev: avoid algorithm strings null pointers In-Reply-To: References: To: test-report@dpdk.org Cc: "xixin.liu" , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8AxPMqfh4FkuesGAA--.13678S3 X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: loongarch-compilation Test-Status: FAILURE http://dpdk.org/patch/128387 _ninja build failure_ Submitter: xixin.liu Date: Thu, 8 Jun 2023 13:31:31 +0800 DPDK git baseline: Repo:dpdk-next-crypto Branch: for-main CommitID: ea71e5c0d77a75ec10b4808fc6568c3baaf94488 128387 --> 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: lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o cc -Ilib/librte_cryptodev.a.p -Ilib -I../lib -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/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/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -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_AP I -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.cryptodev -MD -MQ lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o -MF lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o.d -o lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o -c ../lib/cryptodev/rte_cryptodev.c ./lib/cryptodev/rte_cryptodev.c: In function ‘rte_cryptodev_get_aead_algo_enum’: ./lib/cryptodev/rte_cryptodev.c:396:47: error: stray ‘357’ in program if (crypto_aead_algorithm_strings[i] == NULL) ^ ./lib/cryptodev/rte_cryptodev.c:396:48: error: stray ‘274’ in program if (crypto_aead_algorithm_strings[i] == NULL) ^ ./lib/cryptodev/rte_cryptodev.c:396:49: error: stray ‘211’ in program if (crypto_aead_algorithm_strings[i] == NULL) ^ ./lib/cryptodev/rte_cryptodev.c:397:4: error: expected ‘)’ before ‘continue’ continue; ^~~~~~~~ ./lib/cryptodev/rte_cryptodev.c:396:6: note: to match this ‘(’ if (crypto_aead_algorithm_strings[i] == NULL) ^ ./lib/cryptodev/rte_cryptodev.c:403:2: error: expected expression before ‘}’ token } ^ ./lib/cryptodev/rte_cryptodev.c: In function ‘rte_cryptodev_asym_get_xform_enum’: ./lib/cryptodev/rte_cryptodev.c:418:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (crypto_asym_xform_strings[i] = NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~ [163/2879] Compiling C object lib/librte_eventdev.a.p/eventdev_eventdev_private.c.o [164/2879] Compiling C object lib/librte_compressdev.a.p/compressdev_rte_compressdev.c.o [165/2879] Generating net.sym_chk with a custom command (wrapped by meson to capture output) [166/2879] Compiling C object lib/librte_port.a.p/port_rte_port_sym_crypto.c.o [167/2879] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o [168/2879] Compiling C object lib/librte_bpf.a.p/bpf_bpf_pkt.c.o [169/2879] Compiling C object lib/librte_distributor.a.p/distributor_rte_distributor_single.c.o [170/2879] Generating pci.sym_chk with a custom command (wrapped by meson to capture output) [171/2879] Compiling C object lib/librte_acl.a.p/acl_acl_bld.c.o [172/2879] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_ring.c.o [173/2879] Compiling C object lib/librte_cryptodev.a.p/cryptodev_cryptodev_trace_points.c.o [174/2879] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o [175/2879] Compiling C object lib/librte_bpf.a.p/bpf_bpf_validate.c.o [176/2879] Generating symbol file lib/librte_kvargs.so.23.2.p/librte_kvargs.so.23.2.symbols [177/2879] Compiling C object lib/librte_eventdev.a.p/eventdev_eventdev_trace_points.c.o [178/2879] Generating bitratestats.sym_chk with a custom command (wrapped by meson to capture output) [179/2879] Generating metrics.sym_chk with a custom command (wrapped by meson to capture output) [180/2879] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [181/2879] Generating mempool.sym_chk with a custom command (wrapped by meson to capture output) [182/2879] Generating bbdev.sym_chk with a custom command (wrapped by meson to capture output) [183/2879] Generating rcu.sym_chk with a custom command (wrapped by meson to capture output) [184/2879] Generating mbuf.sym_chk with a custom command (wrapped by meson to capture output) [185/2879] Compiling C object lib/librte_distributor.a.p/distributor_rte_distributor.c.o [186/2879] Generating cfgfile.sym_chk with a custom command (wrapped by meson to capture output) [187/2879] Generating timer.sym_chk with a custom command (wrapped by meson to capture output) [188/2879] Compiling C object lib/librte_efd.a.p/efd_rte_efd.c.o [189/2879] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_crypto_adapter.c.o [190/2879] Generating cmdline.sym_chk with a custom command (wrapped by meson to capture output) [191/2879] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_tx_adapter.c.o [192/2879] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o [193/2879] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o [194/2879] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o [195/2879] Generating eal.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped: subcommand failed. -------------------------------END LOGS------------------------------