From: sys_stv@intel.com
To: test-report@dpdk.org, liujie5@linkdatatechnology.com
Subject: compilation|FAILURE| pw(155045) sid(35655) job(PER_PATCH_BUILD16086)[v3, 14/14] net/sxe: add Solve compilation problems.
Date: 07 Jul 2025 05:26:32 -0700 [thread overview]
Message-ID: <4653da$4k4cfl@orviesa007-auth.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 116628 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/155045
_Compilation issues_
Submitter: Jie Liu <liujie5@linkdatatechnology.com>
Date: 2025-07-07 11:58:19
Reply_mail: <20250707115819.12826-14-liujie5@linkdatatechnology.com>
DPDK git baseline: Repo:dpdk, CommitID: 70c2297528e7c7789af452f78de1932e9a20c8a2
Meson Build Summary: 23 Builds Done, 13 Successful, 10 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass | | | | | | |
| FreeBSD14-64 | fail | fail | | fail | fail | | |
| RHEL96-64 | pass | fail | | fail | pass | | |
| SUSE15-64 | pass | fail | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL10-64 | pass | | | | | | |
| UB2404-64 | pass | fail | | | | pass | pass |
| RHEL96-64RT | pass | | | | | | |
| UB2504-64 | pass | | | | | | |
| FC42-64 | pass | fail | | | | | |
| UB2404-64RT | pass | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.10-64
Kernel Version: 5.10.134-18.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.2-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
Clang Version: 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL96-64
Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 6.4.0-150700.51-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10-64
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL96-64RT
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
OS: UB2504-64
Kernel Version: 6.14.0-15-generic
GCC Version: gcc (Ubuntu 14.2.0-19ubuntu2) 14.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FC42-64
Kernel Version: 6.14.0-63.fc42.x86_64
GCC Version: gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
Clang Version: 20.1.3 (Fedora 20.1.3-1.fc42)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64RT
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Clang Version: NA
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -c ../drivers/net/sxe/pf/sxe_filter.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_filter.c:11:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1566/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -c ../drivers/net/sxe/pf/sxe_main.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_ethdev.h:8,
from ../drivers/net/sxe/pf/sxe_main.c:19:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1567/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -c ../drivers/net/sxe/pf/sxe_flow_ctrl.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_flow_ctrl.c:5:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1568/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -c ../drivers/net/sxe/pf/sxe_irq.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_irq.c:17:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1569/2319] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1570/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -c ../drivers/net/sxe/pf/sxe_ethdev.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_ethdev.c:16:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:673:35: error: 'sxe_xstats_get_by_id' undeclared here (not in a function); did you mean 'eth_xstats_get_by_id_t'?
673 | .xstats_get_by_id = sxe_xstats_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~
| eth_xstats_get_by_id_t
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: error: initialization of 'int (*)(struct rte_eth_dev *, const uint64_t *, struct rte_eth_xstat_name *, unsigned int)' {aka 'int (*)(struct rte_eth_dev *, const long unsigned int *, struct rte_eth_xstat_name *, unsigned int)'} from incompatible pointer type 's32 (*)(struct rte_eth_dev *, const int *, struct rte_eth_xstat_name *, u32)' {aka 'int (*)(struct rte_eth_dev *, const int *, struct rte_eth_xstat_name *, unsigned int)'} [-Werror=incompatible-pointer-types]
675 | .xstats_get_names_by_id = sxe_xstats_names_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: note: (near initialization for 'sxe_eth_dev_ops.xstats_get_names_by_id')
cc1: all warnings being treated as errors
[1571/2319] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o -c ../drivers/net/sxe/pf/sxe_offload.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_offload.c:5:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1572/2319] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1573/2319] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1574/2319] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -c ../drivers/net/sxe/pf/sxe_filter.c
In file included from ../drivers/net/sxe/pf/sxe_filter.c:11:
In file included from ../drivers/net/sxe/pf/sxe.h:15:
../drivers/net/sxe/pf/sxe_stats.h:50:12: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^
../drivers/net/sxe/pf/sxe_stats.h:51:6: error: unknown type name 'ulong'
51 | ulong *values, u32 usr_cnt);
| ^
../drivers/net/sxe/pf/sxe_stats.h:54:8: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^
3 errors generated.
[1573/2301] Compiling C object drivers/librte_net_txgbe.a.p/meson-generated_.._rte_net_txgbe.pmd.c.o
[1574/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -c ../drivers/net/sxe/pf/sxe_main.c
In file included from ../drivers/net/sxe/pf/sxe_main.c:19:
In file included from ../drivers/net/sxe/pf/sxe_ethdev.h:8:
In file included from ../drivers/net/sxe/pf/sxe.h:15:
../drivers/net/sxe/pf/sxe_stats.h:50:12: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^
../drivers/net/sxe/pf/sxe_stats.h:51:6: error: unknown type name 'ulong'
51 | ulong *values, u32 usr_cnt);
| ^
../drivers/net/sxe/pf/sxe_stats.h:54:8: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^
3 errors generated.
[1575/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -c ../drivers/net/sxe/pf/sxe_flow_ctrl.c
In file included from ../drivers/net/sxe/pf/sxe_flow_ctrl.c:5:
In file included from ../drivers/net/sxe/pf/sxe.h:15:
../drivers/net/sxe/pf/sxe_stats.h:50:12: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^
../drivers/net/sxe/pf/sxe_stats.h:51:6: error: unknown type name 'ulong'
51 | ulong *values, u32 usr_cnt);
| ^
../drivers/net/sxe/pf/sxe_stats.h:54:8: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^
3 errors generated.
[1576/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -c ../drivers/net/sxe/pf/sxe_irq.c
In file included from ../drivers/net/sxe/pf/sxe_irq.c:17:
In file included from ../drivers/net/sxe/pf/sxe.h:15:
../drivers/net/sxe/pf/sxe_stats.h:50:12: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^
../drivers/net/sxe/pf/sxe_stats.h:51:6: error: unknown type name 'ulong'
51 | ulong *values, u32 usr_cnt);
| ^
../drivers/net/sxe/pf/sxe_stats.h:54:8: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^
3 errors generated.
[1577/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -c ../drivers/net/sxe/pf/sxe_ethdev.c
In file included from ../drivers/net/sxe/pf/sxe_ethdev.c:16:
In file included from ../drivers/net/sxe/pf/sxe.h:15:
../drivers/net/sxe/pf/sxe_stats.h:50:12: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^
../drivers/net/sxe/pf/sxe_stats.h:51:6: error: unknown type name 'ulong'
51 | ulong *values, u32 usr_cnt);
| ^
../drivers/net/sxe/pf/sxe_stats.h:54:8: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^
3 errors generated.
[1578/2301] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1579/2301] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1580/2301] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o -c ../drivers/net/sxe/pf/sxe_offload.c
In file included from ../drivers/net/sxe/pf/sxe_offload.c:5:
In file included from ../drivers/net/sxe/pf/sxe.h:15:
../drivers/net/sxe/pf/sxe_stats.h:50:12: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^
../drivers/net/sxe/pf/sxe_stats.h:51:6: error: unknown type name 'ulong'
51 | ulong *values, u32 usr_cnt);
| ^
../drivers/net/sxe/pf/sxe_stats.h:54:8: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^
3 errors generated.
[1581/2301] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -c ../drivers/net/sxe/pf/sxe_main.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_ethdev.h:8,
from ../drivers/net/sxe/pf/sxe_main.c:19:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1573/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -c ../drivers/net/sxe/pf/sxe_filter.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_filter.c:11:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1574/2173] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtqueue.c.o
[1575/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -c ../drivers/net/sxe/pf/sxe_flow_ctrl.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_flow_ctrl.c:5:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1576/2173] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1577/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -c ../drivers/net/sxe/pf/sxe_irq.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_irq.c:17:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1578/2173] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1579/2173] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -c ../drivers/net/sxe/pf/sxe_ethdev.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_ethdev.c:16:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:673:35: error: 'sxe_xstats_get_by_id' undeclared here (not in a function); did you mean 'eth_xstats_get_by_id_t'?
673 | .xstats_get_by_id = sxe_xstats_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~
| eth_xstats_get_by_id_t
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: error: initialization of 'int (*)(struct rte_eth_dev *, const uint64_t *, struct rte_eth_xstat_name *, unsigned int)' {aka 'int (*)(struct rte_eth_dev *, const long unsigned int *, struct rte_eth_xstat_name *, unsigned int)'} from incompatible pointer type 's32 (*)(struct rte_eth_dev *, const int *, struct rte_eth_xstat_name *, u32)' {aka 'int (*)(struct rte_eth_dev *, const int *, struct rte_eth_xstat_name *, unsigned int)'} [-Werror=incompatible-pointer-types]
675 | .xstats_get_names_by_id = sxe_xstats_names_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: note: (near initialization for 'sxe_eth_dev_ops.xstats_get_names_by_id')
cc1: all warnings being treated as errors
[1580/2173] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1581/2173] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_main.c.o -c ../drivers/net/sxe/pf/sxe_main.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_ethdev.h:8,
from ../drivers/net/sxe/pf/sxe_main.c:19:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1551/2282] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_base_txgbe_phy.c.o
[1552/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o -c ../drivers/net/sxe/pf/sxe_filter.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_filter.c:11:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1553/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o -c ../drivers/net/sxe/pf/sxe_offload.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_offload.c:5:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1554/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o -c ../drivers/net/sxe/pf/sxe_irq.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_irq.c:17:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1555/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_flow_ctrl.c.o -c ../drivers/net/sxe/pf/sxe_flow_ctrl.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_flow_ctrl.c:5:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
[1556/2282] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_ethdev.c.o
[1557/2282] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -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 -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -c ../drivers/net/sxe/pf/sxe_ethdev.c
In file included from ../drivers/net/sxe/pf/sxe.h:15,
from ../drivers/net/sxe/pf/sxe_ethdev.c:16:
../drivers/net/sxe/pf/sxe_stats.h:50:47: error: unknown type name 'ulong'
50 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_stats.h:51:41: error: unknown type name 'ulong'; did you mean 'u_long'?
51 | ulong *values, u32 usr_cnt);
| ^~~~~
| u_long
../drivers/net/sxe/pf/sxe_stats.h:54:15: error: unknown type name 'ulong'
54 | const ulong *ids,
| ^~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:673:35: error: 'sxe_xstats_get_by_id' undeclared here (not in a function); did you mean 'eth_xstats_get_by_id_t'?
673 | .xstats_get_by_id = sxe_xstats_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~
| eth_xstats_get_by_id_t
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: error: initialization of 'int (*)(struct rte_eth_dev *, const uint64_t *, struct rte_eth_xstat_name *, unsigned int)' {aka 'int (*)(struct rte_eth_dev *, const long unsigned int *, struct rte_eth_xstat_name *, unsigned int)'} from incompatible pointer type 's32 (*)(struct rte_eth_dev *, const int *, struct rte_eth_xstat_name *, u32)' {aka 'int (*)(struct rte_eth_dev *, const int *, struct rte_eth_xstat_name *, unsigned int)'} [-Werror=incompatible-pointer-types]
675 | .xstats_get_names_by_id = sxe_xstats_names_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: note: (near initialization for 'sxe_eth_dev_ops.xstats_get_names_by_id')
cc1: all warnings being treated as errors
[1558/2282] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[1559/2282] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
ninja: build stopped
*Build Failed #5:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -c ../drivers/net/sxe/pf/sxe_dcb.c
../drivers/net/sxe/pf/sxe_dcb.c:596:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:607:9: note: uninitialized use occurs here
607 | return ret;
| ^~~
../drivers/net/sxe/pf/sxe_dcb.c:596:2: note: remove the 'if' if its condition is always true
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:587:9: note: initialize the variable 'ret' to silence this warning
587 | s32 ret;
| ^
| = 0
1 error generated.
[2412/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
[2413/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_main.c.o
[2414/3564] Generating drivers/rte_net_zxdh.pmd.c with a custom command
[2415/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -c ../drivers/net/sxe/vf/sxevf_msg.c
../drivers/net/sxe/vf/sxevf_msg.c:104:30: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^ ~~~~~~~~~~~~~~~~~
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: use '&' for a bitwise operation
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~
| &
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: remove constant to silence this warning
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[2416/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_irq.c.o
[2417/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
[2418/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_filter.c.o
[2419/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
[2420/3564] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: app/dpdk-testpmd
gcc -o app/dpdk-testpmd app/dpdk-testpmd.p/test-pmd_5tswap.c.o app/dpdk-testpmd.p/test-pmd_cmdline.c.o app/dpdk-testpmd.p/test-pmd_cmdline_cman.c.o app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o app/dpdk-testpmd.p/test-pmd_cmd_flex_item.c.o app/dpdk-testpmd.p/test-pmd_config.c.o app/dpdk-testpmd.p/test-pmd_csumonly.c.o app/dpdk-testpmd.p/test-pmd_flowgen.c.o app/dpdk-testpmd.p/test-pmd_hairpin.c.o app/dpdk-testpmd.p/test-pmd_icmpecho.c.o app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o app/dpdk-testpmd.p/test-pmd_iofwd.c.o app/dpdk-testpmd.p/test-pmd_macfwd.c.o app/dpdk-testpmd.p/test-pmd_macswap.c.o app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o app/dpdk-testpmd.p/test-pmd_parameters.c.o app/dpdk-testpmd.p/test-pmd_recycle_mbufs.c.o app/dpdk-testpmd.p/test-pmd_rxonly.c.o app/dpdk-testpmd.p/test-pmd_shared_rxq_fwd.c.o app/dpdk-testpmd.p/test-pmd_testpmd.c.o app/dpdk-testpmd.p/test-pmd_txonly.c.o app/dpdk-testpmd.p/test-pmd_util.c.o app/dpdk-testpmd.p/test-pmd_bpf_cmd.c.o app/dpdk-testpmd.p/.._drivers_net_bonding_bonding_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_i40e_i40e_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_iavf_iavf_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_ice_ice_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_intel_ixgbe_ixgbe_testpmd.c.o app/dpdk-testpmd.p/.._drivers_net_sxe_sxe_testpmd.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--no-as-needed -pthread -Wl,--start-group -lm -ldl -lnuma '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/../drivers:XXXXXXXXXXXXXXX' -Wl,-rpath-link,/root/RHEL96-64_K5.14.0_GCC11.5.0/x86_64-native-linuxapp-gcc+shared/35655/dpdk/x86_64-native-linuxapp-gcc+shared/lib -Wl,-rpath-link,/root/RHEL96-64_K5.14.0_GCC11.5.0/x86_64-native-linuxapp-gcc+shared/35655/dpdk/x86_64-native-linuxapp-gcc+shared/drivers lib/librte_ethdev.so.25.2 lib/librte_eal.so.25.2 lib/librte_kvargs.so.25.2 lib/librte_log.so.25.2 lib/librte_telemetry.so.25.2 lib/librte_net.so.25.2 lib/librte_mbuf.so.25.2 lib/librte_mempool.so.25.2 lib/librte_ring.so.25.2 lib/librte_meter.so.25.2 lib/librte_cmdline.so.25.2 drivers/librte_crypto_scheduler.so.25.2 lib/librte_cryptodev.so.25.2 lib/librte_rcu.so.25.2 drivers/librte_bus_vdev.so.25.2 lib/librte_reorder.so.25.2 lib/librte_security.so.25.2 lib/librte_bitratestats.so.25.2 lib/librte_metrics.so.25.2 lib/librte_bpf.so.25.2 lib/librte_gro.so.25.2 lib/librte_gso.so.25.2 lib/librte_latencystats.so.25.2 lib/librte_pdump.so.25.2 lib/librte_pcapng.so.25.2 drivers/librte_net_bnxt.so.25.2 drivers/librte_bus_pci.so.25.2 lib/librte_pci.so.25.2 lib/librte_hash.so.25.2 drivers/librte_net_i40e.so.25.2 drivers/librte_net_ixgbe.so.25.2 drivers/librte_bus_dpaa.so.25.2 drivers/librte_common_dpaax.so.25.2 lib/librte_eventdev.so.25.2 lib/librte_timer.so.25.2 lib/librte_dmadev.so.25.2 drivers/librte_mempool_dpaa.so.25.2 drivers/librte_net_dpaa.so.25.2 drivers/librte_net_bond.so.25.2 lib/librte_sched.so.25.2 lib/librte_ip_frag.so.25.2 drivers/librte_net_iavf.so.25.2 drivers/librte_net_ice.so.25.2 drivers/librte_net_sxe.so.25.2 /usr/lib64/libelf.so -Wl,--end-group
/usr/bin/ld: app/dpdk-testpmd.p/.._drivers_net_sxe_sxe_testpmd.c.o: in function `cmd_tc_min_bw_parsed':
sxe_testpmd.c:(.text+0x19a): undefined reference to `rte_pmd_sxe_tc_bw_set'
collect2: error: ld returned 1 exit status
[3259/3450] Linking target app/dpdk-test-regex
[3260/3450] Compiling C object app/dpdk-test.p/test_commands.c.o
[3261/3450] Compiling C object app/dpdk-test-security-perf.p/test_test_security_proto.c.o
[3262/3450] Compiling C object app/dpdk-test-security-perf.p/test-security-perf_test_security_perf.c.o
[3263/3450] Compiling C object app/dpdk-test.p/test_test.c.o
[3264/3450] Compiling C object app/dpdk-test-security-perf.p/test_test_cryptodev_security_ipsec.c.o
[3265/3450] Compiling C object app/dpdk-test.p/test_sample_packet_forward.c.o
[3266/3450] Compiling C object app/dpdk-test.p/test_packet_burst_generator.c.o
[3267/3450] Compiling C object app/dpdk-test.p/test_virtual_pmd.c.o
ninja: build stopped
*Build Failed #7:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -c ../drivers/net/sxe/pf/sxe_dcb.c
../drivers/net/sxe/pf/sxe_dcb.c:596:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:607:9: note: uninitialized use occurs here
607 | return ret;
| ^~~
../drivers/net/sxe/pf/sxe_dcb.c:596:2: note: remove the 'if' if its condition is always true
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:587:9: note: initialize the variable 'ret' to silence this warning
587 | s32 ret;
| ^
| = 0
1 error generated.
[2477/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_vf.c.o
[2478/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
[2479/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_main.c.o
[2480/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -c ../drivers/net/sxe/vf/sxevf_msg.c
../drivers/net/sxe/vf/sxevf_msg.c:104:30: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^ ~~~~~~~~~~~~~~~~~
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: use '&' for a bitwise operation
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~
| &
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: remove constant to silence this warning
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[2481/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_irq.c.o
[2482/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_filter.c.o
[2483/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
[2484/3670] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[2485/3670] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_np.c.o
ninja: build stopped
*Build Failed #8:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o -c ../drivers/net/sxe/pf/sxe_ethdev.c
../drivers/net/sxe/pf/sxe_ethdev.c:673:35: error: initialization of ‘int (*)(struct rte_eth_dev *, const uint64_t *, uint64_t *, unsigned int)’ {aka ‘int (*)(struct rte_eth_dev *, const long long unsigned int *, long long unsigned int *, unsigned int)’} from incompatible pointer type ‘s32 (*)(struct rte_eth_dev *, const ulong *, ulong *, u32)’ {aka ‘int (*)(struct rte_eth_dev *, const long unsigned int *, long unsigned int *, unsigned int)’} [-Werror=incompatible-pointer-types]
673 | .xstats_get_by_id = sxe_xstats_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:673:35: note: (near initialization for ‘sxe_eth_dev_ops.xstats_get_by_id’)
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: error: initialization of ‘int (*)(struct rte_eth_dev *, const uint64_t *, struct rte_eth_xstat_name *, unsigned int)’ {aka ‘int (*)(struct rte_eth_dev *, const long long unsigned int *, struct rte_eth_xstat_name *, unsigned int)’} from incompatible pointer type ‘s32 (*)(struct rte_eth_dev *, const ulong *, struct rte_eth_xstat_name *, u32)’ {aka ‘int (*)(struct rte_eth_dev *, const long unsigned int *, struct rte_eth_xstat_name *, unsigned int)’} [-Werror=incompatible-pointer-types]
675 | .xstats_get_names_by_id = sxe_xstats_names_get_by_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_ethdev.c:675:35: note: (near initialization for ‘sxe_eth_dev_ops.xstats_get_names_by_id’)
cc1: all warnings being treated as errors
[1827/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
[1828/2721] Linking target drivers/librte_net_txgbe.so.25.2
[1829/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o -c ../drivers/net/sxe/pf/sxe_stats.c
In file included from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:23,
from ../lib/ethdev/rte_cman.h:8,
from ../lib/ethdev/rte_ethdev.h:159,
from ../drivers/net/sxe/pf/sxe_stats.h:8,
from ../drivers/net/sxe/pf/sxe_stats.c:4:
../drivers/net/sxe/pf/sxe_stats.c: In function ‘sxe_xstats_get’:
../drivers/net/sxe/pf/sxe_stats.c:223:60: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘unsigned int’ [-Werror=format=]
223 | SXE_XSTAT_MAC_CNT, SXE_XSTAT_FC_CNT);
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/net/sxe/base/sxe_logs.h:144:17: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
144 | RTE_LOG_LINE_PREFIX(INFO, logtype, "%s(): ",\
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c:221:9: note: in expansion of macro ‘PMD_LOG_INFO’
221 | PMD_LOG_INFO(DRV, "xstat size:%u. hw xstat field cnt: %" SXE_PRIU64
| ^~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c:223:60: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘unsigned int’ [-Werror=format=]
223 | SXE_XSTAT_MAC_CNT, SXE_XSTAT_FC_CNT);
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/net/sxe/base/sxe_logs.h:144:17: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
144 | RTE_LOG_LINE_PREFIX(INFO, logtype, "%s(): ",\
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c:221:9: note: in expansion of macro ‘PMD_LOG_INFO’
221 | PMD_LOG_INFO(DRV, "xstat size:%u. hw xstat field cnt: %" SXE_PRIU64
| ^~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c: In function ‘sxe_xstats_names_get’:
../drivers/net/sxe/pf/sxe_stats.c:335:60: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘unsigned int’ [-Werror=format=]
335 | SXE_XSTAT_CNT, usr_cnt, ret);
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/net/sxe/base/sxe_logs.h:156:17: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
156 | RTE_LOG_LINE_PREFIX(ERR, logtype, "%s(): ",\
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c:334:17: note: in expansion of macro ‘PMD_LOG_ERR’
334 | PMD_LOG_ERR(DRV, "max: %" SXE_PRIU64 " usr_cnt:%u invalid.(err:%d)",
| ^~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c: At top level:
../drivers/net/sxe/pf/sxe_stats.c:427:5: error: conflicting types for ‘sxe_xstats_get_by_id’; have ‘s32(struct rte_eth_dev *, const u64 *, u64 *, u32)’ {aka ‘int(struct rte_eth_dev *, const long long unsigned int *, long long unsigned int *, unsigned int)’}
427 | s32 sxe_xstats_get_by_id(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.h:49:5: note: previous declaration of ‘sxe_xstats_get_by_id’ with type ‘s32(struct rte_eth_dev *, const ulong *, ulong *, u32)’ {aka ‘int(struct rte_eth_dev *, const long unsigned int *, long unsigned int *, unsigned int)’}
49 | s32 sxe_xstats_get_by_id(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.c:471:5: error: conflicting types for ‘sxe_xstats_names_get_by_id’; have ‘s32(struct rte_eth_dev *, const u64 *, struct rte_eth_xstat_name *, u32)’ {aka ‘int(struct rte_eth_dev *, const long long unsigned int *, struct rte_eth_xstat_name *, unsigned int)’}
471 | s32 sxe_xstats_names_get_by_id(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_stats.h:53:5: note: previous declaration of ‘sxe_xstats_names_get_by_id’ with type ‘s32(struct rte_eth_dev *, const ulong *, struct rte_eth_xstat_name *, u32)’ {aka ‘int(struct rte_eth_dev *, const long unsigned int *, struct rte_eth_xstat_name *, unsigned int)’}
53 | s32 sxe_xstats_names_get_by_id(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1830/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_pmd_hdc.c.o
[1831/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_queue.c.o
[1832/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o
[1833/2721] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1834/2721] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
gcc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o -c ../drivers/net/sxe/pf/sxe_tx.c
In file included from ../lib/eal/include/rte_dev.h:20,
from ../lib/eal/include/dev_driver.h:9,
from ../lib/ethdev/ethdev_driver.h:19,
from ../drivers/net/sxe/pf/sxe_tx.c:4:
../drivers/net/sxe/pf/sxe_tx.c: In function ‘sxe_tx_function_set’:
../drivers/net/sxe/pf/sxe_tx.c:59:69: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘long unsigned int’ [-Werror=format=]
59 | (unsigned long)txq->offloads);
| ^
../lib/log/rte_log.h:334:39: note: in definition of macro ‘RTE_LOG’
334 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
| ^
../drivers/net/sxe/base/sxe_logs.h:144:17: note: in expansion of macro ‘RTE_LOG_LINE_PREFIX’
144 | RTE_LOG_LINE_PREFIX(INFO, logtype, "%s(): ",\
| ^~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_tx.c:58:17: note: in expansion of macro ‘PMD_LOG_INFO’
58 | PMD_LOG_INFO(INIT, " - offloads = 0x%" SXE_PRIX64,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[1835/2721] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
ninja: build stopped
*Build Failed #9:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -c ../drivers/net/sxe/pf/sxe_dcb.c
../drivers/net/sxe/pf/sxe_dcb.c:596:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:607:9: note: uninitialized use occurs here
607 | return ret;
| ^~~
../drivers/net/sxe/pf/sxe_dcb.c:596:2: note: remove the 'if' if its condition is always true
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:587:9: note: initialize the variable 'ret' to silence this warning
587 | s32 ret;
| ^
| = 0
1 error generated.
[2601/3840] Generating drivers/rte_net_zxdh.pmd.c with a custom command
[2602/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_main.c.o
[2603/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
[2604/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_filter.c.o
[2605/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fcolor-diagnostics -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -c ../drivers/net/sxe/vf/sxevf_msg.c
../drivers/net/sxe/vf/sxevf_msg.c:104:30: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^ ~~~~~~~~~~~~~~~~~
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: use '&' for a bitwise operation
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~
| &
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: remove constant to silence this warning
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[2606/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_irq.c.o
[2607/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[2608/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
[2609/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
ninja: build stopped
*Build Failed #10:
OS: FC42-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o -c ../drivers/net/sxe/pf/sxe_dcb.c
../drivers/net/sxe/pf/sxe_dcb.c:596:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:607:9: note: uninitialized use occurs here
607 | return ret;
| ^~~
../drivers/net/sxe/pf/sxe_dcb.c:596:2: note: remove the 'if' if its condition is always true
596 | if (!((tc_count == 8 && !vmdq_active) || tc_count == 4)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/sxe/pf/sxe_dcb.c:587:9: note: initialize the variable 'ret' to silence this warning
587 | s32 ret;
| ^
| = 0
1 error generated.
[2608/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_vf.c.o
[2609/3840] Compiling C object drivers/libtmp_rte_net_zxdh.a.p/net_zxdh_zxdh_np.c.o
[2610/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_main.c.o
[2611/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_stats.c.o
[2612/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_ethdev.c.o
[2613/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_irq.c.o
[2614/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_filter.c.o
[2615/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o
clang -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -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 -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_msg.c.o -c ../drivers/net/sxe/vf/sxevf_msg.c
../drivers/net/sxe/vf/sxevf_msg.c:104:30: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^ ~~~~~~~~~~~~~~~~~
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: use '&' for a bitwise operation
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~
| &
../drivers/net/sxe/vf/sxevf_msg.c:104:30: note: remove constant to silence this warning
104 | if (sxevf_mbx_reg_read(hw) && SXE_VFMAILBOX_VFU) {
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[2616/3840] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_rx.c.o
ninja: build stopped
DPDK STV team
reply other threads:[~2025-07-07 12:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='4653da$4k4cfl@orviesa007-auth.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=liujie5@linkdatatechnology.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).