Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/99695 _Compilation issues_ Submitter: Gaoxiang Liu Date: 2021-09-26 12:56:23 Reply_mail: 20210926125623.833-1-gaoxiangliu0@163.com DPDK git baseline: Repo:dpdk-next-virtio, CommitID: ea2f3f584eaac39b01af2de5d06d2a390dff1660 Meson Build Summary: 22 Builds Done, 5 Successful, 17 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | fail | fail | fail | | | fail | | RHEL83-64 | fail | fail | fail | fail | fail | | | FC34-64 | fail | fail | | | | | | UB2104-64 | fail | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | fail | | | | | | | CENTOS83-64 | fail | fail | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | | | SUSE15-64 | fail | fail | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-icc x86_64-native-linuxapp-doc OS: RHEL83-64 Kernel Version: 4.18.0-305.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.3.18-lp152.57-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 9.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc *Build Failed #1: OS: CENTOS83-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token { ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] vhost_dev_xstats_reset(struct rte_eth_dev *dev) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] static struct rte_eth_link pmd_link = { ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] static struct rte_ether_addr base_eth_addr = { ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] static const char *valid_arguments[] = { ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [938/3035] Linking static target drivers/librte_mempool_octeontx2.a [939/3035] Generating rte_mempool_cnxk.sym_chk with a meson_exe.py custom command [940/3035] Generating rte_mempool_dpaa2.sym_chk with a meson_exe.py custom command [941/3035] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [942/3035] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [943/3035] Generating rte_mempool_stack.pmd.c with a custom command [944/3035] Generating rte_mempool_octeontx.sym_chk with a meson_exe.py custom command [945/3035] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [946/3035] Generating rte_mempool_dpaa.sym_chk with a meson_exe.py custom command [947/3035] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [948/3035] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #2: OS: CENTOS83-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ')' { ^ ../drivers/net/vhost/rte_eth_vhost.c:339:34: note: to match this '(' vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf ^ ../drivers/net/vhost/rte_eth_vhost.c:984:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:984:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1015:14: error: use of undeclared identifier 'vhost_ops' &vhost_ops) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1132:2: error: implicit declaration of function 'queue_setup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] queue_setup(eth_dev, internal); ^ ../drivers/net/vhost/rte_eth_vhost.c:1136:8: error: implicit declaration of function 'eth_vhost_install_intr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eth_vhost_install_intr(eth_dev) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1145:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(eth_dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1157:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: use of undeclared identifier 'eth_rxq_intr_enable'; did you mean 'rte_intr_enable'? .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ rte_intr_enable ../lib/eal/include/rte_interrupts.h:132:5: note: 'rte_intr_enable' declared here int rte_intr_enable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: use of undeclared identifier 'eth_rxq_intr_disable'; did you mean 'rte_intr_disable'? .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ rte_intr_disable ../lib/eal/include/rte_interrupts.h:144:5: note: 'rte_intr_disable' declared here int rte_intr_disable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: incompatible pointer types initializing 'eth_rx_enable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-pointer-types] .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: incompatible pointer types initializing 'eth_rx_disable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-pointer-types] .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1453:26: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1454:26: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1521:27: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1522:27: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ 18 errors generated. [957/3038] Generating rte_mempool_octeontx2.pmd.c with a custom command [958/3038] Generating rte_mempool_stack.pmd.c with a custom command [959/3038] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [960/3038] Generating rte_mempool_bucket.sym_chk with a meson_exe.py custom command [961/3038] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [962/3038] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [963/3038] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [964/3038] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [965/3038] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #3: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token { ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] vhost_dev_xstats_reset(struct rte_eth_dev *dev) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] static struct rte_eth_link pmd_link = { ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] static struct rte_ether_addr base_eth_addr = { ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] static const char *valid_arguments[] = { ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1782/2821] Generating rte_net_thunderx.pmd.c with a custom command. [1783/2821] Linking static target drivers/libtmp_rte_net_vdev_netvsc.a. [1784/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. [1785/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1786/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1787/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci_ethdev.c.o'. [1788/2821] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1789/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1790/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #4: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ')' { ^ ../drivers/net/vhost/rte_eth_vhost.c:339:34: note: to match this '(' vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf ^ ../drivers/net/vhost/rte_eth_vhost.c:984:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:984:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1015:14: error: use of undeclared identifier 'vhost_ops' &vhost_ops) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1132:2: error: implicit declaration of function 'queue_setup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] queue_setup(eth_dev, internal); ^ ../drivers/net/vhost/rte_eth_vhost.c:1136:8: error: implicit declaration of function 'eth_vhost_install_intr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eth_vhost_install_intr(eth_dev) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1145:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(eth_dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1157:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: use of undeclared identifier 'eth_rxq_intr_enable'; did you mean 'rte_intr_enable'? .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ rte_intr_enable ../lib/eal/include/rte_interrupts.h:132:5: note: 'rte_intr_enable' declared here int rte_intr_enable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: use of undeclared identifier 'eth_rxq_intr_disable'; did you mean 'rte_intr_disable'? .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ rte_intr_disable ../lib/eal/include/rte_interrupts.h:144:5: note: 'rte_intr_disable' declared here int rte_intr_disable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: incompatible pointer types initializing 'eth_rx_enable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-pointer-types] .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: incompatible pointer types initializing 'eth_rx_disable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-pointer-types] .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1453:26: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1454:26: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1521:27: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1522:27: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ 18 errors generated. [1944/3039] Compiling C object drivers/librte_net_thunderx.a.p/meson-generated_.._rte_net_thunderx.pmd.c.o [1945/3039] Generating rte_net_vdev_netvsc.pmd.c with a custom command [1946/3039] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o [1947/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1948/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1949/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1950/3039] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1951/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1952/3039] 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-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token { ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] vhost_dev_xstats_reset(struct rte_eth_dev *dev) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] static struct rte_eth_link pmd_link = { ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] static struct rte_ether_addr base_eth_addr = { ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] static const char *valid_arguments[] = { ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1951/3037] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1952/3037] Generating rte_net_tap.sym_chk with a custom command (wrapped by meson to capture output) [1953/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1954/3037] Generating rte_net_thunderx.sym_chk with a custom command (wrapped by meson to capture output) [1955/3037] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1956/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1957/3037] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #6: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token 340 | { | ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] 279 | vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] 253 | vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] 231 | vhost_dev_xstats_reset(struct rte_eth_dev *dev) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] 141 | static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; | ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] 126 | static struct rte_eth_link pmd_link = { | ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] 124 | static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] 51 | static struct rte_ether_addr base_eth_addr = { | ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] 39 | static const char *valid_arguments[] = { | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1579/2438] Linking static target drivers/librte_net_thunderx.a [1580/2438] Linking target drivers/librte_net_tap.so.22.0 [1581/2438] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_tm.c.o [1582/2438] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1583/2438] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1584/2438] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o [1585/2438] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1586/2438] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1587/2438] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #7: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ')' { ^ ../drivers/net/vhost/rte_eth_vhost.c:339:34: note: to match this '(' vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf ^ ../drivers/net/vhost/rte_eth_vhost.c:984:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:984:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1015:14: error: use of undeclared identifier 'vhost_ops' &vhost_ops) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1132:2: error: implicit declaration of function 'queue_setup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] queue_setup(eth_dev, internal); ^ ../drivers/net/vhost/rte_eth_vhost.c:1136:8: error: implicit declaration of function 'eth_vhost_install_intr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eth_vhost_install_intr(eth_dev) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1145:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(eth_dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1157:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: use of undeclared identifier 'eth_rxq_intr_enable'; did you mean 'rte_intr_enable'? .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ rte_intr_enable ../lib/eal/include/rte_interrupts.h:132:5: note: 'rte_intr_enable' declared here int rte_intr_enable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: use of undeclared identifier 'eth_rxq_intr_disable'; did you mean 'rte_intr_disable'? .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ rte_intr_disable ../lib/eal/include/rte_interrupts.h:144:5: note: 'rte_intr_disable' declared here int rte_intr_disable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: incompatible pointer types initializing 'eth_rx_enable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-pointer-types] .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: incompatible pointer types initializing 'eth_rx_disable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-pointer-types] .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1453:26: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1454:26: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1521:27: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1522:27: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ 18 errors generated. [1949/3058] Compiling C object drivers/librte_net_vdev_netvsc.a.p/meson-generated_.._rte_net_vdev_netvsc.pmd.c.o [1950/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1951/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx_simple.c.o [1952/3058] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1953/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtqueue.c.o [1954/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1955/3058] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1956/3058] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o [1957/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o ninja: build stopped *Build Failed #8: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token 340 | { | ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] 279 | vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] 253 | vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] 231 | vhost_dev_xstats_reset(struct rte_eth_dev *dev) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] 141 | static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; | ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] 126 | static struct rte_eth_link pmd_link = { | ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] 124 | static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] 51 | static struct rte_ether_addr base_eth_addr = { | ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] 39 | static const char *valid_arguments[] = { | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1941/3058] Generating rte_net_vdev_netvsc.pmd.c with a custom command [1942/3058] Generating rte_net_tap.sym_chk with a meson_exe.py custom command [1943/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1944/3058] Generating rte_net_thunderx.sym_chk with a meson_exe.py custom command [1945/3058] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o [1946/3058] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1947/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1948/3058] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1949/3058] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o ninja: build stopped *Build Failed #9: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o icc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c(340): error: expected a ")" { ^ ../drivers/net/vhost/rte_eth_vhost.c(405): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^ ../drivers/net/vhost/rte_eth_vhost.c(407): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(466): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(475): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += nb_bytes; ^ ../drivers/net/vhost/rte_eth_vhost.c(476): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^ ../drivers/net/vhost/rte_eth_vhost.c(477): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^ compilation aborted for ../drivers/net/vhost/rte_eth_vhost.c (code 2) [1895/3009] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1896/3009] Generating rte_net_softnic.pmd.c with a custom command [1897/3009] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1898/3009] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o [1899/3009] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o [1900/3009] Compiling C object drivers/libtmp_rte_net_tap.a.p/net_tap_rte_eth_tap.c.o [1901/3009] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o [1902/3009] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1903/3009] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o [1904/3009] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o [1905/3009] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_tx.c.o ninja: build stopped *Build Failed #10: OS: UB2104-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token 340 | { | ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] 279 | vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] 253 | vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] 231 | vhost_dev_xstats_reset(struct rte_eth_dev *dev) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] 141 | static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; | ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] 126 | static struct rte_eth_link pmd_link = { | ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] 124 | static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] 51 | static struct rte_ether_addr base_eth_addr = { | ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] 39 | static const char *valid_arguments[] = { | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1942/3072] Generating rte_net_tap.sym_chk with a custom command (wrapped by meson to capture output) [1943/3072] Generating rte_net_thunderx.sym_chk with a custom command (wrapped by meson to capture output) [1944/3072] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1945/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1946/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1947/3072] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o [1948/3072] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1949/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1950/3072] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #11: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token 340 | { | ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] 279 | vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] 253 | vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] 231 | vhost_dev_xstats_reset(struct rte_eth_dev *dev) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] 141 | static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; | ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] 126 | static struct rte_eth_link pmd_link = { | ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] 124 | static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] 51 | static struct rte_ether_addr base_eth_addr = { | ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] 39 | static const char *valid_arguments[] = { | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1814/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_tm.c.o'. [1815/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1816/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1817/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio.c.o'. [1818/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1819/2650] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1820/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1821/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. [1822/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. ninja: build stopped *Build Failed #12: OS: FC34-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token 340 | { | ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] 279 | vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] 253 | vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] 231 | vhost_dev_xstats_reset(struct rte_eth_dev *dev) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] 141 | static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; | ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] 126 | static struct rte_eth_link pmd_link = { | ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] 124 | static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] 51 | static struct rte_ether_addr base_eth_addr = { | ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] 39 | static const char *valid_arguments[] = { | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [964/3037] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [965/3037] Generating rte_mempool_octeontx2.sym_chk with a meson_exe.py custom command [966/3037] Generating rte_mempool_ring.sym_chk with a meson_exe.py custom command [967/3037] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [968/3037] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_mpu.c.o [969/3037] Generating rte_mempool_stack.sym_chk with a meson_exe.py custom command [970/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [971/3037] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [972/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [973/3037] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [974/3037] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #13: OS: FC34-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ')' { ^ ../drivers/net/vhost/rte_eth_vhost.c:339:34: note: to match this '(' vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf ^ ../drivers/net/vhost/rte_eth_vhost.c:984:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:984:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1015:14: error: use of undeclared identifier 'vhost_ops' &vhost_ops) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1132:2: error: implicit declaration of function 'queue_setup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] queue_setup(eth_dev, internal); ^ ../drivers/net/vhost/rte_eth_vhost.c:1136:8: error: implicit declaration of function 'eth_vhost_install_intr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eth_vhost_install_intr(eth_dev) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1145:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(eth_dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1157:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: use of undeclared identifier 'eth_rxq_intr_enable'; did you mean 'rte_intr_enable'? .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ rte_intr_enable ../lib/eal/include/rte_interrupts.h:132:5: note: 'rte_intr_enable' declared here int rte_intr_enable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: use of undeclared identifier 'eth_rxq_intr_disable'; did you mean 'rte_intr_disable'? .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ rte_intr_disable ../lib/eal/include/rte_interrupts.h:144:5: note: 'rte_intr_disable' declared here int rte_intr_disable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: incompatible function pointer types initializing 'eth_rx_enable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-function-pointer-types] .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: incompatible function pointer types initializing 'eth_rx_disable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-function-pointer-types] .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1453:26: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1454:26: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1521:27: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1522:27: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ 18 errors generated. [945/3037] Compiling C object drivers/libtmp_rte_mempool_stack.a.p/mempool_stack_rte_mempool_stack.c.o [946/3037] Compiling C object drivers/libtmp_rte_mempool_octeontx2.a.p/mempool_octeontx2_otx2_mempool_ops.c.o [947/3037] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [948/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [949/3037] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [950/3037] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [951/3037] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [952/3037] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [953/3037] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #14: OS: RHEL83-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o clang -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ')' { ^ ../drivers/net/vhost/rte_eth_vhost.c:339:34: note: to match this '(' vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf ^ ../drivers/net/vhost/rte_eth_vhost.c:984:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:984:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1015:14: error: use of undeclared identifier 'vhost_ops' &vhost_ops) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1132:2: error: implicit declaration of function 'queue_setup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] queue_setup(eth_dev, internal); ^ ../drivers/net/vhost/rte_eth_vhost.c:1136:8: error: implicit declaration of function 'eth_vhost_install_intr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (eth_vhost_install_intr(eth_dev) < 0) { ^ ../drivers/net/vhost/rte_eth_vhost.c:1145:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(eth_dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1157:2: error: implicit declaration of function 'update_queuing_status' is invalid in C99 [-Werror,-Wimplicit-function-declaration] update_queuing_status(dev); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:9: error: implicit declaration of function 'find_internal_resource' is invalid in C99 [-Werror,-Wimplicit-function-declaration] list = find_internal_resource(internal->iface_name); ^ ../drivers/net/vhost/rte_eth_vhost.c:1178:7: error: incompatible integer to pointer conversion assigning to 'struct internal_list *' from 'int' [-Werror,-Wint-conversion] list = find_internal_resource(internal->iface_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: use of undeclared identifier 'eth_rxq_intr_enable'; did you mean 'rte_intr_enable'? .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ rte_intr_enable ../lib/eal/include/rte_interrupts.h:132:5: note: 'rte_intr_enable' declared here int rte_intr_enable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: use of undeclared identifier 'eth_rxq_intr_disable'; did you mean 'rte_intr_disable'? .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ rte_intr_disable ../lib/eal/include/rte_interrupts.h:144:5: note: 'rte_intr_disable' declared here int rte_intr_disable(const struct rte_intr_handle *intr_handle); ^ ../drivers/net/vhost/rte_eth_vhost.c:1394:26: error: incompatible function pointer types initializing 'eth_rx_enable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-function-pointer-types] .rx_queue_intr_enable = eth_rxq_intr_enable, ^~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1395:27: error: incompatible function pointer types initializing 'eth_rx_disable_intr_t' (aka 'int (*)(struct rte_eth_dev *, unsigned short)') with an expression of type 'int (const struct rte_intr_handle *)' [-Werror,-Wincompatible-function-pointer-types] .rx_queue_intr_disable = eth_rxq_intr_disable, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:1453:26: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1454:26: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1521:27: error: use of undeclared identifier 'eth_vhost_rx' eth_dev->rx_pkt_burst = eth_vhost_rx; ^ ../drivers/net/vhost/rte_eth_vhost.c:1522:27: error: use of undeclared identifier 'eth_vhost_tx' eth_dev->tx_pkt_burst = eth_vhost_tx; ^ 18 errors generated. [1785/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio.c.o'. [1786/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1787/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1788/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci_ethdev.c.o'. [1789/2821] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1790/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1791/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. [1792/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1793/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #15: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token { ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] vhost_dev_xstats_reset(struct rte_eth_dev *dev) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] static struct rte_eth_link pmd_link = { ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] static struct rte_ether_addr base_eth_addr = { ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] static const char *valid_arguments[] = { ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1805/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio.c.o'. [1806/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1807/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci_ethdev.c.o'. [1808/2654] Linking target drivers/librte_net_thunderx.so.22.0. [1809/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1810/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci.c.o'. [1811/2654] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1812/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1813/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. [1814/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_rxtx.c.o'. [1815/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. ninja: build stopped *Build Failed #16: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:340:1: error: expected ‘;’, ‘,’ or ‘)’ before ‘{’ token { ^ ../drivers/net/vhost/rte_eth_vhost.c:279:1: error: ‘vhost_dev_xstats_get’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get(struct rte_eth_dev *dev, struct rte_eth_xstat *xstats, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:253:1: error: ‘vhost_dev_xstats_get_names’ defined but not used [-Werror=unused-function] vhost_dev_xstats_get_names(struct rte_eth_dev *dev __rte_unused, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:231:1: error: ‘vhost_dev_xstats_reset’ defined but not used [-Werror=unused-function] vhost_dev_xstats_reset(struct rte_eth_dev *dev) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:141:38: error: ‘vring_states’ defined but not used [-Werror=unused-variable] static struct rte_vhost_vring_state *vring_states[RTE_MAX_ETHPORTS]; ^~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:126:28: error: ‘pmd_link’ defined but not used [-Werror=unused-variable] static struct rte_eth_link pmd_link = { ^~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:124:24: error: ‘internal_list_lock’ defined but not used [-Werror=unused-variable] static pthread_mutex_t internal_list_lock = PTHREAD_MUTEX_INITIALIZER; ^~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:51:30: error: ‘base_eth_addr’ defined but not used [-Werror=unused-variable] static struct rte_ether_addr base_eth_addr = { ^~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:39:20: error: ‘valid_arguments’ defined but not used [-Werror=unused-variable] static const char *valid_arguments[] = { ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1796/2821] Generating rte_net_vdev_netvsc.pmd.c with a custom command. [1797/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1798/2821] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1799/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1800/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #17: OS: RHEL83-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o icc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -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/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 -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c(340): error: expected a ")" { ^ ../drivers/net/vhost/rte_eth_vhost.c(405): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^ ../drivers/net/vhost/rte_eth_vhost.c(407): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(466): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(475): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += nb_bytes; ^ ../drivers/net/vhost/rte_eth_vhost.c(476): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^ ../drivers/net/vhost/rte_eth_vhost.c(477): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^ compilation aborted for ../drivers/net/vhost/rte_eth_vhost.c (code 2) [1927/3072] Compiling C object drivers/libtmp_rte_net_tap.a.p/net_tap_rte_eth_tap.c.o [1928/3072] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1929/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1930/3072] Linking target drivers/librte_net_softnic.so.22.0 [1931/3072] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o [1932/3072] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1933/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1934/3072] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1935/3072] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_tx.c.o ninja: build stopped DPDK STV team