automatic DPDK test reports
 help / color / mirror / Atom feed
From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Tyler Retzlaff <roretzla@linux.microsoft.com>, zhoumin@loongson.cn
Subject: |FAILURE| pw129758-129760 [PATCH 4/4] eal: adapt rte spinlock and rwlock APIs to use C11 atomics
Date: Tue, 1 Aug 2023 04:54:57 +0800	[thread overview]
Message-ID: <202307312054.36VKsvwb529662@localhost.localdomain> (raw)
In-Reply-To: <1690837661-27573-5-git-send-email-roretzla@linux.microsoft.com>

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

_ninja build failure_

Submitter: Tyler Retzlaff <roretzla@linux.microsoft.com>
Date: Mon, 31 Jul 2023 14:07:38 -0700
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: 0ae35eceb9e4569b0814fcf671b4455301bb7518

129758-129760 --> 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_rcu.a.p/rcu_rte_rcu_qsbr.c.o
cc -Ilib/librte_rcu.a.p -Ilib -I../lib -Ilib/rcu -I../lib/rcu -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/ring -I../lib/ring -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.rcu -MD -MQ lib/librte_rcu.a.p/rc
 u_rte_rcu_qsbr.c.o -MF lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o.d -o lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o -c ../lib/rcu/rte_rcu_qsbr.c
In file included from ../lib/ring/rte_ring_elem.h:24,
from ../lib/rcu/rte_rcu_qsbr.c:17:
./lib/ring/rte_ring_elem_pvt.h: In function ‘__rte_ring_enqueue_elems_128’:
./lib/ring/rte_ring_elem_pvt.h:102:2: error: unknown type name ‘rte_int128_t’; did you mean ‘rte_iova_t’?
rte_int128_t *ring = (rte_int128_t *)&r[1];
^~~~~~~~~~~~
rte_iova_t
./lib/ring/rte_ring_elem_pvt.h:102:24: error: ‘rte_int128_t’ undeclared (first use in this function); did you mean ‘rte_iova_t’?
rte_int128_t *ring = (rte_int128_t *)&r[1];
^~~~~~~~~~~~
rte_iova_t
./lib/ring/rte_ring_elem_pvt.h:102:24: note: each undeclared identifier is reported only once for each function it appears in
./lib/ring/rte_ring_elem_pvt.h:102:38: error: expected expression before ‘)’ token
rte_int128_t *ring = (rte_int128_t *)&r[1];
^
./lib/ring/rte_ring_elem_pvt.h:103:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
const rte_int128_t *obj = (const rte_int128_t *)obj_table;
^
./lib/ring/rte_ring_elem_pvt.h:103:22: error: ‘obj’ undeclared (first use in this function)
const rte_int128_t *obj = (const rte_int128_t *)obj_table;
^~~
./lib/ring/rte_ring_elem_pvt.h:103:34: error: expected ‘)’ before ‘rte_int128_t’
const rte_int128_t *obj = (const rte_int128_t *)obj_table;
~ ^~~~~~~~~~~~~
)
./lib/ring/rte_ring_elem_pvt.h:103:21: warning: type defaults to ‘int’ in type name [-Wimplicit-int]
const rte_int128_t *obj = (const rte_int128_t *)obj_table;
^
./lib/ring/rte_ring_elem_pvt.h:103:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
const rte_int128_t *obj = (const rte_int128_t *)obj_table;
^
./lib/ring/rte_ring_elem_pvt.h: In function ‘__rte_ring_dequeue_elems_128’:
./lib/ring/rte_ring_elem_pvt.h:236:2: error: unknown type name ‘rte_int128_t’; did you mean ‘rte_iova_t’?
rte_int128_t *ring = (rte_int128_t *)&r[1];
^~~~~~~~~~~~
rte_iova_t
./lib/ring/rte_ring_elem_pvt.h:236:24: error: ‘rte_int128_t’ undeclared (first use in this function); did you mean ‘rte_iova_t’?
rte_int128_t *ring = (rte_int128_t *)&r[1];
^~~~~~~~~~~~
rte_iova_t
./lib/ring/rte_ring_elem_pvt.h:236:38: error: expected expression before ‘)’ token
rte_int128_t *ring = (rte_int128_t *)&r[1];
^
./lib/ring/rte_ring_elem_pvt.h:237:16: error: ‘obj’ undeclared (first use in this function)
rte_int128_t *obj = (rte_int128_t *)obj_table;
^~~
./lib/ring/rte_ring_elem_pvt.h:237:37: error: expected expression before ‘)’ token
rte_int128_t *obj = (rte_int128_t *)obj_table;
^
./lib/ring/rte_ring_elem_pvt.h:231:9: warning: unused parameter ‘obj_table’ [-Wunused-parameter]
void *obj_table, uint32_t n)
~~~~~~^~~~~~~~~
In file included from ../lib/ring/rte_ring_elem_pvt.h:293,
from ../lib/ring/rte_ring_elem.h:24,
from ../lib/rcu/rte_rcu_qsbr.c:17:
./lib/ring/rte_ring_generic_pvt.h: In function ‘__rte_ring_update_tail’:
./lib/ring/rte_ring_generic_pvt.h:18:3: warning: implicit declaration of function ‘rte_smp_wmb’; did you mean ‘rte_mp_reply’? [-Wimplicit-function-declaration]
rte_smp_wmb();
^~~~~~~~~~~
rte_mp_reply
./lib/ring/rte_ring_generic_pvt.h:18:3: warning: nested extern declaration of ‘rte_smp_wmb’ [-Wnested-externs]
./lib/ring/rte_ring_generic_pvt.h:20:3: warning: implicit declaration of function ‘rte_smp_rmb’; did you mean ‘rte_mp_reply’? [-Wimplicit-function-declaration]
rte_smp_rmb();
^~~~~~~~~~~
rte_mp_reply
./lib/ring/rte_ring_generic_pvt.h:20:3: warning: nested extern declaration of ‘rte_smp_rmb’ [-Wnested-externs]
[16/2347] Compiling C object lib/librte_eal.a.p/eal_common_rte_version.c.o
[17/2347] Compiling C object lib/librte_kvargs.a.p/kvargs_rte_kvargs.c.o
[18/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hypervisor.c.o
[19/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/eal_common_mcfg.c:5:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[20/2347] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_data.c.o
[21/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
[22/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
[23/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
[24/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[25/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[26/2347] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o
[27/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/malloc_heap.h:12,
from ../lib/eal/common/eal_common_memzone.c:20:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[28/2347] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[29/2347] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o
[30/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_log.c.o
[31/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_common_dev.c:17:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[32/2347] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/malloc_heap.h:12,
from ../lib/eal/common/malloc_elem.c:19:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[33/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_trace.h:11,
from ../lib/eal/common/eal_common_thread.c:23:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[34/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
[35/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_trace.h:11,
from ../lib/eal/common/eal_common_trace_ctf.c:15:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[36/2347] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[37/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_memcfg.h:11,
from ../lib/eal/common/eal_common_dynmem.c:15:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[38/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_trace.h:11,
from ../lib/eal/common/eal_common_trace_utils.c:15:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[39/2347] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/rte_malloc.c:15:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[40/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_trace.h:11,
from ../lib/eal/common/eal_common_trace.c:16:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[41/2347] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_memcfg.h:11,
from ../lib/eal/common/malloc_mp.c:13:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[42/2347] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/malloc_heap.c:14:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[43/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_common_fbarray.c:16:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[44/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/common/eal_common_memory.c:16:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[45/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_memcfg.h:11,
from ../lib/eal/common/eal_common_proc.c:30:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[46/2347] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/rte_service.c:19:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[47/2347] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/telemetry/telemetry.c:20:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
[48/2347] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
In file included from ../lib/eal/loongarch/include/rte_spinlock.h:13,
from ../lib/eal/common/eal_trace.h:11,
from ../lib/eal/common/eal_common_options.c:44:
./lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
./lib/eal/include/generic/rte_spinlock.h:72:27: warning: cast discards ‘volatile’ qualifier from pointer target type [-Wcast-qual]
rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
^
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------


       reply	other threads:[~2023-07-31 21:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1690837661-27573-5-git-send-email-roretzla@linux.microsoft.com>
2023-07-31 20:54 ` qemudev [this message]
2023-07-31 21:09 ` |SUCCESS| pw129760 " checkpatch
2023-07-31 21:58 ` |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=202307312054.36VKsvwb529662@localhost.localdomain \
    --to=qemudev@loongson.cn \
    --cc=roretzla@linux.microsoft.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).