From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Jie Hai <haijie1@huawei.com>, zhoumin@loongson.cn
Subject: |FAILURE| pw134232-134253 [PATCH v2 22/22] devtools: check for some reentrant function
Date: Tue, 14 Nov 2023 16:31:32 +0800 [thread overview]
Message-ID: <202311140831.3AE8VWW42704917@localhost.localdomain> (raw)
In-Reply-To: <20231114084133.3573959-23-haijie1@huawei.com>
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/134253
_ninja build failure_
Submitter: Jie Hai <haijie1@huawei.com>
Date: Tue, 14 Nov 2023 16:41:12 +0800
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: 737faa1b4331f6395bc3a665159a489f404e6052
134232-134253 --> 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_telemetry.so.24.0
cc -o lib/librte_telemetry.so.24.0 lib/librte_telemetry.a.p/telemetry_telemetry.c.o lib/librte_telemetry.a.p/telemetry_telemetry_data.c.o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_telemetry.so.24 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt lib/librte_log.so.24.0 -Wl,--end-group -Wl,--version-script=/home/zhoumin/dpdk/lib/telemetry/version.map '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/home/zhoumin/dpdk/build/lib
/usr/bin/ld: lib/librte_telemetry.a.p/telemetry_telemetry.c.o: in function `.L779':
telemetry.c:(.text+0x2d50): undefined reference to `strtok_s'
/usr/bin/ld: telemetry.c:(.text+0x2d68): undefined reference to `strtok_s'
collect2: error: ld returned 1 exit status
[232/2420] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm.c.o
[233/2420] Generating mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[234/2420] Generating bpf.sym_chk with a custom command (wrapped by meson to capture output)
[235/2420] Compiling C object lib/librte_power.a.p/power_rte_power_uncore.c.o
[236/2420] Compiling C object lib/librte_power.a.p/power_power_acpi_cpufreq.c.o
[237/2420] Compiling C object lib/librte_power.a.p/power_power_amd_pstate_cpufreq.c.o
[238/2420] Compiling C object lib/librte_power.a.p/power_power_cppc_cpufreq.c.o
[239/2420] Generating acl.sym_chk with a custom command (wrapped by meson to capture output)
[240/2420] Generating compressdev.sym_chk with a custom command (wrapped by meson to capture output)
[241/2420] Generating dispatcher.sym_chk with a custom command (wrapped by meson to capture output)
[242/2420] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_eventdev.c.o
./lib/eventdev/rte_eventdev.c: In function ‘handle_queue_links’:
./lib/eventdev/rte_eventdev.c:1800:12: warning: implicit declaration of function ‘strtok_s’; did you mean ‘strtok_r’? [-Wimplicit-function-declaration]
p_param = strtok_s(end_param, ",", &sp);
^~~~~~~~
strtok_r
./lib/eventdev/rte_eventdev.c:1800:12: warning: nested extern declaration of ‘strtok_s’ [-Wnested-externs]
./lib/eventdev/rte_eventdev.c:1800:10: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
p_param = strtok_s(end_param, ",", &sp);
^
./lib/eventdev/rte_eventdev.c:1805:10: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
p_param = strtok_s(NULL, "0", &sp);
^
./lib/eventdev/rte_eventdev.c: In function ‘handle_port_xstats’:
./lib/eventdev/rte_eventdev.c:1935:10: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
p_param = strtok_s(end_param, ",", &sp);
^
./lib/eventdev/rte_eventdev.c:1943:10: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
p_param = strtok_s(NULL, "0", &sp);
^
./lib/eventdev/rte_eventdev.c: In function ‘handle_queue_xstats’:
./lib/eventdev/rte_eventdev.c:1969:10: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
p_param = strtok_s(end_param, ",", &sp);
^
./lib/eventdev/rte_eventdev.c:1977:10: warning: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
p_param = strtok_s(NULL, "0", &sp);
^
[243/2420] Generating cmdline.sym_chk with a custom command (wrapped by meson to capture output)
[244/2420] Compiling C object lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o
[245/2420] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[246/2420] Generating distributor.sym_chk with a custom command (wrapped by meson to capture output)
[247/2420] Compiling C object lib/librte_member.a.p/member_rte_member_vbf.c.o
[248/2420] Generating dmadev.sym_chk with a custom command (wrapped by meson to capture output)
[249/2420] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[250/2420] Generating gso.sym_chk with a custom command (wrapped by meson to capture output)
[251/2420] Generating efd.sym_chk with a custom command (wrapped by meson to capture output)
[252/2420] Generating jobstats.sym_chk with a custom command (wrapped by meson to capture output)
[253/2420] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[254/2420] Generating symbol file lib/librte_kvargs.so.24.0.p/librte_kvargs.so.24.0.symbols
[255/2420] Generating gro.sym_chk with a custom command (wrapped by meson to capture output)
[256/2420] Generating latencystats.sym_chk with a custom command (wrapped by meson to capture output)
[257/2420] Generating ip_frag.sym_chk with a custom command (wrapped by meson to capture output)
[258/2420] Generating gpudev.sym_chk with a custom command (wrapped by meson to capture output)
[259/2420] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[260/2420] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o
./lib/eventdev/rte_event_eth_rx_adapter.c: In function ‘handle_rxa_get_queue_conf’:
./lib/eventdev/rte_event_eth_rx_adapter.c:3664:10: warning: implicit declaration of function ‘strtok_s’; did you mean ‘strtok_r’? [-Wimplicit-function-declaration]
token = strtok_s(l_params, ",", &sp);
^~~~~~~~
strtok_r
./lib/eventdev/rte_event_eth_rx_adapter.c:3664:10: warning: nested extern declaration of ‘strtok_s’ [-Wnested-externs]
./lib/eventdev/rte_event_eth_rx_adapter.c:3664:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(l_params, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3669:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3676:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3687:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, "0", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c: In function ‘handle_rxa_get_queue_stats’:
./lib/eventdev/rte_event_eth_rx_adapter.c:3736:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(l_params, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3741:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3748:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3759:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, "0", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c: In function ‘handle_rxa_queue_stats_reset’:
./lib/eventdev/rte_event_eth_rx_adapter.c:3806:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(l_params, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3811:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3818:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3829:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, "0", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c: In function ‘handle_rxa_instance_get’:
./lib/eventdev/rte_event_eth_rx_adapter.c:3866:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(l_params, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3873:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, ",", &sp);
^
./lib/eventdev/rte_event_eth_rx_adapter.c:3884:8: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
token = strtok_s(NULL, "0", &sp);
^
[261/2420] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o
[262/2420] Compiling C object lib/librte_member.a.p/member_rte_member_sketch.c.o
[263/2420] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
[264/2420] 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-11-14 8:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231114084133.3573959-23-haijie1@huawei.com>
2023-11-14 8:31 ` qemudev [this message]
2023-11-14 8:51 ` |SUCCESS| pw134253 " checkpatch
2023-11-14 9:19 ` |FAILURE| " 0-day Robot
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=202311140831.3AE8VWW42704917@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=haijie1@huawei.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).