compilation|FAILURE| pw(161189) sid(37337) job(PER_PATCH_BUILD17960)[RFC, 10/10] vhost: Support vduse suspend feature

sys_stv at intel.com sys_stv at intel.com
Wed Feb 11 17:34:09 CET 2026


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

_Compilation issues_

Submitter: Eugenio Pérez <eperezma at redhat.com>
Date: 2026-02-11 16:14:57
Reply_mail: <20260211161457.2703686-11-eperezma at redhat.com>

DPDK git baseline: Repo:dpdk-next-virtio, CommitID: 9e74a385a9ed2af4c8c846238f5cb6d228afe097


Meson Build Summary: 23 Builds Done, 17 Successful, 6 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail       |              |            |            |           |          |            |
| FreeBSD14-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL96-64         | pass       | fail         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | fail         |            |            |           |          |            |
| AzureLinux3.0-64  | pass       |              |            |            |           |          |            |
| UB2404-32         | fail       |              |            |            |           |          |            |
| RHEL10-64         | pass       |              |            |            |           |          |            |
| UB2404-64         | pass       | fail         |            |            |           | pass     | pass       |
| RHEL10-64RT       | pass       |              |            |            |           |          |            |
| UB2504-64         | pass       |              |            |            |           |          |            |
| Fedora42-64       | pass       | fail         |            |            |           |          |            |
| OpenEuler2404-64  | pass       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

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.10-64
	Kernel Version: 5.10.134-18.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
	Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
	x86_64-native-linuxapp-gcc

OS: FreeBSD14-64
	Kernel Version: 14.3-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
	Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL96-64
	Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
	GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.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: 6.4.0-150700.51-default
	GCC Version: gcc (SUSE Linux) 14.2.0
	Clang Version: 17.0.6
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: AzureLinux3.0-64
	Kernel Version: 6.6.47.1-1.azl3
	GCC Version: gcc (GCC) 13.2.0
	Clang Version: 18.1.2
	x86_64-native-linuxapp-gcc

OS: UB2404-32
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL10-64
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64
	GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
	x86_64-native-linuxapp-gcc

OS: UB2404-64
	Kernel Version: 6.8.0-41-generic
	GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
	Clang Version: 18.1.3 (1ubuntu1)
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: RHEL10-64RT
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
	GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
	Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
	x86_64-native-linuxapp-gcc

OS: UB2504-64
	Kernel Version: 6.14.0-15-generic
	GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: Fedora42-64
	Kernel Version: 6.14.0-63.fc42.x86_64
	GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
	Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: OpenEuler2404-64
	Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
	GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
	Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c
../lib/vhost/vduse.c: In function ‘vduse_events_handler’:
../lib/vhost/vduse.c:467:3: error: a label can only be part of a statement and a declaration is not a statement
   uint64_t start, last;
   ^~~~~~~~
../lib/vhost/vduse.c:468:3: error: expected expression before ‘uint32_t’
   uint32_t asid;
   ^~~~~~~~
../lib/vhost/vduse.c:473:4: error: ‘asid’ undeclared (first use in this function); did you mean ‘void’?
    asid = 0;
    ^~~~
    void
../lib/vhost/vduse.c:473:4: note: each undeclared identifier is reported only once for each function it appears in
[471/3703] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[472/3703] Generating symbol file lib/librte_mldev.so.26.1.p/librte_mldev.so.26.1.symbols
[473/3703] Generating symbol file lib/librte_stack.so.26.1.p/librte_stack.so.26.1.symbols
[474/3703] Generating symbol file lib/librte_security.so.26.1.p/librte_security.so.26.1.symbols
[475/3703] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[476/3703] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[477/3703] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[478/3703] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[479/3703] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped




*Build Failed #2:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c
../lib/vhost/vduse.c:467:3: error: label followed by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  467 |                 uint64_t start, last;
      |                 ^
1 error generated.
[474/3593] Generating symbol file lib/librte_mldev.so.26.1.p/librte_mldev.so.26.1.symbols
[475/3593] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[476/3593] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[477/3593] Generating symbol file lib/librte_stack.so.26.1.p/librte_stack.so.26.1.symbols
[478/3593] Generating symbol file lib/librte_security.so.26.1.p/librte_security.so.26.1.symbols
[479/3593] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[480/3593] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[481/3593] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[482/3593] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped




*Build Failed #3:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c
../lib/vhost/vduse.c:467:3: error: expected expression
  467 |                 uint64_t start, last;
      |                 ^
../lib/vhost/vduse.c:471:4: error: use of undeclared identifier 'start'
  471 |                         start = req.iova.start;
      |                         ^
../lib/vhost/vduse.c:472:4: error: use of undeclared identifier 'last'
  472 |                         last = req.iova.last;
      |                         ^
../lib/vhost/vduse.c:475:4: error: use of undeclared identifier 'start'
  475 |                         start = req.iova_v2.start;
      |                         ^
../lib/vhost/vduse.c:476:4: error: use of undeclared identifier 'last'
  476 |                         last = req.iova_v2.last;
      |                         ^
../lib/vhost/vduse.c:481:10: error: use of undeclared identifier 'start'; did you mean 'stat'?
  481 |                         asid, start, last);
      |                               ^~~~~
      |                               stat
../lib/vhost/vhost.h:710:60: note: expanded from macro 'VHOST_CONFIG_LOG'
  710 |         RTE_LOG_LINE_PREFIX(level, VHOST_CONFIG, "(%s) ", prefix, __VA_ARGS__)
      |                                                                   ^
../lib/log/rte_log.h:447:38: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
  447 |             args RTE_LOG_COMMA RTE_FMT_TAIL(__VA_ARGS__ ,))); \
      |                                             ^
../lib/eal/include/rte_common.h:924:32: note: expanded from macro 'RTE_FMT_TAIL'
  924 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
      |                                ^
../lib/eal/include/rte_common.h:922:39: note: expanded from macro 'RTE_FMT'
  922 | #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ ""
      |                                       ^
../lib/log/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
  334 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^
/usr/include/sys/stat.h:227:28: note: 'stat' declared here
  227 | extern int __REDIRECT_NTH (stat, (const char *__restrict __file,
      |                            ^
../lib/vhost/vduse.c:481:17: error: use of undeclared identifier 'last'; did you mean 'labs'?
  481 |                         asid, start, last);
      |                                      ^~~~
      |                                      labs
../lib/vhost/vhost.h:710:60: note: expanded from macro 'VHOST_CONFIG_LOG'
  710 |         RTE_LOG_LINE_PREFIX(level, VHOST_CONFIG, "(%s) ", prefix, __VA_ARGS__)
      |                                                                   ^
../lib/log/rte_log.h:447:38: note: expanded from macro 'RTE_LOG_LINE_PREFIX'
  447 |             args RTE_LOG_COMMA RTE_FMT_TAIL(__VA_ARGS__ ,))); \
      |                                             ^
../lib/eal/include/rte_common.h:924:32: note: expanded from macro 'RTE_FMT_TAIL'
  924 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
      |                                ^
../lib/eal/include/rte_common.h:922:39: note: expanded from macro 'RTE_FMT'
  922 | #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ ""
      |                                       ^
../lib/log/rte_log.h:334:32: note: expanded from macro 'RTE_LOG'
  334 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                              ^
/usr/include/stdlib.h:981:17: note: 'labs' declared here
  981 | extern long int labs (long int __x) __THROW __attribute__ ((__const__)) __wur;
      |                 ^
../lib/vhost/vduse.c:482:44: error: use of undeclared identifier 'start'
  482 |                 vhost_user_iotlb_cache_remove(dev, asid, start, last - start + 1);
      |                                                          ^
../lib/vhost/vduse.c:482:51: error: use of undeclared identifier 'last'
  482 |                 vhost_user_iotlb_cache_remove(dev, asid, start, last - start + 1);
      |                                                                 ^
../lib/vhost/vduse.c:482:58: error: use of undeclared identifier 'start'
  482 |                 vhost_user_iotlb_cache_remove(dev, asid, start, last - start + 1);
      |                                                                        ^
10 errors generated.
[477/3703] Generating symbol file lib/librte_stack.so.26.1.p/librte_stack.so.26.1.symbols
[478/3703] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[479/3703] Generating symbol file lib/librte_security.so.26.1.p/librte_security.so.26.1.symbols
[480/3703] Generating symbol file lib/librte_sched.so.26.1.p/librte_sched.so.26.1.symbols
[481/3703] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[482/3703] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[483/3703] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[484/3703] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[485/3703] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped




*Build Failed #4:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o 
gcc -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c
In file included from ../lib/vhost/vhost.h:18,
                 from ../lib/vhost/iotlb.h:10,
                 from ../lib/vhost/vduse.c:23:
../lib/vhost/vduse.c: In function ‘vduse_device_get_vduse_features’:
../lib/vhost/vduse.c:826:73: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
  826 |                         vduse_kernel_features & supported_vduse_features);
      |                                                                         ^
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
  334 |                  RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
      |                                       ^
../lib/vhost/vhost.h:710:9: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
  710 |         RTE_LOG_LINE_PREFIX(level, VHOST_CONFIG, "(%s) ", prefix, __VA_ARGS__)
      |         ^~~~~~~~~~~~~~~~~~~
../lib/vhost/vduse.c:824:9: note: in expansion of macro ‘VHOST_CONFIG_LOG’
  824 |         VHOST_CONFIG_LOG(log_name, DEBUG,
      |         ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[450/2692] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[451/2692] Generating symbol file lib/librte_security.so.26.1.p/librte_security.so.26.1.symbols
[452/2692] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[453/2692] Generating symbol file lib/librte_stack.so.26.1.p/librte_stack.so.26.1.symbols
[454/2692] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[455/2692] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[456/2692] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[457/2692] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[458/2692] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped




*Build Failed #5:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c
../lib/vhost/vduse.c:467:3: error: label followed by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  467 |                 uint64_t start, last;
      |                 ^
1 error generated.
[478/3874] Generating symbol file lib/librte_security.so.26.1.p/librte_security.so.26.1.symbols
[479/3874] Generating symbol file lib/librte_sched.so.26.1.p/librte_sched.so.26.1.symbols
[480/3874] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[481/3874] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[482/3874] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[483/3874] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[484/3874] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[485/3874] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[486/3874] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped




*Build Failed #6:
OS: Fedora42-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_vhost.a.p/vhost_vduse.c.o 
clang -Ilib/librte_vhost.a.p -Ilib -I../lib -Ilib/vhost -I../lib/vhost -Ilib/eal/common -I../lib/eal/common -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 -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -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 -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-vla -fno-strict-aliasing -Wno-address-of-packed-member -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_vhost.a.p/vhost_vduse.c.o -MF lib/librte_vhost.a.p/vhost_vduse.c.o.d -o lib/librte_vhost.a.p/vhost_vduse.c.o -c ../lib/vhost/vduse.c
../lib/vhost/vduse.c:467:3: error: label followed by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  467 |                 uint64_t start, last;
      |                 ^
1 error generated.
[477/3874] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[478/3874] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[479/3874] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[480/3874] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[481/3874] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[482/3874] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[483/3874] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[484/3874] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[485/3874] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped


DPDK STV team


More information about the test-report mailing list