Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/153823 _Compilation issues_ Submitter: Vanshika Shukla Date: 2025-05-28 10:39:34 Reply_mail: <20250528103934.1001747-11-vanshika.shukla@nxp.com> DPDK git baseline: Repo:dpdk-next-net, CommitID: f77eb8f3c655a2573aed77bea122d98efc12edef Meson Build Summary: 23 Builds Done, 4 Successful, 19 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.10-64 | fail | | | | | | | | FreeBSD14-64 | pass | pass | | pass | pass | | | | RHEL96-64 | fail | fail | | fail | fail | | | | SUSE15-64 | fail | fail | | | | | | | AzureLinux3.0-64 | fail | | | | | | | | UB2404-32 | fail | | | | | | | | RHEL10-64 | fail | | | | | | | | UB2404-64 | fail | fail | | | | fail | fail | | RHEL96-64RT | fail | | | | | | | | UB2504-64 | fail | | | | | | | | FC42-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.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: OpenAnolis8.10-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:24: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:24: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] bman_hw_extract_addr(struct bm_hw_buf_desc *buf) ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: dereferencing pointer to incomplete type ‘struct bm_hw_buf_desc’ hi = be16_to_cpu(buf->hi_addr); ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ #define be16_to_cpu(x) rte_be_to_cpu_16(x) ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:7: note: in expansion of macro ‘be16_to_cpu’ hi = be16_to_cpu(buf->hi_addr); ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:24: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:24: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [662/3566] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [663/3566] Generating symbol file drivers/librte_common_octeontx.so.25.2.p/librte_common_octeontx.so.25.2.symbols [664/3566] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [665/3566] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [666/3566] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [667/3566] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [668/3566] Generating symbol file drivers/librte_common_ionic.so.25.2.p/librte_common_ionic.so.25.2.symbols [669/3566] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [670/3566] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #2: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [662/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [663/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [664/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [665/3501] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [666/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [667/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [668/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [669/3501] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [670/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #3: OS: RHEL96-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :213:6: note: expanded from here 213 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ 1 warning and 2 errors generated. [666/3460] Linking target drivers/librte_bus_auxiliary.so.25.2 [667/3460] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [668/3460] Generating symbol file drivers/librte_common_octeontx.so.25.2.p/librte_common_octeontx.so.25.2.symbols [669/3460] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o [670/3460] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :3:6: note: expanded from here 3 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:9: note: forward declaration of 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: declaration of 'struct bm_hw_buf_desc' will not be visible outside of this function [-Werror,-Wvisibility] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: expanded from macro 'rte_bswap16' 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:56:29: note: expanded from macro 'rte_bswap16' 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:57:25: note: expanded from macro 'rte_bswap16' 57 | rte_arch_bswap16(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: expanded from macro 'rte_bswap32' 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:60:29: note: expanded from macro 'rte_bswap32' 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:61:25: note: expanded from macro 'rte_bswap32' 61 | rte_arch_bswap32(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:9: note: forward declaration of 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ 1 warning and 11 errors generated. [671/3460] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [672/3460] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [673/3460] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [674/3460] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o ninja: build stopped *Build Failed #4: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [676/3345] Compiling C object drivers/librte_bus_cdx.a.p/meson-generated_.._rte_bus_cdx.pmd.c.o [677/3345] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [678/3345] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [679/3345] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [680/3345] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [681/3345] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -c ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:8: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [682/3345] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [683/3345] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [684/3345] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #5: OS: RHEL96-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [663/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [664/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [665/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [666/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [667/3501] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [668/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -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 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -c ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:8: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [669/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [670/3501] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [671/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #6: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :165:6: note: expanded from here 165 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ 1 warning and 2 errors generated. [664/3544] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output) [665/3544] Generating symbol file drivers/librte_common_cpt.so.25.2.p/librte_common_cpt.so.25.2.symbols [666/3544] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [667/3544] Generating symbol file drivers/librte_common_octeontx.so.25.2.p/librte_common_octeontx.so.25.2.symbols [668/3544] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [669/3544] Generating symbol file drivers/librte_common_ionic.so.25.2.p/librte_common_ionic.so.25.2.symbols [670/3544] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [671/3544] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :33:6: note: expanded from here 33 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:9: note: forward declaration of 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: declaration of 'struct bm_hw_buf_desc' will not be visible outside of this function [-Werror,-Wvisibility] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: expanded from macro 'rte_bswap16' 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:56:29: note: expanded from macro 'rte_bswap16' 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:57:25: note: expanded from macro 'rte_bswap16' 57 | rte_arch_bswap16(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: expanded from macro 'rte_bswap32' 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:60:29: note: expanded from macro 'rte_bswap32' 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:61:25: note: expanded from macro 'rte_bswap32' 61 | rte_arch_bswap32(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:9: note: forward declaration of 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ 1 warning and 11 errors generated. [672/3544] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #7: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8:0, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17:0: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [654/3542] Generating drivers/rte_bus_cdx.pmd.c with a custom command [655/3542] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [656/3542] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17:0, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12:0, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] struct __rte_packed bm_hw_buf_desc { ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:24: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:24: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] bman_hw_extract_addr(struct bm_hw_buf_desc *buf) ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34:0, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: dereferencing pointer to incomplete type ‘struct bm_hw_buf_desc’ hi = be16_to_cpu(buf->hi_addr); ^ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ #define be16_to_cpu(x) rte_be_to_cpu_16(x) ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:7: note: in expansion of macro ‘be16_to_cpu’ hi = be16_to_cpu(buf->hi_addr); ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:24: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:24: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [657/3542] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output) [658/3542] Generating symbol file drivers/librte_common_ionic.so.25.2.p/librte_common_ionic.so.25.2.symbols [659/3542] Generating symbol file drivers/librte_common_octeontx.so.25.2.p/librte_common_octeontx.so.25.2.symbols [660/3542] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [661/3542] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [662/3542] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #8: OS: AzureLinux3.0-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [662/3566] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [663/3566] Generating symbol file drivers/librte_common_octeontx.so.25.2.p/librte_common_octeontx.so.25.2.symbols [664/3566] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [665/3566] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [666/3566] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [667/3566] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [668/3566] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [669/3566] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [670/3566] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #9: OS: UB2404-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [612/2625] Generating drivers/rte_common_ionic.sym_chk with a custom command (wrapped by meson to capture output) [613/2625] Generating drivers/rte_bus_cdx.pmd.c with a custom command [614/2625] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [615/2625] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output) [616/2625] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [617/2625] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o -c ../drivers/bus/dpaa/base/fman/fman.c ../drivers/bus/dpaa/base/fman/fman.c: In function ‘_fman_init’: ../drivers/bus/dpaa/base/fman/fman.c:65:61: error: passing argument 3 of ‘of_get_property’ from incompatible pointer type [-Werror=incompatible-pointer-types] 65 | cell_idx = of_get_property(fman_node, "cell-index", &lenp); | ^~~~~ | | | uint64_t * {aka long long unsigned int *} In file included from ../drivers/bus/dpaa/base/fman/fman.c:14: ../drivers/common/dpaax/dpaa_of.h:120:37: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘uint64_t *’ {aka ‘long long unsigned int *’} 120 | size_t *lenp) __attribute__((nonnull(2))); | ~~~~~~~~^~~~ cc1: all warnings being treated as errors [618/2625] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [619/2625] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [620/2625] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #10: OS: RHEL10-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [664/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [665/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [666/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [667/3501] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [668/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [669/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [670/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [671/3501] Generating lib/vhost.sym_chk with a custom command (wrapped by meson to capture output) [672/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #11: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [668/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [669/3735] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [670/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [671/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [672/3735] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [673/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [674/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -c ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:8: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [675/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [676/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #12: OS: UB2404-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [662/3735] Generating symbol file drivers/librte_common_ionic.so.25.2.p/librte_common_ionic.so.25.2.symbols [663/3735] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [664/3735] Generating symbol file drivers/librte_common_octeontx.so.25.2.p/librte_common_octeontx.so.25.2.symbols [665/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [666/3735] Generating symbol file drivers/librte_bus_auxiliary.so.25.2.p/librte_bus_auxiliary.so.25.2.symbols [667/3735] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [668/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [669/3735] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [670/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #13: OS: UB2404-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :181:6: note: expanded from here 181 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ 1 warning and 2 errors generated. [657/3735] Generating drivers/rte_common_dpaax.sym_chk with a custom command (wrapped by meson to capture output) [658/3735] Compiling C object drivers/librte_bus_cdx.a.p/meson-generated_.._rte_bus_cdx.pmd.c.o [659/3735] Generating drivers/rte_common_ionic.sym_chk with a custom command (wrapped by meson to capture output) [660/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :37:6: note: expanded from here 37 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:9: note: forward declaration of 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: declaration of 'struct bm_hw_buf_desc' will not be visible outside of this function [-Werror,-Wvisibility] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: expanded from macro 'rte_bswap16' 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:56:29: note: expanded from macro 'rte_bswap16' 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:57:25: note: expanded from macro 'rte_bswap16' 57 | rte_arch_bswap16(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: expanded from macro 'rte_bswap32' 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:60:29: note: expanded from macro 'rte_bswap32' 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:61:25: note: expanded from macro 'rte_bswap32' 61 | rte_arch_bswap32(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:9: note: forward declaration of 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ 1 warning and 11 errors generated. [661/3735] Generating drivers/rte_bus_auxiliary.sym_chk with a custom command (wrapped by meson to capture output) [662/3735] Generating drivers/rte_common_octeontx.sym_chk with a custom command (wrapped by meson to capture output) [663/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [664/3735] Generating symbol file drivers/librte_common_cpt.so.25.2.p/librte_common_cpt.so.25.2.symbols [665/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #14: OS: UB2404-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [666/3558] Generating symbol file drivers/librte_bus_auxiliary.so.25.2.p/librte_bus_auxiliary.so.25.2.symbols [667/3558] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [668/3558] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [669/3558] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [670/3558] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [671/3558] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [672/3558] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [673/3558] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [674/3558] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #15: OS: RHEL96-64RT Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [663/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [664/3501] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [665/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [666/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [667/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o [668/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [669/3501] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [670/3501] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [671/3501] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #16: OS: UB2504-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [667/3735] Generating symbol file drivers/librte_bus_auxiliary.so.25.2.p/librte_bus_auxiliary.so.25.2.symbols [668/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [669/3735] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [670/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [671/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [672/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [673/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [674/3735] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [675/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #17: OS: FC42-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ ../lib/eal/include/rte_common.h:184:24: error: "__rte_packed" is deprecated [-Werror] 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^~~~~~~ ../lib/eal/include/rte_common.h:185:31: note: in expansion of macro ‘RTE_PRAGMA’ 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^~~~~~~~~~ ../lib/eal/include/rte_common.h:186:28: note: in expansion of macro ‘RTE_PRAGMA_WARNING’ 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:144:23: note: in expansion of macro ‘RTE_DEPRECATED’ 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^~~~~~~~~~~~~~ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [673/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ ../lib/eal/include/rte_common.h:184:24: error: "__rte_packed" is deprecated [-Werror] 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^~~~~~~ ../lib/eal/include/rte_common.h:185:31: note: in expansion of macro ‘RTE_PRAGMA’ 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^~~~~~~~~~ ../lib/eal/include/rte_common.h:186:28: note: in expansion of macro ‘RTE_PRAGMA_WARNING’ 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:144:23: note: in expansion of macro ‘RTE_DEPRECATED’ 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^~~~~~~~~~~~~~ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [674/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [675/3735] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [676/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [677/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ ../lib/eal/include/rte_common.h:184:24: error: "__rte_packed" is deprecated [-Werror] 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^~~~~~~ ../lib/eal/include/rte_common.h:185:31: note: in expansion of macro ‘RTE_PRAGMA’ 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^~~~~~~~~~ ../lib/eal/include/rte_common.h:186:28: note: in expansion of macro ‘RTE_PRAGMA_WARNING’ 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:144:23: note: in expansion of macro ‘RTE_DEPRECATED’ 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^~~~~~~~~~~~~~ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [678/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_alloc.c.o -c ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/dpaa_alloc.c:8: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ ../lib/eal/include/rte_common.h:184:24: error: "__rte_packed" is deprecated [-Werror] 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^~~~~~~ ../lib/eal/include/rte_common.h:185:31: note: in expansion of macro ‘RTE_PRAGMA’ 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^~~~~~~~~~ ../lib/eal/include/rte_common.h:186:28: note: in expansion of macro ‘RTE_PRAGMA_WARNING’ 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:144:23: note: in expansion of macro ‘RTE_DEPRECATED’ 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^~~~~~~~~~~~~~ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [679/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [680/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_dpaa_sys.c.o [681/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #18: OS: FC42-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :50:6: note: expanded from here 50 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/qbman/bman.c:11: In file included from ../drivers/bus/dpaa/base/qbman/bman.h:11: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:278:9: note: forward declaration of 'struct bm_hw_buf_desc' 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: declaration of 'struct bm_hw_buf_desc' will not be visible outside of this function [-Werror,-Wvisibility] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: expanded from macro 'rte_bswap16' 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:56:29: note: expanded from macro 'rte_bswap16' 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:370:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 370 | hi = be16_to_cpu(buf->hi_addr); | ~~~^ ../drivers/common/dpaax/compat.h:262:41: note: expanded from macro 'be16_to_cpu' 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:86:41: note: expanded from macro 'rte_be_to_cpu_16' 86 | #define rte_be_to_cpu_16(x) rte_bswap16(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:57:25: note: expanded from macro 'rte_bswap16' 57 | rte_arch_bswap16(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: expanded from macro 'rte_bswap32' 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:60:29: note: expanded from macro 'rte_bswap32' 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:371:22: error: incomplete definition of type 'struct bm_hw_buf_desc' 371 | lo = be32_to_cpu(buf->lo_addr); | ~~~^ ../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu' 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:87:41: note: expanded from macro 'rte_be_to_cpu_32' 87 | #define rte_be_to_cpu_32(x) rte_bswap32(x) | ^ ../lib/eal/x86/include/rte_byteorder.h:61:25: note: expanded from macro 'rte_bswap32' 61 | rte_arch_bswap32(x))) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc' 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array has incomplete element type 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ ../drivers/bus/dpaa/base/qbman/bman.c:383:9: note: forward declaration of 'struct bm_hw_buf_desc' 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^ 1 warning and 11 errors generated. [671/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :228:6: note: expanded from here 228 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ 1 warning and 2 errors generated. [672/3735] Generating symbol file drivers/librte_bus_auxiliary.so.25.2.p/librte_bus_auxiliary.so.25.2.symbols [673/3735] Generating symbol file drivers/librte_common_dpaax.so.25.2.p/librte_common_dpaax.so.25.2.symbols [674/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [675/3735] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [676/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [677/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o clang -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration of anonymous struct must be a definition 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: warning: "__rte_packed" is deprecated [-W#pragma-messages] 73 | struct __rte_packed bm_hw_buf_desc { | ^ ../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed' 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED' 186 | #define RTE_DEPRECATED(x) RTE_PRAGMA_WARNING(#x is deprecated) | ^ ../lib/eal/include/rte_common.h:185:31: note: expanded from macro 'RTE_PRAGMA_WARNING' 185 | #define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w) | ^ ../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA' 184 | #define RTE_PRAGMA(x) _Pragma(#x) | ^ :185:6: note: expanded from here 185 | GCC warning "\"__rte_packed\" is deprecated" | ^ In file included from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:1: error: declaration does not declare anything [-Werror,-Wmissing-declarations] 73 | struct __rte_packed bm_hw_buf_desc { | ^ 1 warning and 2 errors generated. [678/3735] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [679/3735] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #19: OS: UB2404-64RT Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman_hw.c.o -c ../drivers/bus/dpaa/base/fman/fman_hw.c In file included from ../lib/eal/include/dev_driver.h:8, from ../lib/ethdev/ethdev_driver.h:19, from ../drivers/bus/dpaa/include/fman.h:15, from ../drivers/bus/dpaa/base/fman/fman_hw.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/fman/fman_hw.c:17: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [666/3719] Generating symbol file drivers/librte_bus_auxiliary.so.25.2.p/librte_bus_auxiliary.so.25.2.symbols [667/3719] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman.c.o -c ../drivers/bus/dpaa/base/qbman/bman.c In file included from ../lib/eal/x86/include/rte_vect.h:17, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../drivers/bus/dpaa/base/qbman/bman.c:7: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman.h:11, from ../drivers/bus/dpaa/base/qbman/bman.c:11: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_release_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 278 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:278:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] ../drivers/bus/dpaa/base/qbman/bman.c: At top level: ../drivers/bus/dpaa/base/qbman/bman.c:366:29: error: ‘struct bm_hw_buf_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 366 | bman_hw_extract_addr(struct bm_hw_buf_desc *buf) | ^~~~~~~~~~~~~~ In file included from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/base/qbman/dpaa_sys.h:11, from ../drivers/bus/dpaa/base/qbman/bman_priv.h:11: ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_hw_extract_addr’: ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:55:57: note: in definition of macro ‘rte_bswap16’ 55 | #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:56:57: note: in definition of macro ‘rte_bswap16’ 56 | rte_constant_bswap16(x) : \ | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:57:53: note: in definition of macro ‘rte_bswap16’ 57 | rte_arch_bswap16(x))) | ^ ../drivers/common/dpaax/compat.h:262:24: note: in expansion of macro ‘rte_be_to_cpu_16’ 262 | #define be16_to_cpu(x) rte_be_to_cpu_16(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:370:14: note: in expansion of macro ‘be16_to_cpu’ 370 | hi = be16_to_cpu(buf->hi_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:59:57: note: in definition of macro ‘rte_bswap32’ 59 | #define rte_bswap32(x) ((uint32_t)(__builtin_constant_p(x) ? \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:60:57: note: in definition of macro ‘rte_bswap32’ 60 | rte_constant_bswap32(x) : \ | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:29: error: invalid use of undefined type ‘struct bm_hw_buf_desc’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~ ../lib/eal/x86/include/rte_byteorder.h:61:53: note: in definition of macro ‘rte_bswap32’ 61 | rte_arch_bswap32(x))) | ^ ../drivers/common/dpaax/compat.h:261:24: note: in expansion of macro ‘rte_be_to_cpu_32’ 261 | #define be32_to_cpu(x) rte_be_to_cpu_32(x) | ^~~~~~~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:371:14: note: in expansion of macro ‘be32_to_cpu’ 371 | lo = be32_to_cpu(buf->lo_addr); | ^~~~~~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c: In function ‘bman_acquire_fast’: ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: array type has incomplete element type ‘struct bm_hw_buf_desc’ 383 | struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX]; | ^~~~~~~ ../drivers/bus/dpaa/base/qbman/bman.c:383:31: error: unused variable ‘bm_bufs’ [-Werror=unused-variable] cc1: all warnings being treated as errors [668/3719] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [669/3719] Generating drivers/rte_bus_cdx.sym_chk with a custom command (wrapped by meson to capture output) [670/3719] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o [671/3719] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o [672/3719] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o FAILED: drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o gcc -Idrivers/libtmp_rte_bus_dpaa.a.p -Idrivers -I../drivers -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/base -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -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 -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-cast-qual -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=bus.dpaa -MD -MQ drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -MF drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o.d -o drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_bman_driver.c.o -c ../drivers/bus/dpaa/base/qbman/bman_driver.c In file included from ../lib/eal/x86/include/rte_byteorder.h:9, from ../drivers/common/dpaax/compat.h:34, from ../drivers/bus/dpaa/include/fsl_usd.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:10: ../lib/eal/include/rte_common.h:144:22: error: expected ‘{’ before ‘(’ token 144 | #define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__))) | ^ ../drivers/bus/dpaa/include/fsl_bman.h:73:8: note: in expansion of macro ‘__rte_packed’ 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~ In file included from ../drivers/bus/dpaa/base/qbman/bman_priv.h:12, from ../drivers/bus/dpaa/base/qbman/bman_driver.c:12: ../drivers/bus/dpaa/include/fsl_bman.h:73:13: error: "__rte_packed" is deprecated [-Werror] 73 | struct __rte_packed bm_hw_buf_desc { | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [673/3719] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_process.c.o [674/3719] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped DPDK STV team