* |FAILURE| pw129758-129760 [PATCH 4/4] eal: adapt rte spinlock and rwlock APIs to use C11 atomics
[not found] <1690837661-27573-5-git-send-email-roretzla@linux.microsoft.com>
@ 2023-07-31 20:54 ` qemudev
2023-07-31 21:09 ` |SUCCESS| pw129760 " checkpatch
2023-07-31 21:58 ` |FAILURE| " 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: qemudev @ 2023-07-31 20:54 UTC (permalink / raw)
To: test-report; +Cc: Tyler Retzlaff, zhoumin
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------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* |FAILURE| pw129760 [PATCH 4/4] eal: adapt rte spinlock and rwlock APIs to use C11 atomics
[not found] <1690837661-27573-5-git-send-email-roretzla@linux.microsoft.com>
2023-07-31 20:54 ` |FAILURE| pw129758-129760 [PATCH 4/4] eal: adapt rte spinlock and rwlock APIs to use C11 atomics qemudev
2023-07-31 21:09 ` |SUCCESS| pw129760 " checkpatch
@ 2023-07-31 21:58 ` 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: 0-day Robot @ 2023-07-31 21:58 UTC (permalink / raw)
To: test-report; +Cc: roretzla, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/129760/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/5719758755
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-mini" failed at step Build and test
"ubuntu-20.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h: In function ‘void rte_rwlock_read_unlock_tm(rte_rwlock_t*)’:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h:28:20: error: ‘struct rte_rwlock_t’ has no member named ‘cnt’
28 | if (unlikely(rwl->cnt))
| ^~~
../lib/eal/include/rte_branch_prediction.h:40:41: note: in definition of macro ‘unlikely’
40 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h: In function ‘void rte_rwlock_write_lock_tm(rte_rwlock_t*)’:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h:38:30: error: ‘struct rte_rwlock_t’ has no member named ‘cnt’
38 | if (likely(rte_try_tm(&rwl->cnt)))
| ^~~
../lib/eal/include/rte_branch_prediction.h:27:39: note: in definition of macro ‘likely’
27 | #define likely(x) __builtin_expect(!!(x), 1)
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h: In function ‘void rte_rwlock_write_unlock_tm(rte_rwlock_t*)’:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h:47:20: error: ‘struct rte_rwlock_t’ has no member named ‘cnt’
47 | if (unlikely(rwl->cnt))
| ^~~
../lib/eal/include/rte_branch_prediction.h:40:41: note: in definition of macro ‘unlikely’
40 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-mini" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
[1689/3846] Linking target drivers/librte_net_kni.so.24.0.
[1690/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe@sta/net_ixgbe_ixgbe_flow.c.o'.
[1691/3846] Linking static target drivers/libtmp_rte_net_ixgbe.a.
[1692/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_memif@sta/net_memif_memif_socket.c.o'.
[1693/3846] Generating rte_net_ixgbe.pmd.c with a custom command.
[1694/3846] Compiling C object 'drivers/a715181@@rte_net_ixgbe@sta/meson-generated_.._rte_net_ixgbe.pmd.c.o'.
[1695/3846] Compiling C object 'drivers/a715181@@rte_net_ixgbe@sha/meson-generated_.._rte_net_ixgbe.pmd.c.o'.
[1696/3846] Linking static target drivers/librte_net_ixgbe.a.
[1697/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_flow.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_flow.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_mlx4@sta -Idrivers -I../drivers -Idrivers/net/mlx4 -I../drivers/net/mlx4 -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -I/usr/include/libnl3 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx4 -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_flow.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_flow.c.o' -c ../drivers/net/mlx4/mlx4_flow.c
In file included from ../drivers/net/mlx4/mlx4_rxtx.h:27,
from ../drivers/net/mlx4/mlx4_flow.c:40:
../drivers/net/mlx4/mlx4_prm.h:111:8: error: redefinition of ‘struct mlx4_wqe_lso_seg’
111 | struct mlx4_wqe_lso_seg {
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/mlx4/mlx4_glue.h:16,
from ../drivers/net/mlx4/mlx4_flow.c:38:
/usr/include/infiniband/mlx4dv.h:410:8: note: originally defined here
410 | struct mlx4_wqe_lso_seg {
| ^~~~~~~~~~~~~~~~
[1698/3846] Generating rte_net_ixgbe.sym_chk with a meson_exe.py custom command.
[1699/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_memif@sta/net_memif_rte_eth_memif.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[1688/3846] Generating rte_net_kni.pmd.c with a custom command.
[1689/3846] Compiling C object 'drivers/a715181@@rte_net_kni@sta/meson-generated_.._rte_net_kni.pmd.c.o'.
[1690/3846] Linking static target drivers/librte_net_kni.a.
[1691/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_memif@sta/net_memif_memif_socket.c.o'.
[1692/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe@sta/net_ixgbe_ixgbe_rxtx.c.o'.
[1693/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_ixgbe@sta/net_ixgbe_ixgbe_rxtx_vec_sse.c.o'.
[1694/3846] Compiling C object 'drivers/a715181@@rte_net_kni@sha/meson-generated_.._rte_net_kni.pmd.c.o'.
[1695/3846] Linking static target drivers/libtmp_rte_net_ixgbe.a.
[1696/3846] Linking target drivers/librte_net_kni.so.24.0.
[1697/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_ethdev.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_mlx4@sta -Idrivers -I../drivers -Idrivers/net/mlx4 -I../drivers/net/mlx4 -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -I/usr/include/libnl3 -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pedantic -DPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx4 -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_mlx4@sta/net_mlx4_mlx4_ethdev.c.o' -c ../drivers/net/mlx4/mlx4_ethdev.c
In file included from ../drivers/net/mlx4/mlx4_ethdev.c:46:
In file included from ../drivers/net/mlx4/mlx4_rxtx.h:27:
../drivers/net/mlx4/mlx4_prm.h:111:8: error: redefinition of 'mlx4_wqe_lso_seg'
struct mlx4_wqe_lso_seg {
^
/usr/include/infiniband/mlx4dv.h:410:8: note: previous definition is here
struct mlx4_wqe_lso_seg {
^
1 error generated.
[1698/3846] Generating rte_net_ixgbe.pmd.c with a custom command.
[1699/3846] Compiling C object 'drivers/a715181@@tmp_rte_net_memif@sta/net_memif_rte_eth_memif.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h: In function ‘void rte_rwlock_read_unlock_tm(rte_rwlock_t*)’:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h:28:20: error: ‘struct rte_rwlock_t’ has no member named ‘cnt’
28 | if (unlikely(rwl->cnt))
| ^~~
../lib/eal/include/rte_branch_prediction.h:40:41: note: in definition of macro ‘unlikely’
40 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h: In function ‘void rte_rwlock_write_lock_tm(rte_rwlock_t*)’:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h:38:30: error: ‘struct rte_rwlock_t’ has no member named ‘cnt’
38 | if (likely(rte_try_tm(&rwl->cnt)))
| ^~~
../lib/eal/include/rte_branch_prediction.h:27:39: note: in definition of macro ‘likely’
27 | #define likely(x) __builtin_expect(!!(x), 1)
| ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h: In function ‘void rte_rwlock_write_unlock_tm(rte_rwlock_t*)’:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_rwlock.h:47:20: error: ‘struct rte_rwlock_t’ has no member named ‘cnt’
47 | if (unlikely(rwl->cnt))
| ^~~
../lib/eal/include/rte_branch_prediction.h:40:41: note: in definition of macro ‘unlikely’
40 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
| ^
../lib/eal/x86/include/rte_spinlock.h: In function ‘void rte_spinlock_recursive_lock_tm(rte_spinlock_recursive_t*)’:
../lib/eal/x86/include/rte_spinlock.h:159:33: error: ‘struct rte_spinlock_t’ has no member named ‘locked’
159 | if (likely(rte_try_tm(&slr->sl.locked)))
| ^~~~~~
../lib/eal/include/rte_branch_prediction.h:27:39: note: in definition of macro ‘likely’
27 | #define likely(x) __builtin_expect(!!(x), 1)
| ^
../lib/eal/x86/include/rte_spinlock.h: In function ‘void rte_spinlock_recursive_unlock_tm(rte_spinlock_recursive_t*)’:
../lib/eal/x86/include/rte_spinlock.h:169:23: error: ‘struct rte_spinlock_t’ has no member named ‘locked’
169 | if (unlikely(slr->sl.locked))
| ^~~~~~
../lib/eal/include/rte_branch_prediction.h:40:41: note: in definition of macro ‘unlikely’
40 | #define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../lib/eal/x86/include/rte_spinlock.h: In function ‘int rte_spinlock_recursive_trylock_tm(rte_spinlock_recursive_t*)’:
../lib/eal/x86/include/rte_spinlock.h:179:33: error: ‘struct rte_spinlock_t’ has no member named ‘locked’
179 | if (likely(rte_try_tm(&slr->sl.locked)))
| ^~~~~~
../lib/eal/include/rte_branch_prediction.h:27:39: note: in definition of macro ‘likely’
27 | #define likely(x) __builtin_expect(!!(x), 1)
| ^
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
[2/4022] Compiling C object 'lib/76b5a35@@rte_kvargs@sta/kvargs_rte_kvargs.c.o'.
[3/4022] Linking static target lib/librte_kvargs.a.
[4/4022] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@sta -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/arm/include -I../lib/eal/arm/include -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o' -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/arm/include/rte_spinlock.h:17,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
../lib/eal/include/generic/rte_spinlock.h:72:27: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
72 | rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
| ^
cc1: all warnings being treated as errors
[5/4022] Generating kvargs.sym_chk with a meson_exe.py custom command.
[6/4022] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@sta -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/arm/include -I../lib/eal/arm/include -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/arm/include/rte_spinlock.h:17,
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: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
72 | rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
[4/3321] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@sta -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/ppc/include -I../lib/eal/ppc/include -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o' -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/ppc/include/rte_spinlock.h:14,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/ppc/include/rte_pause.h: In function ‘rte_pause’:
../lib/eal/ppc/include/rte_pause.h:20:2: error: implicit declaration of function ‘rte_compiler_barrier’ [-Werror=implicit-function-declaration]
20 | rte_compiler_barrier();
| ^~~~~~~~~~~~~~~~~~~~
../lib/eal/ppc/include/rte_pause.h:20:2: error: nested extern declaration of ‘rte_compiler_barrier’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[5/3321] Generating kvargs.sym_chk with a meson_exe.py custom command.
[6/3321] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@sta -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/ppc/include -I../lib/eal/ppc/include -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/ppc/include/rte_spinlock.h:14,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/ppc/include/rte_pause.h: In function ‘rte_pause’:
../lib/eal/ppc/include/rte_pause.h:20:2: error: implicit declaration of function ‘rte_compiler_barrier’ [-Werror=implicit-function-declaration]
20 | rte_compiler_barrier();
| ^~~~~~~~~~~~~~~~~~~~
../lib/eal/ppc/include/rte_pause.h:20:2: error: nested extern declaration of ‘rte_compiler_barrier’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
[2/3293] Linking static target lib/librte_kvargs.a.
[3/3293] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_data.c.o'.
[4/3293] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@sta -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/riscv/include -I../lib/eal/riscv/include -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry_legacy.c.o' -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/riscv/include/rte_spinlock.h:20,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/generic/rte_spinlock.h: In function ‘rte_spinlock_lock’:
../lib/eal/include/generic/rte_spinlock.h:72:27: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
72 | rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
| ^
cc1: all warnings being treated as errors
[5/3293] Generating kvargs.sym_chk with a meson_exe.py custom command.
[6/3293] Compiling C object 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o'.
FAILED: lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_telemetry@sta -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/riscv/include -I../lib/eal/riscv/include -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -MF 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o.d' -o 'lib/76b5a35@@rte_telemetry@sta/telemetry_telemetry.c.o' -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/riscv/include/rte_spinlock.h:20,
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: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual]
72 | rte_wait_until_equal_32((uint32_t _Atomic *)&sl->locked,
| ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread