From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Thomas Monjalon <thomas@monjalon.net>, zhoumin@loongson.cn
Subject: |FAILURE| pw133424-133425 [PATCH v4 2/2] eal/unix: allow creating thread with real-time priority
Date: Thu, 26 Oct 2023 21:25:26 +0800 [thread overview]
Message-ID: <202310261325.39QDPQH4207572@localhost.localdomain> (raw)
In-Reply-To: <20231026134313.1165954-3-thomas@monjalon.net>
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/133425
_ninja build failure_
Submitter: Thomas Monjalon <thomas@monjalon.net>
Date: Thu, 26 Oct 2023 15:37:41 +0200
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: 656dfad43136ef43f4315ab6ed45b78b68c287a7
133424-133425 --> 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_eal.a.p/eal_unix_rte_thread.c.o
cc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -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 '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_
unix_rte_thread.c.o -MF lib/librte_eal.a.p/eal_unix_rte_thread.c.o.d -o lib/librte_eal.a.p/eal_unix_rte_thread.c.o -c ../lib/eal/unix/rte_thread.c
./lib/eal/unix/rte_thread.c: In function ‘thread_map_priority_to_os_value’:
./lib/eal/unix/rte_thread.c:59:3: error: a label can only be part of a statement and a declaration is not a statement
static bool warned;
^~~~~~
./lib/eal/unix/rte_thread.c: In function ‘rte_thread_yield_realtime’:
./lib/eal/unix/rte_thread.c:251:2: error: ‘usleep’ undeclared (first use in this function); did you mean ‘fseek’?
usleep
^~~~~~
fseek
./lib/eal/unix/rte_thread.c:251:2: note: each undeclared identifier is reported only once for each function it appears in
./lib/eal/unix/rte_thread.c:251:8: error: expected ‘;’ before ‘}’ token
usleep
^
;
}
~
[36/2378] Compiling C object lib/librte_eal.a.p/eal_unix_eal_unix_timer.c.o
[37/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[38/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
[39/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[40/2378] Compiling C object lib/librte_eal.a.p/eal_unix_eal_unix_thread.c.o
[41/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_cpuflags.c.o
[42/2378] Compiling C object lib/librte_eal.a.p/eal_unix_eal_unix_memory.c.o
[43/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[44/2378] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[45/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_thread.c.o
[46/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_lcore.c.o
[47/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[48/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
[49/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[50/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[51/2378] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[52/2378] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
[53/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_alarm.c.o
[54/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_dev.c.o
[55/2378] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[56/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_hugepage_info.c.o
[57/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[58/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[59/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[60/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal.c.o
[61/2378] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[62/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_interrupts.c.o
[63/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o
[64/2378] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
[65/2378] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[66/2378] Compiling C object lib/librte_eal.a.p/eal_linux_eal_memory.c.o
[67/2378] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[68/2378] Generating log.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-10-26 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231026134313.1165954-3-thomas@monjalon.net>
2023-10-26 13:25 ` qemudev [this message]
2023-10-26 13:44 ` |SUCCESS| pw133425 " 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=202310261325.39QDPQH4207572@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=test-report@dpdk.org \
--cc=thomas@monjalon.net \
--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).