* compilation|FAILURE| pw(143572) sid(32884) job(PER_PATCH_BUILD13013)[v2] net/zxdh: Provide zxdh basic init
@ 2024-09-03 2:15 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2024-09-03 2:15 UTC (permalink / raw)
To: test-report, wang.junlong1
[-- Attachment #1: Type: text/plain, Size: 60241 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/143572
_Compilation issues_
Submitter: Junlong Wang <wang.junlong1@zte.com.cn>
Date: 2024-09-03 01:45:48
Reply_mail: <20240903014549.3353554-1-wang.junlong1@zte.com.cn>
DPDK git baseline: Repo:dpdk-next-net, CommitID: 523fd7b3adfdf5a87651e8ca33bc69223b3211d5
Meson Build Summary: 23 Builds Done, 6 Successful, 17 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | pass | fail | | | | | |
| CBL-Mariner2.0-64 | fail | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL93-64 | fail | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL94-64Rt | fail | | | | | | |
| UB2204-64 | fail | | | | | | |
| FC40-64 | fail | fail | | | | | |
| UB2404-64Rt | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL93-64
Kernel Version: 5.14.0-362.8.1.el9_3.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-94-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/RHEL94-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/RHEL94-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/RHEL94-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2074/3051] Generating drivers/rte_raw_cnxk_bphy.pmd.c with a custom command
[2075/3051] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2076/3051] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2077/3051] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2078/3051] Generating drivers/rte_net_virtio.pmd.c with a custom command
[2079/3051] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2080/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2081/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_api.c.o
[2082/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
*Build Failed #2:
OS: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o
clang -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/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]
577 | }
| ^
../drivers/net/zxdh/zxdh_ethdev.c:562:2: note: mutex acquired here
562 | 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]
588 | rte_spinlock_unlock(&hw->state_lock);
| ^
2 errors generated.
[2021/3012] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o
[2022/3012] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[2023/3012] Generating drivers/rte_net_virtio.pmd.c with a custom command
[2024/3012] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy.c.o
[2025/3012] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o
[2026/3012] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2027/3012] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx.c.o
[2028/3012] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[2029/3012] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_irq.c.o
ninja: build stopped
*Build Failed #3:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/RHEL94-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc+shared/32884/dpdk/x86_64-native-linuxapp-gcc+shared/lib -Wl,-rpath-link,/root/RHEL94-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc+shared/32884/dpdk/x86_64-native-linuxapp-gcc+shared/drivers 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,--end-group -Wl,--version-script=/root/RHEL94-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc+shared/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2091/2901] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[2092/2901] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2093/2901] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_irq.c.o
[2094/2901] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2095/2901] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2096/2901] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2097/2901] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2098/2901] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2099/2901] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o
gcc -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -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 -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o -c ../drivers/net/zxdh/zxdh_msg.c
In function ‘__bar_chan_sync_msg_reps_get’,
inlined from ‘zxdh_bar_chan_sync_msg_send’ at ../drivers/net/zxdh/zxdh_msg.c:784:9:
../drivers/net/zxdh/zxdh_msg.c:469:18: error: ‘msg_header.msg_id’ may be used uninitialized [-Werror=maybe-uninitialized]
469 | uint16_t msg_id = msg_header.msg_id;
| ^~~~~~
../drivers/net/zxdh/zxdh_msg.c: In function ‘zxdh_bar_chan_sync_msg_send’:
../drivers/net/zxdh/zxdh_msg.c:466:31: note: ‘msg_header’ declared here
466 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
In function ‘__bar_chan_sync_msg_reps_get’,
inlined from ‘zxdh_bar_chan_sync_msg_send’ at ../drivers/net/zxdh/zxdh_msg.c:784:9:
../drivers/net/zxdh/zxdh_msg.c:476:18: error: ‘msg_header.len’ may be used uninitialized [-Werror=maybe-uninitialized]
476 | uint16_t msg_len = msg_header.len;
| ^~~~~~~
../drivers/net/zxdh/zxdh_msg.c: In function ‘zxdh_bar_chan_sync_msg_send’:
../drivers/net/zxdh/zxdh_msg.c:466:31: note: ‘msg_header’ declared here
466 | struct bar_msg_header msg_header;
| ^~~~~~~~~~
In function ‘__bar_chan_msg_header_check’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:909:17:
../drivers/net/zxdh/zxdh_msg.c:830:31: error: ‘msg_header’ may be used uninitialized [-Werror=maybe-uninitialized]
830 | if (msg_header->valid != BAR_MSG_CHAN_USED) {
| ^
../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;
| ^~~~~~~~~~
In function ‘__bar_chan_msg_header_check’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:909:17:
../drivers/net/zxdh/zxdh_msg.c:834:39: error: ‘msg_header.module_id’ may be used uninitialized [-Werror=maybe-uninitialized]
834 | uint8_t module_id = msg_header->module_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;
| ^~~~~~~~~~
In function ‘__bar_chan_msg_header_check’,
inlined from ‘zxdh_bar_irq_recv’ at ../drivers/net/zxdh/zxdh_msg.c:909:17:
../drivers/net/zxdh/zxdh_msg.c:840:18: error: ‘msg_header.len’ may be used uninitialized [-Werror=maybe-uninitialized]
840 | uint16_t len = msg_header->len;
| ^~~
../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;
| ^~~~~~~~~~
../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
[2048/3047] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o
[2049/3047] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy.c.o
[2050/3047] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx.c.o
[2051/3047] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2052/3047] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o
[2053/3047] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o
[2054/3047] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[2055/3047] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2056/3047] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped
*Build Failed #5:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o
clang -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/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.
[2032/3018] Generating drivers/rte_net_vhost.sym_chk with a custom command (wrapped by meson to capture output)
[2033/3018] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o
[2034/3018] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2035/3018] Generating drivers/rte_net_txgbe.pmd.c with a custom command
[2036/3018] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_virtio_user_dev.c.o
[2037/3018] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[2038/3018] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o
[2039/3018] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o
[2040/3018] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
ninja: build stopped
*Build Failed #6:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/CBL-Mariner2.0-64_K5.15.102_GCC11.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/CBL-Mariner2.0-64_K5.15.102_GCC11.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/CBL-Mariner2.0-64_K5.15.102_GCC11.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2059/2998] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2060/2998] Generating drivers/rte_raw_cnxk_bphy.pmd.c with a custom command
[2061/2998] Generating drivers/rte_net_vmxnet3.pmd.c with a custom command
[2062/2998] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2063/2998] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2064/2998] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb_hw_intel.c.o
[2065/2998] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev.c.o
[2066/2998] Compiling C object drivers/libtmp_rte_raw_skeleton.a.p/raw_skeleton_skeleton_rawdev_test.c.o
[2067/2998] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o
ninja: build stopped
*Build Failed #7:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o
gcc -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/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
[1547/2293] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_vhost_vdpa.c.o
[1548/2293] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1549/2293] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1550/2293] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_virtio_user_dev.c.o
[1551/2293] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o
[1552/2293] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o
[1553/2293] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o
gcc -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o -c ../drivers/net/zxdh/zxdh_msg.c
../drivers/net/zxdh/zxdh_msg.c: In function ‘__bar_chan_reg_write’:
../drivers/net/zxdh/zxdh_msg.c:328:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
328 | *(uint32_t *)(subchan_addr + algin_offset) = data;
| ^
../drivers/net/zxdh/zxdh_msg.c: In function ‘__bar_chan_reg_read’:
../drivers/net/zxdh/zxdh_msg.c:340:19: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
340 | *pdata = *(uint32_t *)(subchan_addr + algin_offset);
| ^
../drivers/net/zxdh/zxdh_msg.c: In function ‘__bar_chan_sync_msg_reps_get’:
../drivers/net/zxdh/zxdh_msg.c:483:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
483 | uint8_t *recv_msg = (uint8_t *)recv_buffer;
| ^
../drivers/net/zxdh/zxdh_msg.c: In function ‘spinklock_read’:
../drivers/net/zxdh/zxdh_msg.c:557:17: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
557 | return *(volatile uint8_t *)((uint64_t)virt_lock_addr + (uint64_t)lock_id);
| ^
../drivers/net/zxdh/zxdh_msg.c: In function ‘spinlock_write’:
../drivers/net/zxdh/zxdh_msg.c:562:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
562 | *(volatile uint8_t *)((uint64_t)virt_lock_addr + (uint64_t)lock_id) = data;
| ^
../drivers/net/zxdh/zxdh_msg.c: In function ‘label_write’:
../drivers/net/zxdh/zxdh_msg.c:567:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
567 | *(volatile uint16_t *)(label_lock_addr + lock_id * 2) = value;
| ^
../drivers/net/zxdh/zxdh_msg.c: In function ‘__bar_chan_msg_header_pr’:
../drivers/net/zxdh/zxdh_msg.c:716:38: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
716 | struct bar_msg_header *hdr = (struct bar_msg_header *)addr;
| ^
cc1: all warnings being treated as errors
[1554/2293] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[1555/2293] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL93-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/RHEL93-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/RHEL93-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/RHEL93-64_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2075/3067] Generating drivers/rte_raw_cnxk_bphy.pmd.c with a custom command
[2076/3067] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_irq.c.o
[2077/3067] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2078/3067] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2079/3067] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2080/3067] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2081/3067] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2082/3067] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2083/3067] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
*Build Failed #9:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -Wl,--undefined-version -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc+16byte/32884/dpdk/x86_64-native-linuxapp-gcc+16byte/lib -Wl,-rpath-link,/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc+16byte/32884/dpdk/x86_64-native-linuxapp-gcc+16byte/drivers 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,--end-group -Wl,--version-script=/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc+16byte/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2190/3206] Compiling C object drivers/librte_net_virtio.a.p/meson-generated_.._rte_net_virtio.pmd.c.o
[2191/3206] Generating drivers/rte_net_vmxnet3.pmd.c with a custom command
[2192/3206] Generating drivers/rte_raw_cnxk_bphy.pmd.c with a custom command
[2193/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2194/3206] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2195/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2196/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2197/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_api.c.o
[2198/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
*Build Failed #10:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -Wl,--undefined-version -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2183/3202] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2184/3202] Generating drivers/rte_raw_cnxk_bphy.pmd.c with a custom command
[2185/3202] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2186/3202] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2187/3202] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2188/3202] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2189/3202] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2190/3202] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
[2191/3202] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_api.c.o
ninja: build stopped
*Build Failed #11:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o
clang -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/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]
577 | }
| ^
../drivers/net/zxdh/zxdh_ethdev.c:562:2: note: mutex acquired here
562 | 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]
588 | rte_spinlock_unlock(&hw->state_lock);
| ^
2 errors generated.
[2168/3202] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_virtio_user_dev.c.o
[2169/3202] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[2170/3202] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o
[2171/3202] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx.c.o
[2172/3202] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2173/3202] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o
[2174/3202] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy.c.o
[2175/3202] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[2176/3202] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o
ninja: build stopped
*Build Failed #12:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -Wl,--undefined-version -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-doc/32884/dpdk/x86_64-native-linuxapp-doc/lib -Wl,-rpath-link,/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-doc/32884/dpdk/x86_64-native-linuxapp-doc/drivers 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,--end-group -Wl,--version-script=/root/UB2404-64_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-doc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2185/3029] Linking static target drivers/librte_raw_cnxk_bphy.a
[2186/3029] Compiling C object drivers/librte_raw_cnxk_bphy.so.25.0.p/meson-generated_.._rte_raw_cnxk_bphy.pmd.c.o
[2187/3029] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_irq.c.o
[2188/3029] Generating drivers/rte_net_txgbe.pmd.c with a custom command
[2189/3029] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2190/3029] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2191/3029] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2192/3029] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2193/3029] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
ninja: build stopped
*Build Failed #13:
OS: RHEL94-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/RHEL94-64Rt_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/RHEL94-64Rt_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/RHEL94-64Rt_K5.14.0_GCC11.4.1/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2096/3051] Linking target drivers/librte_raw_cnxk_bphy.so.25.0
[2097/3051] Linking static target drivers/libtmp_rte_raw_cnxk_gpio.a
[2098/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_feature_dev.c.o
[2099/3051] Generating drivers/rte_raw_dpaa2_cmdif.pmd.c with a custom command
[2100/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
[2101/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_port.c.o
[2102/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme_error.c.o
[2103/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme_dperf.c.o
[2104/3051] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme_iperf.c.o
ninja: build stopped
*Build Failed #14:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/UB2204-64_K5.15.0_GCC11.4.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/UB2204-64_K5.15.0_GCC11.4.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/UB2204-64_K5.15.0_GCC11.4.0/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2070/3048] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2071/3048] Generating drivers/rte_raw_cnxk_bphy.pmd.c with a custom command
[2072/3048] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2073/3048] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2074/3048] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2075/3048] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2076/3048] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_api.c.o
[2077/3048] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2078/3048] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
*Build Failed #15:
OS: FC40-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -Wl,--undefined-version -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/FC40-64_K6.8.5_GCC14.0.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/FC40-64_K6.8.5_GCC14.0.1/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/FC40-64_K6.8.5_GCC14.0.1/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2182/3206] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2183/3206] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2184/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[2185/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_irq.c.o
[2186/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2187/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2188/3206] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2189/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2190/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
*Build Failed #16:
OS: FC40-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o
clang -Idrivers/libtmp_rte_net_zxdh.a.p -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/metrics -I../lib/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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.zxdh -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o -MF drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o.d -o drivers/libtmp_rte_net_zxdh.a.p/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]
577 | }
| ^
../drivers/net/zxdh/zxdh_ethdev.c:562:2: note: mutex acquired here
562 | 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]
588 | rte_spinlock_unlock(&hw->state_lock);
| ^
2 errors generated.
[2172/3206] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[2173/3206] Generating drivers/rte_net_virtio.pmd.c with a custom command
[2174/3206] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o
[2175/3206] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o
[2176/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy.c.o
[2177/3206] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[2178/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_irq.c.o
[2179/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx.c.o
[2180/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2404-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/librte_net_zxdh.so.25.0
gcc -o drivers/librte_net_zxdh.so.25.0 drivers/librte_net_zxdh.so.25.0.p/meson-generated_.._rte_net_zxdh.pmd.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_common.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_pci.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_queue.c.o drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_npsdk.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_net_zxdh.so.25 -Wl,--no-as-needed -Wl,--undefined-version -pthread -lm -ldl -lnuma -lfdt '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/UB2404-64Rt_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/lib -Wl,-rpath-link,/root/UB2404-64Rt_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/x86_64-native-linuxapp-gcc/drivers 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,--end-group -Wl,--version-script=/root/UB2404-64Rt_K6.8.0_GCC13.2.0/x86_64-native-linuxapp-gcc/32884/dpdk/drivers/version.map
/usr/bin/ld: drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_msg.c.o:(.bss+0x1360): multiple definition of `MSG_VEC'; drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_ethdev.c.o:(.bss+0x580): first defined here
collect2: error: ld returned 1 exit status
[2191/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_irq.c.o
[2192/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_bphy.a.p/raw_cnxk_bphy_cnxk_bphy_cgx_test.c.o
[2193/3206] Generating drivers/rte_net_virtio.pmd.c with a custom command
[2194/3206] Compiling C object drivers/libtmp_rte_raw_dpaa2_cmdif.a.p/raw_dpaa2_cmdif_dpaa2_cmdif.c.o
[2195/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio_selftest.c.o
[2196/3206] Compiling C object drivers/libtmp_rte_raw_cnxk_gpio.a.p/raw_cnxk_gpio_cnxk_gpio.c.o
[2197/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_enumerate.c.o
[2198/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_api.c.o
[2199/3206] Compiling C object drivers/raw/ifpga/base/libifpga_rawdev_base.a.p/ifpga_fme.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-03 2:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-03 2:15 compilation|FAILURE| pw(143572) sid(32884) job(PER_PATCH_BUILD13013)[v2] net/zxdh: Provide zxdh basic init sys_stv
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).