|FAILURE| pw139220 [PATCH] ethdev: fix strict aliasing lead to link cannot be up
0-day Robot
robot at bytheb.org
Thu Apr 11 06:04:13 CEST 2024
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/139220/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/8641083568
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
ccache clang -Ilib/76b5a35@@rte_ethdev at sta -Ilib -I../lib -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/log -I../lib/log -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 -Xclang -fcolor-diagnostics -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_FLOW_DEBUG -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'lib/76b5a35@@rte_ethdev at sta/ethdev_rte_ethdev.c.o' -MF 'lib/76b5a35@@rte_ethdev at sta/ethdev_rte_ethdev.c.o.d' -o 'lib/76b5a35@@rte_ethdev at sta/ethdev_rte_ethdev.c.o' -c ../lib/ethdev/rte_ethdev.c
In file included from ../lib/ethdev/rte_ethdev.c:32:
../lib/ethdev/ethdev_driver.h:1679:19: error: address argument to atomic operation must be a pointer to _Atomic type ('uint64_t *' (aka 'unsigned long *') invalid)
old_link.val64 = rte_atomic_exchange_explicit(&dev->data->dev_link.val64,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_stdatomic.h:79:2: note: expanded from macro 'rte_atomic_exchange_explicit'
atomic_exchange_explicit(ptr, val, memorder)
^ ~~~
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdatomic.h:133:34: note: expanded from macro 'atomic_exchange_explicit'
#define atomic_exchange_explicit __c11_atomic_exchange
^
In file included from ../lib/ethdev/rte_ethdev.c:32:
../lib/ethdev/ethdev_driver.h:1699:16: error: address argument to atomic operation must be a pointer to _Atomic type ('uint64_t *' (aka 'unsigned long *') invalid)
link->val64 = rte_atomic_load_explicit(&dev->data->dev_link.val64,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_stdatomic.h:73:2: note: expanded from macro 'rte_atomic_load_explicit'
atomic_load_explicit(ptr, memorder)
^ ~~~
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdatomic.h:130:30: note: expanded from macro 'atomic_load_explicit'
#define atomic_load_explicit __c11_atomic_load
^
2 errors generated.
[72/2954] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_unix_rte_thread.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list