|FAILURE| pw152602 [PATCH] cnxk: use stdatomic API
0-day Robot
robot at bytheb.org
Thu Mar 27 13:22:40 CET 2025
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/152602/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/14105370769
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
####################################################################################
/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
^
In file included from ../drivers/net/cnxk/cnxk_eswitch_rxtx.c:5:
In file included from ../drivers/net/cnxk/cnxk_eswitch.h:13:
../drivers/net/cnxk/cn10k_tx.h:1620:3: error: address argument to atomic operation must be a pointer to _Atomic type ('int64_t *' (aka 'long *') invalid)
NIX_XMIT_FC_CHECK_RETURN(txq, pkts);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_tx.h:86:4: note: expanded from macro 'NIX_XMIT_FC_CHECK_RETURN'
NIX_XMIT_FC_OR_RETURN_MTS(txq, pkts); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cn10k_tx.h:68:9: note: expanded from macro 'NIX_XMIT_FC_OR_RETURN_MTS'
if (!rte_atomic_compare_exchange_strong_explicit( \
^
../lib/eal/include/rte_stdatomic.h:79:2: note: expanded from macro 'rte_atomic_compare_exchange_strong_explicit'
atomic_compare_exchange_strong_explicit(ptr, expected, desired, \
^ ~~~
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdatomic.h:136:49: note: expanded from macro 'atomic_compare_exchange_strong_explicit'
#define atomic_compare_exchange_strong_explicit __c11_atomic_compare_exchange_strong
^
16 errors generated.
[471/3254] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow_common.c.o
[472/3254] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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