* |FAILURE| pw153823 [v1 10/10] bus/dpaa: optimize qman enqueue check
[not found] <20250528103934.1001747-11-vanshika.shukla@nxp.com>
2025-05-28 10:08 ` |FAILURE| pw153814-153823 [v1 10/10] bus/dpaa: optimize qman enqueue check qemudev
2025-05-28 10:40 ` |SUCCESS| pw153823 " checkpatch
@ 2025-05-28 11:44 ` 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: 0-day Robot @ 2025-05-28 11:44 UTC (permalink / raw)
To: test-report; +Cc: vanshika.shukla, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/153823/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/15298522374
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-abi+debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"fedora:39-clang" failed at step Build
"fedora:39-gcc" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
cc1: all warnings being treated as errors
[205/3550] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o
[206/3550] 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
ccache 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 -pipe -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=corei7 -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
[207/3550] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[208/3550] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
../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
[194/5846] 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
ccache 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 -pipe -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -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
[195/5846] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
[195/6184] 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
ccache powerpc64le-linux-gnu-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/ppc/include -I../lib/eal/ppc/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 -pipe -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 -Wno-psabi -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -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
[196/6184] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o
[197/6184] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o
[198/6184] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[199/6184] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[200/6184] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
../lib/eal/include/rte_common.h:144:23: note: expanded from macro '__rte_packed'
#define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__)))
^
../lib/eal/include/rte_common.h:186:28: note: expanded from macro 'RTE_DEPRECATED'
#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'
#define RTE_PRAGMA_WARNING(w) RTE_PRAGMA(GCC warning #w)
^
../lib/eal/include/rte_common.h:184:24: note: expanded from macro 'RTE_PRAGMA'
#define RTE_PRAGMA(x) _Pragma(#x)
^
<scratch space>:138:6: note: expanded from here
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]
struct __rte_packed bm_hw_buf_desc {
^
1 warning and 2 errors generated.
[207/3550] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[208/3550] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
cc1: all warnings being treated as errors
[205/7010] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[206/7010] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o
[207/7010] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[208/7010] 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
ccache 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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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=corei7 -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
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-abi+debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
| ^~~~~~~~~~~
../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/include/generic/rte_byteorder.h:246:42: note: in definition of macro ‘rte_bswap32’
246 | #define rte_bswap32(x) __builtin_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
[198/6922] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[199/6922] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o
[200/6922] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[201/6922] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
| ^~~~~~~~~~~
../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/include/generic/rte_byteorder.h:246:42: note: in definition of macro ‘rte_bswap32’
246 | #define rte_bswap32(x) __builtin_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
[199/6155] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_netcfg_layer.c.o
[200/6155] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[201/6155] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[202/6155] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
~~~^
../drivers/common/dpaax/compat.h:261:41: note: expanded from macro 'be32_to_cpu'
#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'
#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'
rte_arch_bswap32(x)))
^
../drivers/bus/dpaa/base/qbman/bman.c:366:29: note: forward declaration of 'struct bm_hw_buf_desc'
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'
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'
struct bm_hw_buf_desc bm_bufs[FSL_BM_BURST_MAX];
^
1 warning and 11 errors generated.
[204/7010] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_fman_fman.c.o
[205/7010] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[206/7010] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread