* |FAILURE| pw143572 [PATCH v2] net/zxdh: Provide zxdh basic init
[not found] <20240903014549.3353554-1-wang.junlong1@zte.com.cn>
` (3 preceding siblings ...)
2024-09-03 2:09 ` |FAILURE| pw143572 [PATCH] [v2] " dpdklab
@ 2024-09-03 2:44 ` 0-day Robot
4 siblings, 0 replies; 5+ messages in thread
From: 0-day Robot @ 2024-09-03 2:44 UTC (permalink / raw)
To: test-report; +Cc: wang.junlong1, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/143572/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/10675384357
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"fedora:39-gcc" failed at step Build
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_msg.c:923:55: error: ‘msg_header.sync’ may be used uninitialized [-Werror=maybe-uninitialized]
923 | uint64_t reps_addr = reply_addr_get(msg_header.sync, src, dst, virt_addr);
| ~~~~~~~~~~^~~~~
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
In function ‘__bar_msg_ack_async_msg_proc’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:931:3:
../drivers/net/zxdh/zxdh_msg.c:876:78: error: ‘msg_header.msg_id’ may be used uninitialized [-Werror=maybe-uninitialized]
876 | struct seqid_item *reps_info = &g_seqid_ring.reps_info_tbl[msg_header->msg_id];
| ~~~~~~~~~~^~~~~~~~
../drivers/net/zxdh/zxdh_msg.c: In function ‘zxdh_bar_irq_recv’:
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[2194/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_queue.c.o'.
[2195/3040] Generating rte_net_vmxnet3.pmd.c with a custom command.
[2196/3040] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy.c.o'.
[2197/3040] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o'.
[2198/3040] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_cgx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
[2183/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_common.c.o'.
[2184/3040] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy.c.o'.
[2185/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3@sta/net_vmxnet3_vmxnet3_ethdev.c.o'.
[2186/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_npsdk.c.o'.
[2187/3040] Linking static target drivers/libtmp_rte_net_vmxnet3.a.
[2188/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_zxdh@sta -Idrivers -I../drivers -Idrivers/net/zxdh -I../drivers/net/zxdh -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 -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_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o' -c ../drivers/net/zxdh/zxdh_ethdev.c
../drivers/net/zxdh/zxdh_ethdev.c:577:1: error: mutex 'hw->state_lock' is not held on every path through here [-Werror,-Wthread-safety-analysis]
}
^
../drivers/net/zxdh/zxdh_ethdev.c:562:2: note: mutex acquired here
rte_spinlock_lock(&hw->state_lock);
^
../drivers/net/zxdh/zxdh_ethdev.c:588:2: error: releasing mutex 'hw->state_lock' that was not held [-Werror,-Wthread-safety-analysis]
rte_spinlock_unlock(&hw->state_lock);
^
2 errors generated.
[2189/3040] Generating rte_net_virtio.pmd.c with a custom command.
[2190/3040] Generating rte_net_vmxnet3.pmd.c with a custom command.
[2191/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_queue.c.o'.
[2192/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_pci.c.o'.
[2193/3040] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_msg.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
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
[2198/4125] Generating rte_net_vmxnet3.pmd.c with a custom command.
[2199/4125] Compiling C object 'drivers/a715181@@rte_net_vmxnet3@sta/meson-generated_.._rte_net_vmxnet3.pmd.c.o'.
[2200/4125] Linking static target drivers/librte_net_vmxnet3.a.
[2201/4125] Compiling C object 'drivers/a715181@@rte_net_vmxnet3@sha/meson-generated_.._rte_net_vmxnet3.pmd.c.o'.
[2202/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_pci.c.o'.
[2203/4125] Linking target drivers/librte_net_vmxnet3.so.25.0.
[2204/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_queue.c.o'.
[2205/4125] Linking static target drivers/libtmp_rte_net_zxdh.a.
[2206/4125] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_cgx.c.o'.
[2207/4125] Generating rte_net_zxdh.pmd.c with a custom command.
[2208/4125] Compiling C object 'drivers/a715181@@rte_net_zxdh@sha/meson-generated_.._rte_net_zxdh.pmd.c.o'.
[2209/4125] Compiling C object 'drivers/a715181@@rte_net_zxdh@sta/meson-generated_.._rte_net_zxdh.pmd.c.o'.
[2210/4125] Linking static target drivers/librte_net_zxdh.a.
[2211/4125] Linking target drivers/librte_net_zxdh.so.25.0.
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 'drivers/a715181@@rte_net_zxdh@sha/meson-generated_.._rte_net_zxdh.pmd.c.o' 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o' 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_common.c.o' 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_pci.c.o' 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_msg.c.o' 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_queue.c.o' 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_npsdk.c.o' -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt lib/librte_ethdev.so.25.0 lib/librte_eal.so.25.0 lib/librte_kvargs.so.25.0 lib/librte_log.so.25.0 lib/librte_telemetry.so.25.0 lib/librte_net.so.25.0 lib/librte_mbuf.so.25.0 lib/librte_mempool.so.25.0 lib/librte_ring.so.25.0 lib/librte_meter.so.25.0 drivers/librte_bus_pci.so.25.0 lib/librte_pci.so.25.0 drivers/librte_bus_vdev.so.25.0 -Wl,--version-script=/home/runner/work/dpdk/dpdk/drivers/version.map /usr/lib/x86_64-linux-gnu/libbsd.so /usr/lib/x86_64-linux-gnu/libarchive.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/home/runner/work/dpdk/dpdk/build/lib -Wl,-rpath-link,/home/runner/work/dpdk/dpdk/build/drivers
/usr/bin/ld: drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_msg.c.o:/home/runner/work/dpdk/dpdk/build/../drivers/net/zxdh/zxdh_msg.h:277: multiple definition of `MSG_VEC'; drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o:/home/runner/work/dpdk/dpdk/build/../drivers/net/zxdh/zxdh_msg.h:277: first defined here
collect2: error: ld returned 1 exit status
[2212/4125] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_irq.c.o'.
[2213/4125] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy.c.o'.
[2214/4125] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o'.
[2215/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5@sta/net_mlx5_mlx5_tx_empw.c.o'.
[2216/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5@sta/net_mlx5_mlx5_tx_nompw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[2189/4125] Compiling C object 'drivers/a715181@@rte_net_virtio@sta/meson-generated_.._rte_net_virtio.pmd.c.o'.
[2190/4125] Linking static target drivers/librte_net_virtio.a.
[2191/4125] Compiling C object 'drivers/a715181@@rte_net_virtio@sha/meson-generated_.._rte_net_virtio.pmd.c.o'.
[2192/4125] Linking target drivers/librte_net_virtio.so.25.0.
[2193/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_common.c.o'.
[2194/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o
ccache clang -Idrivers/a715181@@tmp_rte_net_zxdh@sta -Idrivers -I../drivers -Idrivers/net/zxdh -I../drivers/net/zxdh -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 -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.zxdh -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o' -c ../drivers/net/zxdh/zxdh_ethdev.c
../drivers/net/zxdh/zxdh_ethdev.c:577:1: error: mutex 'hw->state_lock' is not held on every path through here [-Werror,-Wthread-safety-analysis]
}
^
../drivers/net/zxdh/zxdh_ethdev.c:562:2: note: mutex acquired here
rte_spinlock_lock(&hw->state_lock);
^
../drivers/net/zxdh/zxdh_ethdev.c:588:2: error: releasing mutex 'hw->state_lock' that was not held [-Werror,-Wthread-safety-analysis]
rte_spinlock_unlock(&hw->state_lock);
^
2 errors generated.
[2195/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_pci.c.o'.
[2196/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'.
[2197/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5@sta/net_mlx5_mlx5_tx_nompw.c.o'.
[2198/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5@sta/net_mlx5_mlx5_tx_txpp.c.o'.
[2199/4125] Compiling C object 'drivers/a715181@@tmp_rte_net_mlx5@sta/net_mlx5_mlx5_tx_empw.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
ccache gcc -Idrivers/a715181@@tmp_rte_net_zxdh@sta -Idrivers -I../drivers -Idrivers/net/zxdh -I../drivers/net/zxdh -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 -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 -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -MD -MQ 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_common.c.o' -MF 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_common.c.o.d' -o 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_common.c.o' -c ../drivers/net/zxdh/zxdh_common.c
../drivers/net/zxdh/zxdh_common.c: In function ‘zxdh_read_bar_reg’:
../drivers/net/zxdh/zxdh_common.c:15:31: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
15 | uint32_t val = *((volatile uint32_t *)(baseaddr + reg));
| ^
../drivers/net/zxdh/zxdh_common.c: In function ‘zxdh_write_bar_reg’:
../drivers/net/zxdh/zxdh_common.c:23:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
23 | *((volatile uint32_t *)(baseaddr + reg)) = val;
| ^
../drivers/net/zxdh/zxdh_common.c: In function ‘zxdh_read_comm_reg’:
../drivers/net/zxdh/zxdh_common.c:52:26: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
52 | uint32_t val = *((volatile uint32_t *)(pci_comm_cfg_baseaddr + reg));
| ^
../drivers/net/zxdh/zxdh_common.c: In function ‘zxdh_write_comm_reg’:
../drivers/net/zxdh/zxdh_common.c:58:11: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
58 | *((volatile uint32_t *)(pci_comm_cfg_baseaddr + reg)) = val;
| ^
cc1: all warnings being treated as errors
[1568/3198] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_virtio_user_dev.c.o'.
[1569/3198] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3@sta/net_vmxnet3_vmxnet3_ethdev.c.o'.
[1570/3198] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_pci.c.o'.
[1571/3198] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o'.
[1572/3198] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_msg.c:923:55: error: ‘msg_header.sync’ may be used uninitialized [-Werror=maybe-uninitialized]
923 | uint64_t reps_addr = reply_addr_get(msg_header.sync, src, dst, virt_addr);
| ~~~~~~~~~~^~~~~
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
In function ‘__bar_msg_ack_async_msg_proc’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:931:3:
../drivers/net/zxdh/zxdh_msg.c:876:78: error: ‘msg_header.msg_id’ may be used uninitialized [-Werror=maybe-uninitialized]
876 | struct seqid_item *reps_info = &g_seqid_ring.reps_info_tbl[msg_header->msg_id];
| ~~~~~~~~~~^~~~~~~~
../drivers/net/zxdh/zxdh_msg.c: In function ‘zxdh_bar_irq_recv’:
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[2090/4226] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_queue.c.o'.
[2091/4226] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_virtio_user_dev.c.o'.
[2092/4226] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3@sta/net_vmxnet3_vmxnet3_ethdev.c.o'.
[2093/4226] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o'.
[2094/4226] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_msg.c:923:55: error: ‘msg_header.sync’ may be used uninitialized [-Werror=maybe-uninitialized]
923 | uint64_t reps_addr = reply_addr_get(msg_header.sync, src, dst, virt_addr);
| ~~~~~~~~~~^~~~~
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
In function ‘__bar_msg_ack_async_msg_proc’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:931:3:
../drivers/net/zxdh/zxdh_msg.c:876:78: error: ‘msg_header.msg_id’ may be used uninitialized [-Werror=maybe-uninitialized]
876 | struct seqid_item *reps_info = &g_seqid_ring.reps_info_tbl[msg_header->msg_id];
| ~~~~~~~~~~^~~~~~~~
../drivers/net/zxdh/zxdh_msg.c: In function ‘zxdh_bar_irq_recv’:
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[1837/3518] Compiling C object 'drivers/a715181@@tmp_rte_net_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'.
[1838/3518] Generating rte_net_virtio.pmd.c with a custom command.
[1839/3518] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o'.
[1840/3518] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy_cgx.c.o'.
[1841/3518] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
../drivers/net/zxdh/zxdh_msg.c:923:55: error: ‘msg_header.sync’ may be used uninitialized [-Werror=maybe-uninitialized]
923 | uint64_t reps_addr = reply_addr_get(msg_header.sync, src, dst, virt_addr);
| ~~~~~~~~~~^~~~~
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
In function ‘__bar_msg_ack_async_msg_proc’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:931:3:
../drivers/net/zxdh/zxdh_msg.c:876:78: error: ‘msg_header.msg_id’ may be used uninitialized [-Werror=maybe-uninitialized]
876 | struct seqid_item *reps_info = &g_seqid_ring.reps_info_tbl[msg_header->msg_id];
| ~~~~~~~~~~^~~~~~~~
../drivers/net/zxdh/zxdh_msg.c: In function ‘zxdh_bar_irq_recv’:
../drivers/net/zxdh/zxdh_msg.c:906:31: note: ‘msg_header’ declared here
906 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[1806/3489] Compiling C object 'drivers/a715181@@tmp_rte_net_zxdh@sta/net_zxdh_zxdh_ethdev.c.o'.
[1807/3489] Compiling C object 'drivers/a715181@@tmp_rte_raw_cnxk_bphy@sta/raw_cnxk_bphy_cnxk_bphy.c.o'.
[1808/3489] Generating rte_net_vmxnet3.pmd.c with a custom command.
[1809/3489] Generating rte_net_virtio.pmd.c with a custom command.
[1810/3489] Generating rte_net_txgbe.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread