compilation|FAILURE| pw(168745) sid(39132) job(PER_PATCH_BUILD19912)[RFC] ethdev: simplify representor info get API
sys_stv at intel.com
sys_stv at intel.com
Mon Aug 31 19:43:35 CEST 2026
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/168745
_Compilation issues_
Submitter: Dariusz Sosnowski <dsosnowski at nvidia.com>
Date: 2026-08-31 16:29:05
Reply_mail: <20260831162905.383162-1-dsosnowski at nvidia.com>
DPDK git baseline: Repo:dpdk-next-net, CommitID: c1a46b9d9243e922428e8a5f87fa3c6ac177dc5a
Meson Build Summary: 23 Builds Done, 0 Successful, 23 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail | | | | | | |
| FreeBSD15-64 | fail | fail | | fail | fail | | |
| RHEL96-64 | fail | fail | | fail | fail | | |
| SUSE16-64 | fail | fail | | | | | |
| AzureLinux3.0-64 | fail | | | | | | |
| UB2604-32 | fail | | | | | | |
| RHEL10.1-64 | fail | | | | | | |
| UB2604-64 | fail | fail | | | | fail | fail |
| RHEL10-64RT | fail | | | | | | |
| UB2510-64 | fail | | | | | | |
| Fedora43-64 | fail | fail | | | | | |
| OpenEuler2404-64 | 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.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: FreeBSD15-64
Kernel Version: 15.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 14.2.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: SUSE16-64
Kernel Version: 6.12.0-160000.26-default
GCC Version: gcc (SUSE Linux) 15.2.0
Clang Version: 19.1.7
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: UB2604-32
Kernel Version: 7.0.0-14-generic
GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Clang Version: 21.1.8 (6ubuntu1)
i686-native-linuxapp-gcc
OS: RHEL10.1-64
Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
x86_64-native-linuxapp-gcc
OS: UB2604-64
Kernel Version: 7.0.0-14-generic
GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Clang Version: 21.1.8 (6ubuntu1)
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: UB2510-64
Kernel Version: 6.17.0-5-generic
GCC Version: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora43-64
Kernel Version: 6.17.1-300.fc43.x86_64
GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-132.0.0.111.oe2403sp3.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-105.oe2403sp3)
Clang Version: 17.0.6 ( 17.0.6-63.oe2403sp3)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
size = sizeof(*info) + n * sizeof(info->ranges[0]);
^~
../lib/ethdev/ethdev_driver.c:1026:6: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
info->nb_ranges_alloc = n;
^~
../lib/ethdev/ethdev_driver.c:1039:22: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
for (i = 0; i < info->nb_ranges; ++i) {
^~
../lib/ethdev/ethdev_driver.c:1040:11: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (info->ranges[i].type != type)
^~
../lib/ethdev/ethdev_driver.c:1042:11: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (info->ranges[i].controller != controller)
^~
../lib/ethdev/ethdev_driver.c:1044:11: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (info->ranges[i].id_end < info->ranges[i].id_base) {
^~
../lib/ethdev/ethdev_driver.c:1044:36: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (info->ranges[i].id_end < info->ranges[i].id_base) {
^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:18: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
port_id, info->ranges[i].id_base,
^~
../lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
^~~~~~~
../lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); \
^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:2: note: in expansion of macro ‘RTE_LOG_LINE’
RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:4: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:9: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
info->ranges[i].id_end, i);
^~
../lib/log/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../lib/log/rte_log.h:388:16: note: in expansion of macro ‘RTE_FMT’
RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
^~~~~~~
../lib/log/rte_log.h:389:3: note: in expansion of macro ‘RTE_FMT_TAIL’
RTE_FMT_TAIL(__VA_ARGS__ ,))); \
^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:2: note: in expansion of macro ‘RTE_LOG_LINE’
RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:4: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:15: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
^~
../lib/ethdev/ethdev_driver.c:1051:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
^~
../lib/ethdev/ethdev_driver.c:1052:15: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
switch (info->ranges[i].type) {
^~
../lib/ethdev/ethdev_driver.c:1054:17: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (pf < info->ranges[i].pf ||
^~
../lib/ethdev/ethdev_driver.c:1055:18: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
pf >= info->ranges[i].pf + count)
^~
../lib/ethdev/ethdev_driver.c:1057:19: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
*repr_id = info->ranges[i].id_base +
^~
../lib/ethdev/ethdev_driver.c:1058:18: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
(pf - info->ranges[i].pf);
^~
../lib/ethdev/ethdev_driver.c:1062:12: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (info->ranges[i].pf != pf)
^~
../lib/ethdev/ethdev_driver.c:1064:31: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (representor_port < info->ranges[i].vf ||
^~
../lib/ethdev/ethdev_driver.c:1065:32: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
representor_port >= info->ranges[i].vf + count)
^~
../lib/ethdev/ethdev_driver.c:1067:19: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
*repr_id = info->ranges[i].id_base +
^~
../lib/ethdev/ethdev_driver.c:1068:32: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
(representor_port - info->ranges[i].vf);
^~
../lib/ethdev/ethdev_driver.c:1072:12: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (info->ranges[i].pf != pf)
^~
../lib/ethdev/ethdev_driver.c:1074:31: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
if (representor_port < info->ranges[i].sf ||
^~
../lib/ethdev/ethdev_driver.c:1075:32: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
representor_port >= info->ranges[i].sf + count)
^~
../lib/ethdev/ethdev_driver.c:1077:19: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
*repr_id = info->ranges[i].id_base +
^~
../lib/ethdev/ethdev_driver.c:1078:34: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
(representor_port - info->ranges[i].sf);
^~
[144/3759] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[145/3759] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output)
[146/3759] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[147/3759] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[148/3759] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[149/3759] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[150/3759] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:11: error: unused variable ‘id’ [-Werror=unused-variable]
uint16_t id = 0, nc, np, nf, i, c, p, f;
^~
../lib/ethdev/rte_class_eth.c:70:33: error: unused variable ‘data’ [-Werror=unused-variable]
const struct rte_eth_dev_data *data = edev->data;
^~~~
cc1: all warnings being treated as errors
[151/3759] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[152/3759] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function 'rte_eth_representor_id_get':
../lib/ethdev/ethdev_driver.c:1022:47: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: 'struct rte_eth_representor_info' has no member named 'nb_ranges_alloc'
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: 'struct rte_eth_representor_info' has no member named 'nb_ranges'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro 'RTE_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro 'RTE_ETHDEV_LOG_LINE'
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro 'RTE_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro 'RTE_ETHDEV_LOG_LINE'
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1078 | (representor_port - info->ranges[i].sf);
| ^~
[129/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[130/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[131/2286] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[132/2286] Generating lib/rcu.sym_chk with a custom command (wrapped by meson to capture output)
[133/2286] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[134/2286] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[135/2286] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[136/2286] Generating lib/mempool.sym_chk with a custom command (wrapped by meson to capture output)
[137/2286] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #3:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c:1022:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1026:8: error: no member named 'nb_ranges_alloc' in 'struct rte_eth_representor_info'
1026 | info->nb_ranges_alloc = n;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1039:24: error: no member named 'nb_ranges' in 'struct rte_eth_representor_info'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1040:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1040 | if (info->ranges[i].type != type)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1042:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1042 | if (info->ranges[i].controller != controller)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:38: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1046:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1046 | port_id, info->ranges[i].id_base,
| ~~~~ ^
../lib/ethdev/rte_ethdev.h:182:33: note: expanded from macro 'RTE_ETHDEV_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:966:32: note: expanded from macro 'RTE_FMT_TAIL'
966 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:964:39: note: expanded from macro 'RTE_FMT'
964 | #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__)
| ^~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:11: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1047 | info->ranges[i].id_end, i);
| ~~~~ ^
../lib/ethdev/rte_ethdev.h:182:33: note: expanded from macro 'RTE_ETHDEV_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:966:32: note: expanded from macro 'RTE_FMT_TAIL'
966 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:964:39: note: expanded from macro 'RTE_FMT'
964 | #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__)
| ^~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1052:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1052 | switch (info->ranges[i].type) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1054:19: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1054 | if (pf < info->ranges[i].pf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1055:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1055 | pf >= info->ranges[i].pf + count)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1057:21: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1057 | *repr_id = info->ranges[i].id_base +
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1058:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1058 | (pf - info->ranges[i].pf);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1062:14: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1062 | if (info->ranges[i].pf != pf)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1064:33: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1064 | if (representor_port < info->ranges[i].vf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1065:34: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1065 | representor_port >= info->ranges[i].vf + count)
| ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[141/2307] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[142/2307] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[143/2307] Generating symbol file lib/librte_ring.so.27.0.p/librte_ring.so.27.0.symbols
[144/2307] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[145/2307] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c:70:33: error: unused variable 'data' [-Werror,-Wunused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
../lib/ethdev/rte_class_eth.c:72:11: error: unused variable 'id' [-Werror,-Wunused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
2 errors generated.
[146/2307] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[147/2307] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[148/2307] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[149/2307] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function 'rte_eth_representor_id_get':
../lib/ethdev/ethdev_driver.c:1022:47: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: 'struct rte_eth_representor_info' has no member named 'nb_ranges_alloc'
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: 'struct rte_eth_representor_info' has no member named 'nb_ranges'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro 'RTE_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro 'RTE_ETHDEV_LOG_LINE'
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro 'RTE_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro 'RTE_ETHDEV_LOG_LINE'
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1078 | (representor_port - info->ranges[i].sf);
| ^~
[135/2164] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[136/2164] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[137/2164] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[138/2164] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[139/2164] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function 'eth_representor_cmp':
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable 'id' [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable 'data' [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[140/2164] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[141/2164] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[142/2164] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[143/2164] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #5:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_FLOW_DEBUG -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function 'rte_eth_representor_id_get':
../lib/ethdev/ethdev_driver.c:1022:47: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: 'struct rte_eth_representor_info' has no member named 'nb_ranges_alloc'
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: 'struct rte_eth_representor_info' has no member named 'nb_ranges'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro 'RTE_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro 'RTE_ETHDEV_LOG_LINE'
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro 'RTE_LOG'
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro 'RTE_FMT'
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro 'RTE_FMT_TAIL'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro 'RTE_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro 'RTE_ETHDEV_LOG_LINE'
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: 'struct rte_eth_representor_info' has no member named 'ranges'
1078 | (representor_port - info->ranges[i].sf);
| ^~
[134/2286] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[135/2286] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[136/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[137/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_FLOW_DEBUG -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function 'eth_representor_cmp':
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable 'id' [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable 'data' [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[138/2286] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[139/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[140/2286] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[141/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[142/2286] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[148/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[149/3700] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[150/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[151/3700] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[152/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[153/3700] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output)
[154/3700] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[155/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[156/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c:1022:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1026:8: error: no member named 'nb_ranges_alloc' in 'struct rte_eth_representor_info'
1026 | info->nb_ranges_alloc = n;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1039:24: error: no member named 'nb_ranges' in 'struct rte_eth_representor_info'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1040:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1040 | if (info->ranges[i].type != type)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1042:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1042 | if (info->ranges[i].controller != controller)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:38: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1046:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1046 | port_id, info->ranges[i].id_base,
| ~~~~ ^
../lib/ethdev/rte_ethdev.h:182:33: note: expanded from macro 'RTE_ETHDEV_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:966:32: note: expanded from macro 'RTE_FMT_TAIL'
966 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:964:39: note: expanded from macro 'RTE_FMT'
964 | #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__)
| ^~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:11: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1047 | info->ranges[i].id_end, i);
| ~~~~ ^
../lib/ethdev/rte_ethdev.h:182:33: note: expanded from macro 'RTE_ETHDEV_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:966:32: note: expanded from macro 'RTE_FMT_TAIL'
966 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:964:39: note: expanded from macro 'RTE_FMT'
964 | #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__)
| ^~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1052:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1052 | switch (info->ranges[i].type) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1054:19: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1054 | if (pf < info->ranges[i].pf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1055:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1055 | pf >= info->ranges[i].pf + count)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1057:21: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1057 | *repr_id = info->ranges[i].id_base +
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1058:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1058 | (pf - info->ranges[i].pf);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1062:14: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1062 | if (info->ranges[i].pf != pf)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1064:33: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1064 | if (representor_port < info->ranges[i].vf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1065:34: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1065 | representor_port >= info->ranges[i].vf + count)
| ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[154/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[155/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[156/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c:70:33: error: unused variable 'data' [-Werror,-Wunused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
../lib/ethdev/rte_class_eth.c:72:11: error: unused variable 'id' [-Werror,-Wunused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
2 errors generated.
[157/3659] Generating symbol file lib/librte_meter.so.27.0.p/librte_meter.so.27.0.symbols
[158/3659] Generating symbol file lib/librte_ring.so.27.0.p/librte_ring.so.27.0.symbols
[159/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[160/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[161/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[162/3659] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[145/3539] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[146/3539] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[147/3539] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[148/3539] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[149/3539] Generating lib/eal.sym_chk with a custom command (wrapped by meson to capture output)
[150/3539] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[151/3539] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[152/3539] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[153/3539] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #9:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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 -DRTE_FLOW_DEBUG -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[141/3700] Compiling C object lib/librte_net.a.p/net_rte_net.c.o
[142/3700] Linking static target lib/librte_ring.a
[143/3700] Linking target lib/librte_eal.so.27.0
[144/3700] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
[145/3700] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[146/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[147/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[148/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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 -DRTE_FLOW_DEBUG -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[149/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
ninja: build stopped
*Build Failed #10:
OS: SUSE16-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c:1022:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1026:8: error: no member named 'nb_ranges_alloc' in 'struct rte_eth_representor_info'
1026 | info->nb_ranges_alloc = n;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1039:24: error: no member named 'nb_ranges' in 'struct rte_eth_representor_info'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1040:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1040 | if (info->ranges[i].type != type)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1042:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1042 | if (info->ranges[i].controller != controller)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:38: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1046:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1046 | port_id, info->ranges[i].id_base,
| ~~~~ ^
../lib/ethdev/rte_ethdev.h:182:33: note: expanded from macro 'RTE_ETHDEV_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:966:32: note: expanded from macro 'RTE_FMT_TAIL'
966 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:964:39: note: expanded from macro 'RTE_FMT'
964 | #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__)
| ^~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:11: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1047 | info->ranges[i].id_end, i);
| ~~~~ ^
../lib/ethdev/rte_ethdev.h:182:33: note: expanded from macro 'RTE_ETHDEV_LOG_LINE'
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:389:16: note: expanded from macro 'RTE_LOG_LINE'
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:966:32: note: expanded from macro 'RTE_FMT_TAIL'
966 | #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__
| ^~~~~~~~~~~
../lib/eal/include/rte_common.h:964:39: note: expanded from macro 'RTE_FMT'
964 | #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__)
| ^~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1052:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1052 | switch (info->ranges[i].type) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1054:19: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1054 | if (pf < info->ranges[i].pf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1055:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1055 | pf >= info->ranges[i].pf + count)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1057:21: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1057 | *repr_id = info->ranges[i].id_base +
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1058:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1058 | (pf - info->ranges[i].pf);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1062:14: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1062 | if (info->ranges[i].pf != pf)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1064:33: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1064 | if (representor_port < info->ranges[i].vf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1065:34: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1065 | representor_port >= info->ranges[i].vf + count)
| ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[154/3682] Linking target lib/librte_ring.so.27.0
[155/3682] Generating symbol file lib/librte_meter.so.27.0.p/librte_meter.so.27.0.symbols
[156/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[157/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c:70:33: error: unused variable 'data' [-Werror,-Wunused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
../lib/ethdev/rte_class_eth.c:72:11: error: unused variable 'id' [-Werror,-Wunused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
2 errors generated.
[158/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[159/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[160/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[161/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
[162/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #11:
OS: SUSE16-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/3682] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[150/3682] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[151/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[152/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[153/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[154/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[155/3682] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[156/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[157/3682] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #12:
OS: AzureLinux3.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[150/3765] Linking target lib/librte_meter.so.27.0
[151/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[152/3765] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[153/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[154/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[155/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[156/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[157/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[158/3765] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2604-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[150/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[151/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[152/2795] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[153/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[154/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[155/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[156/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
[157/2795] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #14:
OS: RHEL10.1-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[148/3700] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[149/3700] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[150/3700] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[151/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[152/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[153/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[154/3700] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[155/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[156/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #15:
OS: UB2604-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[150/3941] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[151/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[152/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[153/3941] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[154/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[155/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[156/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[157/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[158/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2604-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/3941] Linking target lib/librte_meter.so.27.0
[150/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[151/3941] Compiling C object lib/librte_ip_frag.a.p/ip_frag_rte_ipv4_fragmentation.c.o
[152/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[153/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[154/3941] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[155/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[156/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[157/3941] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2604-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c:1022:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1026:8: error: no member named 'nb_ranges_alloc' in 'struct rte_eth_representor_info'
1026 | info->nb_ranges_alloc = n;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1039:24: error: no member named 'nb_ranges' in 'struct rte_eth_representor_info'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1040:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1040 | if (info->ranges[i].type != type)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1042:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1042 | if (info->ranges[i].controller != controller)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:38: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1046:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1046 | port_id, info->ranges[i].id_base,
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1047:11: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1047 | info->ranges[i].id_end, i);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1052:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1052 | switch (info->ranges[i].type) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1054:19: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1054 | if (pf < info->ranges[i].pf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1055:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1055 | pf >= info->ranges[i].pf + count)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1057:21: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1057 | *repr_id = info->ranges[i].id_base +
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1058:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1058 | (pf - info->ranges[i].pf);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1062:14: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1062 | if (info->ranges[i].pf != pf)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1064:33: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1064 | if (representor_port < info->ranges[i].vf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1065:34: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1065 | representor_port >= info->ranges[i].vf + count)
| ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[151/3942] Linking target lib/librte_meter.so.27.0
[152/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[153/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[154/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c:70:33: error: unused variable 'data' [-Werror,-Wunused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
../lib/ethdev/rte_class_eth.c:72:11: error: unused variable 'id' [-Werror,-Wunused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
2 errors generated.
[155/3942] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[156/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[157/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[158/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[159/3942] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #18:
OS: UB2604-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/3750] Linking target lib/librte_meter.so.27.0
[150/3750] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[151/3750] Compiling C object lib/librte_ip_frag.a.p/ip_frag_rte_ipv4_fragmentation.c.o
[152/3750] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[153/3750] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[154/3750] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[155/3750] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[156/3750] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[157/3750] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #19:
OS: RHEL10-64RT
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[147/3700] Generating lib/mbuf.sym_chk with a custom command (wrapped by meson to capture output)
[148/3700] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[149/3700] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[150/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[151/3700] Generating symbol file lib/librte_eal.so.27.0.p/librte_eal.so.27.0.symbols
[152/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[153/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[154/3700] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[155/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
ninja: build stopped
*Build Failed #20:
OS: UB2510-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/3937] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[150/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[151/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[152/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[153/3937] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[154/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[155/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[156/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[157/3937] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #21:
OS: Fedora43-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[150/3681] Generating lib/net.sym_chk with a custom command (wrapped by meson to capture output)
[151/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[152/3681] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[153/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[154/3681] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[155/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[156/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[157/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #22:
OS: Fedora43-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c:1022:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1026:8: error: no member named 'nb_ranges_alloc' in 'struct rte_eth_representor_info'
1026 | info->nb_ranges_alloc = n;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1039:24: error: no member named 'nb_ranges' in 'struct rte_eth_representor_info'
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1040:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1040 | if (info->ranges[i].type != type)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1042:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1042 | if (info->ranges[i].controller != controller)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:13: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1044:38: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1046:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1046 | port_id, info->ranges[i].id_base,
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1047:11: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1047 | info->ranges[i].id_end, i);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1051:42: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1052:17: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1052 | switch (info->ranges[i].type) {
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1054:19: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1054 | if (pf < info->ranges[i].pf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1055:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1055 | pf >= info->ranges[i].pf + count)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1057:21: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1057 | *repr_id = info->ranges[i].id_base +
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1058:20: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1058 | (pf - info->ranges[i].pf);
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1062:14: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1062 | if (info->ranges[i].pf != pf)
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1064:33: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1064 | if (representor_port < info->ranges[i].vf ||
| ~~~~ ^
../lib/ethdev/ethdev_driver.c:1065:34: error: no member named 'ranges' in 'struct rte_eth_representor_info'
1065 | representor_port >= info->ranges[i].vf + count)
| ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[150/3681] Linking target lib/librte_eal.so.27.0
[151/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[152/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
clang -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c:70:33: error: unused variable 'data' [-Werror,-Wunused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
../lib/ethdev/rte_class_eth.c:72:11: error: unused variable 'id' [-Werror,-Wunused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
2 errors generated.
[153/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[154/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[155/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[156/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[157/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
[158/3681] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
*Build Failed #23:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -MF lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o.d -o lib/librte_ethdev.a.p/ethdev_ethdev_driver.c.o -c ../lib/ethdev/ethdev_driver.c
../lib/ethdev/ethdev_driver.c: In function ‘rte_eth_representor_id_get’:
../lib/ethdev/ethdev_driver.c:1022:47: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1022 | size = sizeof(*info) + n * sizeof(info->ranges[0]);
| ^~
../lib/ethdev/ethdev_driver.c:1026:13: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges_alloc’
1026 | info->nb_ranges_alloc = n;
| ^~
../lib/ethdev/ethdev_driver.c:1039:29: error: ‘struct rte_eth_representor_info’ has no member named ‘nb_ranges’
1039 | for (i = 0; i < info->nb_ranges; ++i) {
| ^~
../lib/ethdev/ethdev_driver.c:1040:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1040 | if (info->ranges[i].type != type)
| ^~
../lib/ethdev/ethdev_driver.c:1042:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1042 | if (info->ranges[i].controller != controller)
| ^~
../lib/ethdev/ethdev_driver.c:1044:25: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
../lib/ethdev/ethdev_driver.c:1044:50: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1044 | if (info->ranges[i].id_end < info->ranges[i].id_base) {
| ^~
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/eal/include/rte_memory.h:18,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/ethdev/ethdev_driver.c:12:
../lib/ethdev/ethdev_driver.c:1046:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1046 | port_id, info->ranges[i].id_base,
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1047:37: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1047 | info->ranges[i].id_end, i);
| ^~
../lib/log/rte_log.h:334:46: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^~~~~~~~~~~
../lib/log/rte_log.h:388:23: note: in expansion of macro ‘RTE_FMT’
388 | RTE_LOG(l, t, RTE_FMT(RTE_FMT_HEAD(__VA_ARGS__ ,) "\n", \
| ^~~~~~~
../lib/log/rte_log.h:389:17: note: in expansion of macro ‘RTE_FMT_TAIL’
389 | RTE_FMT_TAIL(__VA_ARGS__ ,))); \
| ^~~~~~~~~~~~
../lib/ethdev/rte_ethdev.h:182:9: note: in expansion of macro ‘RTE_LOG_LINE’
182 | RTE_LOG_LINE(level, ETHDEV, "" __VA_ARGS__)
| ^~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1045:25: note: in expansion of macro ‘RTE_ETHDEV_LOG_LINE’
1045 | RTE_ETHDEV_LOG_LINE(WARNING, "Port %hu invalid representor ID Range %u - %u, entry %d",
| ^~~~~~~~~~~~~~~~~~~
../lib/ethdev/ethdev_driver.c:1051:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1051:54: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1051 | count = info->ranges[i].id_end - info->ranges[i].id_base + 1;
| ^~
../lib/ethdev/ethdev_driver.c:1052:29: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1052 | switch (info->ranges[i].type) {
| ^~
../lib/ethdev/ethdev_driver.c:1054:38: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1054 | if (pf < info->ranges[i].pf ||
| ^~
../lib/ethdev/ethdev_driver.c:1055:39: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1055 | pf >= info->ranges[i].pf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1057:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1057 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1058:46: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1058 | (pf - info->ranges[i].pf);
| ^~
../lib/ethdev/ethdev_driver.c:1062:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1062 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1064:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1064 | if (representor_port < info->ranges[i].vf ||
| ^~
../lib/ethdev/ethdev_driver.c:1065:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1065 | representor_port >= info->ranges[i].vf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1067:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1067 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1068:60: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1068 | (representor_port - info->ranges[i].vf);
| ^~
../lib/ethdev/ethdev_driver.c:1072:33: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1072 | if (info->ranges[i].pf != pf)
| ^~
../lib/ethdev/ethdev_driver.c:1074:52: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1074 | if (representor_port < info->ranges[i].sf ||
| ^~
../lib/ethdev/ethdev_driver.c:1075:53: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1075 | representor_port >= info->ranges[i].sf + count)
| ^~
../lib/ethdev/ethdev_driver.c:1077:40: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1077 | *repr_id = info->ranges[i].id_base +
| ^~
../lib/ethdev/ethdev_driver.c:1078:55: error: ‘struct rte_eth_representor_info’ has no member named ‘ranges’
1078 | (representor_port - info->ranges[i].sf);
| ^~
[149/3700] Generating lib/meter.sym_chk with a custom command (wrapped by meson to capture output)
[150/3700] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[151/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_private.c.o
[152/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_profile.c.o
[153/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
FAILED: lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o
gcc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/ethdev -I../lib/ethdev -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.ethdev -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=ethdev -MD -MQ lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -MF lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o.d -o lib/librte_ethdev.a.p/ethdev_rte_class_eth.c.o -c ../lib/ethdev/rte_class_eth.c
../lib/ethdev/rte_class_eth.c: In function ‘eth_representor_cmp’:
../lib/ethdev/rte_class_eth.c:72:18: error: unused variable ‘id’ [-Werror=unused-variable]
72 | uint16_t id = 0, nc, np, nf, i, c, p, f;
| ^~
../lib/ethdev/rte_class_eth.c:70:40: error: unused variable ‘data’ [-Werror=unused-variable]
70 | const struct rte_eth_dev_data *data = edev->data;
| ^~~~
cc1: all warnings being treated as errors
[154/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_cman.c.o
[155/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev_telemetry.c.o
[156/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_ethdev_trace_points.c.o
[157/3700] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped
DPDK STV team
More information about the test-report
mailing list