On Tue, 8 Oct 2024 16:28:10 +0530 Gagandeep Singh <g.si...@nxp.com> wrote:
> From: Hemant Agrawal <hemant.agra...@nxp.com> > > Add BMI statistics and fixing the existing extended > statistics > > Signed-off-by: Hemant Agrawal <hemant.agra...@nxp.com> > Signed-off-by: Gagandeep Singh <g.si...@nxp.com> > --- This patch is failing build, Fedora has a more recent Gcc with more checking ==== 20 line log output for Fedora 40 (dpdk_unit_test): ==== | ^~~ In function 'rte_mov15_or_less', inlined from 'rte_memcpy_aligned' at ../lib/eal/x86/include/rte_memcpy.h:706:10, inlined from 'rte_memcpy' at ../lib/eal/x86/include/rte_memcpy.h:755:10, inlined from 'qdma_cntx_idx_ring_eq' at ../drivers/dma/dpaa2/dpaa2_qdma.c:80:3, inlined from 'dpaa2_qdma_dq_fd' at ../drivers/dma/dpaa2/dpaa2_qdma.c:953:9, inlined from 'dpaa2_qdma_dequeue' at ../drivers/dma/dpaa2/dpaa2_qdma.c:1109:9: ../lib/eal/x86/include/rte_memcpy.h:89:63: error: array subscript 'const struct rte_uint32_alias[0]' is partly outside array bounds of 'const void[2]' [-Werror=array-bounds=] 89 | ((const struct rte_uint32_alias *)src)->val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../drivers/dma/dpaa2/dpaa2_qdma.c: In function 'dpaa2_qdma_dequeue': ../drivers/dma/dpaa2/dpaa2_qdma.c:943:18: note: object 'idx' of size 2 943 | uint16_t idx, att; | ^~~ ../drivers/dma/dpaa2/dpaa2_qdma.c:943:18: note: at offset [8, 10] into object 'idx' of size 2 cc1: all warnings being treated as errors [1029/2944] Compiling C object 'drivers/a715181@@tmp_rte_dma_idxd at sta/dma_idxd_idxd_common.c.o'. [1030/2944] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command. [1031/2944] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command. ninja: build stopped: subcommand failed. ==== End log output ====