* compilation|FAILURE| pw(151812) sid(34677) job(PER_PATCH_BUILD15042)[RFC, v19] mempool: fix mempool cache size
@ 2025-02-21 19:27 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2025-02-21 19:27 UTC (permalink / raw)
To: test-report, mb
[-- Attachment #1: Type: text/plain, Size: 21575 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/151812
_Compilation issues_
Submitter: Morten Brørup <mb@smartsharesystems.com>
Date: 2025-02-21 19:05:49
Reply_mail: <20250221190549.192090-1-mb@smartsharesystems.com>
DPDK git baseline: Repo:dpdk, CommitID: fab31a03ba98e7457284df95dd9eef2223a4ccaa
Meson Build Summary: 23 Builds Done, 19 Successful, 4 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.9-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | fail | pass | | fail | fail | | |
| SUSE15-64 | pass | pass | | | | | |
| AzureLinux3.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL10-64 | pass | | | | | | |
| UB2404-64 | pass | pass | | | | pass | pass |
| RHEL95-64Rt | fail | | | | | | |
| UB2410-64 | pass | | | | | | |
| FC41-64 | pass | pass | | | | | |
| UB2404-64Rt | pass | | | | | | |
+------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.9-64
Kernel Version: 5.10.134-16.2.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-22.0.1)
Clang Version: 15.0.7 (Anolis 15.0.7-1.0.3.module+an8.8.0+11135+e398acfc)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.2-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
Clang Version: 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 6.4.0-150600.21-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 17.0.6
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL10-64
Kernel Version: 6.11.0-0.rc5.23.el10.x86_64
GCC Version: gcc (GCC) 14.2.1 20240801 (Red Hat 14.2.1-1)
Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-1.el10)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-41-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL95-64Rt
Kernel Version: 5.14.0-503.11.1.el9_5.x86_64+rt
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)
Clang Version: 18.1.8 (Red Hat, Inc. 18.1.8-3.el9)
x86_64-native-linuxapp-gcc
OS: UB2410-64
Kernel Version: 6.11.0-8-generic
GCC Version: gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0
Clang Version: 19.1.1 (1ubuntu1)
x86_64-native-linuxapp-gcc
OS: FC41-64
Kernel Version: 6.11.4-301.fc41.x86_64
GCC Version: gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
Clang Version: 19.1.5 (Fedora 19.1.5-1.fc41)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
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 -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-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
[1018/3242] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_rxtx.c.o
[1019/3242] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o
[1020/3242] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o
[1021/3242] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm.c.o
[1022/3242] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o
[1023/3242] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[1024/3242] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
[1025/3242] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1026/3242] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #2:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
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 -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-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
[1034/3085] Linking static target drivers/libtmp_rte_dma_idxd.a
[1035/3085] Generating drivers/rte_dma_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1036/3085] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o
[1037/3085] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o
[1038/3085] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm.c.o
[1039/3085] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[1040/3085] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
[1041/3085] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1042/3085] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #3:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
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 -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-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
[502/3238] Generating lib/table.sym_chk with a custom command (wrapped by meson to capture output)
[503/3238] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_ctl.c.o
[504/3238] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_ipsec.c.o
[505/3238] Compiling C object lib/librte_graph.a.p/graph_node.c.o
[506/3238] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline_spec.c.o
[507/3238] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[508/3238] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_swx_pipeline.c.o
[509/3238] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[510/3238] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL95-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
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 -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-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
[1018/3257] Linking static target drivers/libtmp_rte_dma_ioat.a
[1019/3257] Generating drivers/rte_dma_hisilicon.pmd.c with a custom command
[1020/3257] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm.c.o
[1021/3257] Generating drivers/rte_dma_idxd.pmd.c with a custom command
[1022/3257] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[1023/3257] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o
[1024/3257] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
[1025/3257] Generating drivers/rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1026/3257] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-21 19:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-21 19:27 compilation|FAILURE| pw(151812) sid(34677) job(PER_PATCH_BUILD15042)[RFC, v19] mempool: fix mempool cache size sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).