From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: "xixin.liu" <liuxixin2020@outlook.com>, zhoumin@loongson.cn
Subject: |FAILURE| pw128387 [PATCH] cryptodev: avoid algorithm strings null pointers
Date: Thu, 8 Jun 2023 15:33:39 +0800 [thread overview]
Message-ID: <202306080733.3587XdBF1956481@localhost.localdomain> (raw)
In-Reply-To: <TY3PR01MB11575179899E37E69A3E96D9EC250A@TY3PR01MB11575.jpnprd01.prod.outlook.com>
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/128387
_ninja build failure_
Submitter: xixin.liu <liuxixin2020@outlook.com>
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------------------------------
next parent reply other threads:[~2023-06-08 7:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <TY3PR01MB11575179899E37E69A3E96D9EC250A@TY3PR01MB11575.jpnprd01.prod.outlook.com>
2023-06-08 7:33 ` qemudev [this message]
2023-06-08 7:47 ` |WARNING| " checkpatch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202306080733.3587XdBF1956481@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=liuxixin2020@outlook.com \
--cc=test-report@dpdk.org \
--cc=zhoumin@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).