From: 0-day Robot <robot@bytheb.org>
To: test-report@dpdk.org
Cc: haijie1@huawei.com, robot@bytheb.org
Subject: |FAILURE| pw134108 [PATCH 2/2] net/hns3: use stdatomic API
Date: Fri, 10 Nov 2023 21:59:28 -0500 [thread overview]
Message-ID: <20231111025928.778921-1-robot@bytheb.org> (raw)
In-Reply-To: <20231111015915.2776769-3-haijie1@huawei.com>
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/134108/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6831466566
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-stdatomic" failed at step Build and test
"ubuntu-20.04-clang-stdatomic" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" 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-stdatomic" at step Build and test
####################################################################################
[1437/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_cmd.c.o'.
[1438/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_niccfg.c.o'.
[1439/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'.
[1440/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_nicio.c.o'.
[1441/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_wq.c.o'.
[1442/2842] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@sta/hinic_pmd_mbox.c.o'.
[1443/2842] Linking static target drivers/net/hinic/base/libhinic_base.a.
[1444/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[1445/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1446/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.hns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_update_push_lsc_cap’:
../drivers/net/hns3/hns3_ethdev_vf.c:621:3: error: initialization of ‘uint16_t’ {aka ‘short unsigned int’} from ‘uint16_t *’ {aka ‘short unsigned int *’} makes integer from pointer without a cast [-Werror=int-conversion]
621 | rte_atomic_compare_exchange_strong_explicit(&vf->pf_push_lsc_cap,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/hns3/hns3_ethdev_vf.c: In function ‘hns3vf_get_push_lsc_cap’:
../drivers/net/hns3/hns3_ethdev_vf.c:663:2: error: initialization of ‘uint16_t’ {aka ‘short unsigned int’} from ‘uint16_t *’ {aka ‘short unsigned int *’} makes integer from pointer without a cast [-Werror=int-conversion]
663 | rte_atomic_compare_exchange_strong_explicit(&vf->pf_push_lsc_cap, &exp,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1447/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
[1448/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_fdir.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
#define atomic_store_explicit __c11_atomic_store
^
../drivers/net/hns3/hns3_cmd.c:795:2: error: address argument to atomic operation must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short *') invalid)
rte_atomic_store_explicit(&hw->reset.disable_cmd, 1,
^ ~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_stdatomic.h:76:2: note: expanded from macro 'rte_atomic_store_explicit'
atomic_store_explicit(ptr, val, memorder)
^ ~~~
/usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:118:31: note: expanded from macro 'atomic_store_explicit'
#define atomic_store_explicit __c11_atomic_store
^
../drivers/net/hns3/hns3_cmd.c:825:2: error: address argument to atomic operation must be a pointer to _Atomic type ('uint16_t *' (aka 'unsigned short *') invalid)
rte_atomic_store_explicit(&hw->reset.disable_cmd, 1,
^ ~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_stdatomic.h:76:2: note: expanded from macro 'rte_atomic_store_explicit'
atomic_store_explicit(ptr, val, memorder)
^ ~~~
/usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:118:31: note: expanded from macro 'atomic_store_explicit'
#define atomic_store_explicit __c11_atomic_store
^
11 errors generated.
[1445/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1446/2842] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[1490/3914] Linking target drivers/librte_net_gve.so.24.0.
[1491/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_rx.c.o'.
[1492/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_flow.c.o'.
[1493/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev.c.o'.
[1494/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_cmd.c.o'.
[1495/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers -Idrivers/net/hns3 -I../drivers/net/hns3 -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 -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.hns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o.d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' -c ../drivers/net/hns3/hns3_ethdev_vf.c
../drivers/net/hns3/hns3_ethdev_vf.c:622:10: error: incompatible pointer to integer conversion passing 'uint16_t *' (aka 'unsigned short *') to parameter of type 'uint16_t' (aka 'unsigned short'); remove & [-Werror,-Wint-conversion]
&exp, &val, rte_memory_order_acquire, rte_memory_order_acquire);
^~~~
../lib/eal/include/rte_stdatomic.h:150:45: note: expanded from macro 'rte_atomic_compare_exchange_strong_explicit'
__atomic_compare_exchange_n(ptr, expected, desired, 0, \
^~~~~~~
../drivers/net/hns3/hns3_ethdev_vf.c:664:3: error: incompatible pointer to integer conversion passing 'uint16_t *' (aka 'unsigned short *') to parameter of type 'uint16_t' (aka 'unsigned short'); remove & [-Werror,-Wint-conversion]
&val, rte_memory_order_acquire, rte_memory_order_acquire);
^~~~
../lib/eal/include/rte_stdatomic.h:150:45: note: expanded from macro 'rte_atomic_compare_exchange_strong_explicit'
__atomic_compare_exchange_n(ptr, expected, desired, 0, \
^~~~~~~
2 errors generated.
[1496/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_fdir.c.o'.
[1497/3914] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_hinic_hinic_pmd_tx.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] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
prev parent reply other threads:[~2023-11-11 2:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20231111015915.2776769-3-haijie1@huawei.com>
2023-11-11 1:47 ` |SUCCESS| pw134107-134108 " qemudev
2023-11-11 1:52 ` qemudev
2023-11-11 2:06 ` |SUCCESS| pw134108 " checkpatch
2023-11-11 2:59 ` 0-day Robot [this message]
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=20231111025928.778921-1-robot@bytheb.org \
--to=robot@bytheb.org \
--cc=haijie1@huawei.com \
--cc=test-report@dpdk.org \
/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).