compilation|FAILURE| pw(130870) sid(29367) job(PER_PATCH_BUILD8885)vhost: avoid potential null pointer access

sys_stv at intel.com sys_stv at intel.com
Thu Aug 31 09:29:54 CEST 2023


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/130870

_Compilation issues_

Submitter: Li Feng <fengli at smartx.com>
Date: 2023-08-30 08:47:08
Reply_mail: <20230830084708.754084-1-fengli at smartx.com>

DPDK git baseline: Repo:dpdk-next-virtio, CommitID: fbafb3676c482dab60c0b5465b47f2ea33893a36


Meson Build Summary: 25 Builds Done, 4 Successful, 21 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | fail       |              |            |            |           |          |            |
| FreeBSD13-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL92-64         | fail       | fail         |            | fail       | fail      |          |            |
| SUSE15-64         | fail       | fail         |            |            |           |          |            |
| CBL-Mariner2.0-64 | fail       |              |            |            |           |          |            |
| UB2004-64         | fail       |              |            |            |           |          |            |
| UB2204-32         | fail       |              |            |            |           |          |            |
| RHEL87-64         | fail       |              |            |            |           |          |            |
| UB2204-64         | fail       | fail         |            |            |           | fail     | fail       |
| CentOS79-64       | fail       |              |            |            |           |          |            |
| RHEL92-64Rt       | fail       |              |            |            |           |          |            |
| UB2304-64         | fail       |              |            |            |           |          |            |
| FC38-64           | fail       | fail         |            |            |           |          |            |
| UB2204-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: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.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: 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-gcc

OS: UB2204-32
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-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+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.81.1.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc

OS: RHEL92-64Rt
	Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc

OS: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.15.111-rt63
	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



*Build Failed #1:
OS: OpenAnolis8.8-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[369/2761] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[370/2761] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[371/2761] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[372/2761] Linking static target lib/librte_mldev.a
[373/2761] Linking static target lib/librte_dmadev.a
[374/2761] Linking static target lib/librte_stack.a
[375/2761] Linking static target lib/librte_rib.a
[376/2761] Linking static target lib/librte_security.a
[377/2761] Linking static target lib/librte_reorder.a
ninja: build stopped




*Build Failed #2:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[382/2765] Linking target lib/librte_rib.so.23.2
[383/2765] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[384/2765] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[385/2765] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[386/2765] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[387/2765] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[388/2765] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[389/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[390/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #3:
OS: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.c:11:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[384/2726] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[385/2726] Generating symbol file lib/librte_rib.so.23.2.p/librte_rib.so.23.2.symbols
[386/2726] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/socket.c:22:
In file included from ../lib/vhost/vduse.h:8:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[387/2726] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[388/2726] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[389/2726] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/vhost.c:20:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[390/2726] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[391/2726] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/vhost_user.c:49:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[392/2726] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #4:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[394/2624] Linking static target lib/librte_sched.a
[395/2624] Generating symbol file lib/librte_rib.so.23.2.p/librte_rib.so.23.2.symbols
[396/2624] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[397/2624] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[398/2624] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[399/2624] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[400/2624] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[401/2624] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost_user.c:49:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[402/2624] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #5:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[381/2765] Generating symbol file lib/librte_reorder.so.23.2.p/librte_reorder.so.23.2.symbols
[382/2765] Generating symbol file lib/librte_rib.so.23.2.p/librte_rib.so.23.2.symbols
[383/2765] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[384/2765] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[385/2765] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[386/2765] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[387/2765] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[388/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[389/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #6:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.c:11:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[371/2784] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/socket.c:22:
In file included from ../lib/vhost/vduse.h:8:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[372/2784] Generating lib/stack.sym_chk with a custom command (wrapped by meson to capture output)
[373/2784] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[374/2784] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[375/2784] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[376/2784] Generating symbol file lib/librte_regexdev.so.23.2.p/librte_regexdev.so.23.2.symbols
[377/2784] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[378/2784] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[379/2784] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #7:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10:0,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[375/2782] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:0:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[376/2782] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[377/2782] Generating lib/stack.sym_chk with a custom command (wrapped by meson to capture output)
[378/2782] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8:0,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[379/2782] Generating symbol file lib/librte_mldev.so.23.2.p/librte_mldev.so.23.2.symbols
[380/2782] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[381/2782] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[382/2782] Generating symbol file lib/librte_reorder.so.23.2.p/librte_reorder.so.23.2.symbols
[383/2782] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10:0,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #8:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[381/2763] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[382/2763] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[383/2763] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[384/2763] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[385/2763] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[386/2763] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function 'vhost_vring_call_packed':
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[387/2763] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[388/2763] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost_user.c:49:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[389/2763] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:16: error: 'return' with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #9:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |  return 0;
      |         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[381/2811] Generating rib.sym_chk with a custom command (wrapped by meson to capture output)
[382/2811] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[383/2811] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |  return 0;
      |         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[384/2811] Generating mldev.sym_chk with a custom command (wrapped by meson to capture output)
[385/2811] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[386/2811] Generating symbol file lib/librte_reorder.so.23.2.p/librte_reorder.so.23.2.symbols
[387/2811] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |  return 0;
      |         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[388/2811] Generating symbol file lib/librte_stack.so.23.2.p/librte_stack.so.23.2.symbols
[389/2811] Generating security.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #10:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[375/2229] Generating symbol file lib/librte_reorder.so.23.2.p/librte_reorder.so.23.2.symbols
[376/2229] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[377/2229] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[378/2229] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[379/2229] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[380/2229] Generating symbol file lib/librte_rib.so.23.2.p/librte_rib.so.23.2.symbols
[381/2229] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[382/2229] Generating symbol file lib/librte_stack.so.23.2.p/librte_stack.so.23.2.symbols
[383/2229] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #11:
OS: RHEL87-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[373/2714] Linking target lib/librte_dmadev.so.23.2
[374/2714] Generating rib.sym_chk with a meson_exe.py custom command
[375/2714] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[376/2714] Generating symbol file lib/librte_stack.so.23.2.p/librte_stack.so.23.2.symbols
[377/2714] Generating reorder.sym_chk with a meson_exe.py custom command
[378/2714] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror]
  return 0;
         ^
../lib/vhost/vhost.h:1027:1: note: declared here
 restore_mbuf(struct rte_mbuf *m)
 ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[379/2714] Generating security.sym_chk with a meson_exe.py custom command
[380/2714] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[381/2714] Generating mldev.sym_chk with a meson_exe.py custom command
ninja: build stopped




*Build Failed #12:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[383/2817] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[384/2817] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[385/2817] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[386/2817] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[387/2817] Generating symbol file lib/librte_stack.so.23.2.p/librte_stack.so.23.2.symbols
[388/2817] Generating symbol file lib/librte_mldev.so.23.2.p/librte_mldev.so.23.2.symbols
[389/2817] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[390/2817] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[391/2817] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #13:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[383/2813] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[384/2813] Linking target lib/librte_stack.so.23.2
[385/2813] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[386/2813] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[387/2813] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[388/2813] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[389/2813] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[390/2813] Generating symbol file lib/librte_reorder.so.23.2.p/librte_reorder.so.23.2.symbols
[391/2813] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #14:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.c:11:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[376/2813] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[377/2813] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[378/2813] Generating symbol file lib/librte_regexdev.so.23.2.p/librte_regexdev.so.23.2.symbols
[379/2813] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[380/2813] Generating lib/stack.sym_chk with a custom command (wrapped by meson to capture output)
[381/2813] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/socket.c:22:
In file included from ../lib/vhost/vduse.h:8:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[382/2813] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[383/2813] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[384/2813] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #15:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[380/2783] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[381/2783] Generating lib/stack.sym_chk with a custom command (wrapped by meson to capture output)
[382/2783] Generating symbol file lib/librte_regexdev.so.23.2.p/librte_regexdev.so.23.2.symbols
[383/2783] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[384/2783] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[385/2783] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[386/2783] Generating symbol file lib/librte_reorder.so.23.2.p/librte_reorder.so.23.2.symbols
[387/2783] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[388/2783] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
ninja: build stopped




*Build Failed #16:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10:0,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:2: error: 'return' with a value, in function returning void [-Werror]
  return 0;
  ^
cc1: all warnings being treated as errors
[330/2754] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8:0,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function 'restore_mbuf':
../lib/vhost/vhost.h:1040:2: error: 'return' with a value, in function returning void [-Werror]
  return 0;
  ^
cc1: all warnings being treated as errors
[331/2754] Generating symbol file lib/librte_rawdev.so.23.2.p/librte_rawdev.so.23.2.symbols
[332/2754] Generating symbol file lib/librte_dmadev.so.23.2.p/librte_dmadev.so.23.2.symbols
[333/2754] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[334/2754] Generating symbol file lib/librte_rcu.so.23.2.p/librte_rcu.so.23.2.symbols
[335/2754] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[336/2754] Generating symbol file lib/librte_mempool.so.23.2.p/librte_mempool.so.23.2.symbols
[337/2754] Generating lib/stack.sym_chk with a custom command (wrapped by meson to capture output)
[338/2754] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #17:
OS: RHEL92-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[380/2765] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[381/2765] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[382/2765] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[383/2765] Generating lib/sched.sym_chk with a custom command (wrapped by meson to capture output)
[384/2765] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[385/2765] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[386/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[387/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost_user.c:49:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[388/2765] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #18:
OS: UB2304-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[380/2813] Linking target lib/librte_rib.so.23.2
[381/2813] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[382/2813] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[383/2813] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[384/2813] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[385/2813] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[386/2813] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[387/2813] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost_user.c:49:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[388/2813] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #19:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[380/2979] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[381/2979] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[382/2979] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[383/2979] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[384/2979] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[385/2979] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[386/2979] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
[387/2979] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost_user.c:49:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[388/2979] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #20:
OS: FC38-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.c:11:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[381/2975] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/socket.c:22:
In file included from ../lib/vhost/vduse.h:8:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[382/2975] Generating symbol file lib/librte_rib.so.23.2.p/librte_rib.so.23.2.symbols
[383/2975] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[384/2975] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[385/2975] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[386/2975] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/vhost.c:20:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[387/2975] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[388/2975] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_crypto.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -MF lib/librte_vhost.a.p/vhost_vhost_crypto.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_crypto.c.o -c ../lib/vhost/vhost_crypto.c
In file included from ../lib/vhost/vhost_crypto.c:11:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
[389/2975] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost_user.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vhost_user.c.o -MF lib/librte_vhost.a.p/vhost_vhost_user.c.o.d -o lib/librte_vhost.a.p/vhost_vhost_user.c.o -c ../lib/vhost/vhost_user.c
In file included from ../lib/vhost/vhost_user.c:49:
In file included from ../lib/vhost/iotlb.h:10:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
        return 0;
        ^      ~
2 errors generated.
ninja: build stopped




*Build Failed #21:
OS: UB2204-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_iotlb.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_iotlb.c.o -MF lib/librte_vhost.a.p/vhost_iotlb.c.o.d -o lib/librte_vhost.a.p/vhost_iotlb.c.o -c ../lib/vhost/iotlb.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[382/2817] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[383/2817] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[384/2817] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[385/2817] Generating symbol file lib/librte_stack.so.23.2.p/librte_stack.so.23.2.symbols
[386/2817] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[387/2817] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
FAILED: lib/librte_vhost.a.p/vhost_socket.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_socket.c.o -MF lib/librte_vhost.a.p/vhost_socket.c.o.d -o lib/librte_vhost.a.p/vhost_socket.c.o -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
                 from ../lib/vhost/socket.c:22:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[388/2817] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
FAILED: lib/librte_vhost.a.p/vhost_vdpa.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vdpa.c.o -MF lib/librte_vhost.a.p/vhost_vdpa.c.o.d -o lib/librte_vhost.a.p/vhost_vdpa.c.o -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[389/2817] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[390/2817] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
FAILED: lib/librte_vhost.a.p/vhost_vhost.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/ethdev -I../lib/ethdev -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 -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DVHOST_HAS_VDUSE -DRTE_USE_FUNCTION_VERSIONING -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vhost.c.o -MF lib/librte_vhost.a.p/vhost_vhost.c.o.d -o lib/librte_vhost.a.p/vhost_vhost.c.o -c ../lib/vhost/vhost.c
In file included from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vhost.c:20:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:16: error: ‘return’ with a value, in function returning void [-Werror=return-type]
 1040 |         return 0;
      |                ^
../lib/vhost/vhost.h:1027:1: note: declared here
 1027 | restore_mbuf(struct rte_mbuf *m)
      | ^~~~~~~~~~~~
../lib/vhost/vhost.h: In function ‘vhost_vring_call_packed’:
../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type]
 1018 | }
      | ^
cc1: all warnings being treated as errors
ninja: build stopped


DPDK STV team


More information about the test-report mailing list