Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/152547 _Compilation issues_ Submitter: Wenbo Liu Date: 2025-03-25 10:39:00 Reply_mail: <1742899140-2013-1-git-send-email-liuwenbo109@gmail.com> DPDK git baseline: Repo:dpdk-next-net-mlx, CommitID: fa3aca8a525decfd12bd5fa01ebc98789d5f7278 Meson Build Summary: 23 Builds Done, 14 Successful, 9 Failures, 0 Blocked +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.9-64 | pass | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL94-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | AzureLinux3.0-64 | pass | | | | | | | | UB2404-32 | pass | | | | | | | | RHEL10-64 | fail | | | | | | | | UB2404-64 | fail | fail | | | | fail | fail | | RHEL95-64Rt | pass | | | | | | | | UB2410-64 | fail | | | | | | | | FC41-64 | fail | fail | | | | | | | UB2404-64Rt | fail | | | | | | | +------------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: OpenAnolis8.9-64 Kernel Version: 5.10.134-16.2.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1) Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc) 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: RHEL94-64 Kernel Version: 5.14.0-427.13.1.el9_4.x86_64 GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3) Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.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-150600.21-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.2.0-23ubuntu4) 13.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL10-64 Kernel Version: 6.11.0-0.rc5.23.el10.x86_64 GCC Version: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1) Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-1.el10) x86_64-native-linuxapp-gcc OS: UB2404-64 Kernel Version: 6.8.0-41-generic GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.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: RHEL95-64Rt Kernel Version: 5.14.0-503.11.1.el9_5.x86_64+rt GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2) Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-3.el9) x86_64-native-linuxapp-gcc OS: UB2410-64 Kernel Version: 6.11.0-8-generic GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0 Clang Version: 19.1.1 (1ubuntu1) x86_64-native-linuxapp-gcc OS: FC41-64 Kernel Version: 6.11.4-301.fc41.x86_64 GCC Version: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) Clang Version: 19.1.5 (Fedora 19.1.5-1.fc41) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2404-64Rt Kernel Version: 6.8.0-rt8 GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc *Build Failed #1: OS: RHEL10-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Wincompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [914/3439] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_image.c.o [915/3439] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_intr.c.o [916/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o [917/3439] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_mcdi.c.o [918/3439] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_mac.c.o [919/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o [920/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o [921/3439] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nic.c.o [922/3439] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #2: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Werror=incompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [1828/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o [1829/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_aso.c.o [1830/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_txq.c.o [1831/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o [1832/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o [1833/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1834/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1835/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o [1836/3439] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o ninja: build stopped *Build Failed #3: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Werror=incompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [918/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nvram.c.o [919/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_phy.c.o [920/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_proxy.c.o [921/3435] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [922/3435] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o [923/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nic.c.o [924/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_rx.c.o [925/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_tx.c.o [926/3435] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o ninja: build stopped *Build Failed #4: OS: UB2404-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o clang -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c:213:53: error: cast from 'volatile struct mlx5_cqe *' to 'char *' drops volatile qualifier [-Werror,-Wcast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:11: error: incompatible pointer types passing 'volatile struct mlx5_err_cqe *' to parameter of type 'volatile struct mlx5_error_cqe *' [-Werror,-Wincompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_tx.c:86:37: note: passing argument to parameter 'err_cqe' here 86 | volatile struct mlx5_error_cqe *err_cqe) | ^ 2 errors generated. [918/3435] Linking target drivers/librte_common_qat.so.25.1 [919/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nvram.c.o [920/3435] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o [921/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nic.c.o [922/3435] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o [923/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_phy.c.o [924/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_proxy.c.o [925/3435] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_rx.c.o [926/3435] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #5: OS: UB2404-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Werror=incompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [918/3258] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o [919/3258] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_phy.c.o [920/3258] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_proxy.c.o [921/3258] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_nic.c.o [922/3258] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_rx.c.o [923/3258] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o [924/3258] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_tx.c.o [925/3258] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o [926/3258] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #6: OS: UB2410-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Wincompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [912/3421] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_image.c.o [913/3421] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trace.c.o [914/3421] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o [915/3421] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_intr.c.o [916/3421] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_mac.c.o [917/3421] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o [918/3421] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o [919/3421] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) [920/3421] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o ninja: build stopped *Build Failed #7: OS: FC41-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Wincompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [913/3425] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_image.c.o [914/3425] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_intr.c.o [915/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o [916/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o [917/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o [918/3425] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_mac.c.o [919/3425] Compiling C object drivers/common/sfc_efx/base/libsfc_base.a.p/ef10_mcdi.c.o [920/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o [921/3425] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #8: OS: FC41-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o clang -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -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 -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c:213:53: error: cast from 'volatile struct mlx5_cqe *' to 'char *' drops volatile qualifier [-Werror,-Wcast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:11: error: incompatible pointer types passing 'volatile struct mlx5_err_cqe *' to parameter of type 'volatile struct mlx5_error_cqe *' [-Werror,-Wincompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/mlx5/mlx5_tx.c:86:37: note: passing argument to parameter 'err_cqe' here 86 | volatile struct mlx5_error_cqe *err_cqe) | ^ 2 errors generated. [1827/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o [1828/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_flex.c.o [1829/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_aso.c.o [1830/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o [1831/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o [1832/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1833/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1834/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o [1835/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o ninja: build stopped *Build Failed #9: OS: UB2404-64Rt Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -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 -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -Wno-vla -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o -c ../drivers/net/mlx5/mlx5_tx.c ../drivers/net/mlx5/mlx5_tx.c: In function ‘mlx5_tx_handle_completion’: ../drivers/net/mlx5/mlx5_tx.c:213:73: error: cast discards ‘volatile’ qualifier from pointer target type [-Werror=cast-qual] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^ ../drivers/net/mlx5/mlx5_tx.c:213:39: error: passing argument 2 of ‘mlx5_tx_error_cqe_handle’ from incompatible pointer type [-Werror=incompatible-pointer-types] 213 | (txq, (volatile struct mlx5_err_cqe *)(((char *)cqe) + offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | volatile struct mlx5_err_cqe * ../drivers/net/mlx5/mlx5_tx.c:86:58: note: expected ‘volatile struct mlx5_error_cqe *’ but argument is of type ‘volatile struct mlx5_err_cqe *’ 86 | volatile struct mlx5_error_cqe *err_cqe) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [1827/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_aso.c.o [1828/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o [1829/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o [1830/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o [1831/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o [1832/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o [1833/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o [1834/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o [1835/3425] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o ninja: build stopped DPDK STV team