|FAILURE| pw151812 [RFC PATCH v19] mempool: fix mempool cache size

0-day Robot robot at bytheb.org
Fri Feb 21 21:24:37 CET 2025


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/151812/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/13463804780
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-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
ccache gcc -Idrivers/libtmp_rte_dma_dpaa2.a.p -Idrivers -I../drivers -Idrivers/dma/dpaa2 -I../drivers/dma/dpaa2 -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Ilib/eal/linux -I../lib/eal/linux -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 -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -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-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.dpaa2 -MD -MQ drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -MF drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o.d -o drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -c ../drivers/dma/dpaa2/dpaa2_qdma.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../drivers/bus/fslmc/bus_fslmc_driver.h:31,
                 from ../drivers/dma/dpaa2/dpaa2_qdma.c:6:
../drivers/dma/dpaa2/dpaa2_qdma.c: In function ‘dpaa2_qdma_vchan_setup’:
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
cc1: all warnings being treated as errors
[1035/3227] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o
[1036/3227] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o
[1037/3227] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1038/3227] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1039/3227] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.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
####################################################################################
ccache gcc -Idrivers/libtmp_rte_dma_dpaa2.a.p -Idrivers -I../drivers -Idrivers/dma/dpaa2 -I../drivers/dma/dpaa2 -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Ilib/eal/linux -I../lib/eal/linux -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 -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -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-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.dpaa2 -MD -MQ drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -MF drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o.d -o drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -c ../drivers/dma/dpaa2/dpaa2_qdma.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../drivers/bus/fslmc/bus_fslmc_driver.h:31,
                 from ../drivers/dma/dpaa2/dpaa2_qdma.c:6:
../drivers/dma/dpaa2/dpaa2_qdma.c: In function ‘dpaa2_qdma_vchan_setup’:
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
cc1: all warnings being treated as errors
[805/5608] Generating rte_net_af_packet.pmd.c with a custom command
[806/5608] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[807/5608] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[808/5608] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[809/5608] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.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-shared-aarch64" at step Build and test
####################################################################################
ccache aarch64-linux-gnu-gcc -Idrivers/libtmp_rte_dma_dpaa2.a.p -Idrivers -I../drivers -Idrivers/dma/dpaa2 -I../drivers/dma/dpaa2 -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Ilib/eal/linux -I../lib/eal/linux -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 -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -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=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.dpaa2 -MD -MQ drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -MF drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o.d -o drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -c ../drivers/dma/dpaa2/dpaa2_qdma.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../drivers/bus/fslmc/bus_fslmc_driver.h:31,
                 from ../drivers/dma/dpaa2/dpaa2_qdma.c:6:
../drivers/dma/dpaa2/dpaa2_qdma.c: In function ‘dpaa2_qdma_vchan_setup’:
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
cc1: all warnings being treated as errors
[986/6640] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[987/6640] Compiling C object drivers/libtmp_rte_dma_cnxk.a.p/dma_cnxk_cnxk_dmadev_fp.c.o
[988/6640] Compiling C object drivers/libtmp_rte_dma_dpaa.a.p/dma_dpaa_dpaa_qdma.c.o
[989/6640] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[990/6640] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
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-ppc64le" at step Build and test
####################################################################################
ccache powerpc64le-linux-gnu-gcc -Idrivers/libtmp_rte_dma_dpaa2.a.p -Idrivers -I../drivers -Idrivers/dma/dpaa2 -I../drivers/dma/dpaa2 -Ilib/dmadev -I../lib/dmadev -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Ilib/eal/linux -I../lib/eal/linux -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 -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -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-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.dpaa2 -MD -MQ drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -MF drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o.d -o drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -c ../drivers/dma/dpaa2/dpaa2_qdma.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../drivers/bus/fslmc/bus_fslmc_driver.h:31,
                 from ../drivers/dma/dpaa2/dpaa2_qdma.c:6:
../drivers/dma/dpaa2/dpaa2_qdma.c: In function ‘dpaa2_qdma_vchan_setup’:
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
cc1: all warnings being treated as errors
[926/5912] Generating rte_dma_cnxk.pmd.c with a custom command
[927/5912] Generating rte_dma_odm.pmd.c with a custom command
[928/5912] Compiling C object drivers/libtmp_rte_dma_dpaa.a.p/dma_dpaa_dpaa_qdma.c.o
[929/5912] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[930/5912] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
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-gcc-riscv64" at step Build and test
####################################################################################
ccache riscv64-linux-gnu-gcc -Idrivers/libtmp_rte_dma_dpaa2.a.p -Idrivers -I../drivers -Idrivers/dma/dpaa2 -I../drivers/dma/dpaa2 -Ilib/dmadev -I../lib/dmadev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -I../kernel/linux -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Ilib/eal/linux -I../lib/eal/linux -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 -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -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=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-pointer-arith -DRTE_LOG_DEFAULT_LOGTYPE=pmd.dma.dpaa2 -MD -MQ drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -MF drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o.d -o drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o -c ../drivers/dma/dpaa2/dpaa2_qdma.c
In file included from ../lib/mbuf/rte_mbuf.h:38,
                 from ../drivers/bus/fslmc/bus_fslmc_driver.h:31,
                 from ../drivers/dma/dpaa2/dpaa2_qdma.c:6:
../drivers/dma/dpaa2/dpaa2_qdma.c: In function ‘dpaa2_qdma_vchan_setup’:
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
../lib/mempool/rte_mempool.h:1572:22: error: array subscript 3584 is above array bounds of ‘void *[1024]’ [-Werror=array-bounds]
 1572 |         cache_objs = &cache->objs[cache->len + remaining];
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/mempool/rte_mempool.h:113:44: note: while referencing ‘objs’
  113 |         alignas(RTE_CACHE_LINE_SIZE) void *objs[RTE_MEMPOOL_CACHE_MAX_SIZE * 2];
      |                                            ^~~~
cc1: all warnings being treated as errors
[917/5883] Generating rte_dma_odm.pmd.c with a custom command
[918/5883] Generating rte_dma_cnxk.pmd.c with a custom command
[919/5883] Compiling C object drivers/libtmp_rte_dma_dpaa.a.p/dma_dpaa_dpaa_qdma.c.o
[920/5883] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[921/5883] Generating rte_common_cnxk.pmd.c with a custom command
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
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list