automatic DPDK test reports
 help / color / mirror / Atom feed
* compilation|FAILURE| pw(159708) sid(37020) job(PER_PATCH_BUILD17632)[v5] eal: RTE_PTR_ADD/SUB char* for compiler optimizations
@ 2026-01-12 15:54 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2026-01-12 15:54 UTC (permalink / raw)
  To: test-report, scott.k.mitch1

[-- Attachment #1: Type: text/plain, Size: 64259 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/159708

_Compilation issues_

Submitter: Scott Mitchell <scott.k.mitch1@gmail.com>
Date: 2026-01-12 15:40:59
Reply_mail: <20260112154059.36879-1-scott.k.mitch1@gmail.com>

DPDK git baseline: Repo:dpdk, CommitID: cd60dcd503b91956f966a1f6d595b35d256ac00f


Meson Build Summary: 23 Builds Done, 9 Successful, 14 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | pass       |              |            |            |           |          |            |
| FreeBSD14-64      | fail       | pass         |            | fail       | fail      |          |            |
| RHEL96-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64         | fail       | pass         |            |            |           |          |            |
| AzureLinux3.0-64  | fail       |              |            |            |           |          |            |
| UB2404-32         | fail       |              |            |            |           |          |            |
| RHEL10-64         | fail       |              |            |            |           |          |            |
| UB2404-64         | fail       | pass         |            |            |           | fail     | fail       |
| RHEL10-64RT       | fail       |              |            |            |           |          |            |
| UB2504-64         | fail       |              |            |            |           |          |            |
| Fedora42-64       | fail       | pass         |            |            |           |          |            |
| OpenEuler2404-64  | 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.3-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 13.3.0
	Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
	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) 14.2.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: 18.1.3 (1ubuntu1)
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: RHEL10-64RT
	Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
	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: 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: Fedora42-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: OpenEuler2404-64
	Kernel Version: 6.6.0-98.0.0.103.oe2403sp2.x86_64
	GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-98.oe2403sp2)
	Clang Version: 17.0.6 ( 17.0.6-45.oe2403sp2)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -Ilib/argparse -I../lib/argparse -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function 'malloc_elem_from_data',
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function 'malloc_elem_from_data',
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro 'RTE_PTR_SUB'
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[63/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[64/2230] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o
[65/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[66/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[67/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[68/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[69/2230] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[70/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[71/2230] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -Ilib/argparse -I../lib/argparse -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function 'malloc_elem_from_data',
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function 'malloc_elem_from_data',
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro 'RTE_PTR_SUB'
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[63/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[64/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[65/2114] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o
[66/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[67/2114] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[68/2114] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[69/2114] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[70/2114] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[71/2114] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -Ilib/argparse -I../lib/argparse -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function 'malloc_elem_cookies_ok',
    inlined from 'malloc_elem_from_data' at ../lib/eal/common/malloc_elem.h:313:7,
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:84:39: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
   84 | #define MALLOC_ELEM_HEADER(elem) (elem->header_cookie)
      |                                  ~~~~~^~~~~~~~~~~~~~~~
../lib/eal/common/malloc_elem.h:105:25: note: in expansion of macro 'MALLOC_ELEM_HEADER'
  105 |                         MALLOC_ELEM_HEADER(elem) == MALLOC_HEADER_COOKIE &&
      |                         ^~~~~~~~~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function 'malloc_elem_cookies_ok',
    inlined from 'malloc_elem_from_data' at ../lib/eal/common/malloc_elem.h:313:7,
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:83:21: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
   83 |                 elem->size - MALLOC_ELEM_TRAILER_LEN)))
      |                     ^
../lib/eal/include/rte_common.h:554:67: note: in definition of macro 'RTE_PTR_ADD'
  554 | #define RTE_PTR_ADD(ptr, x) ((void *)((char *)(uintptr_t)(ptr) + (x)))
      |                                                                   ^
../lib/eal/common/malloc_elem.h:106:25: note: in expansion of macro 'MALLOC_ELEM_TRAILER'
  106 |                         MALLOC_ELEM_TRAILER(elem) == MALLOC_TRAILER_COOKIE;
      |                         ^~~~~~~~~~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'malloc_elem_from_data',
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'malloc_elem_from_data',
    inlined from 'rte_zmalloc_socket' at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of 'void[]' [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro 'RTE_PTR_SUB'
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function 'rte_zmalloc_socket':
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by 'rte_malloc_socket'
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[62/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[63/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[64/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[65/2230] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[66/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[67/2230] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[68/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[69/2230] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[70/2230] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #4:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[70/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[71/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[72/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[73/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[74/3704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[75/3704] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[76/3704] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[77/3704] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[78/3704] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #5:
OS: AzureLinux3.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[70/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[71/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[72/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[73/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[74/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[75/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[76/3700] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[77/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[78/3700] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #6:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[2147483647]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -64 into object of size [0, 2147483647] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[2147483647]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -64 into object of size [0, 2147483647] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[69/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[70/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[71/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[72/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[73/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[74/2693] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[75/2693] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[76/2693] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[77/2693] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #7:
OS: RHEL10-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[70/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[71/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[72/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[73/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[74/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[75/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[76/3635] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[77/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[78/3635] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #8:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[70/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o
[71/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[72/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[73/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[74/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[75/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[76/3875] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[77/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[78/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #9:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[63/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o
[64/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_bitset.c.o
[65/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[66/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[67/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[68/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[69/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[70/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_cpuflags.c.o
[71/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
ninja: build stopped




*Build Failed #10:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[71/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[72/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[73/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[74/3692] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[75/3692] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[76/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[77/3692] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[78/3692] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[79/3692] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #11:
OS: RHEL10-64RT
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[70/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[71/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[72/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[73/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[74/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[75/3635] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[76/3635] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[77/3635] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[78/3635] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #12:
OS: UB2504-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[71/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[72/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[73/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[74/3871] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[75/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[76/3871] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[77/3871] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[78/3871] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
[79/3871] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
ninja: build stopped




*Build Failed #13:
OS: Fedora42-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds=]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[69/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[70/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[71/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[72/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[73/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[74/3875] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[75/3875] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[76/3875] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[77/3875] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped




*Build Failed #14:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_rte_malloc.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/argparse -I../lib/argparse -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 '-DABI_VERSION="26.1"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_malloc.c.o -MF lib/librte_eal.a.p/eal_common_rte_malloc.c.o.d -o lib/librte_eal.a.p/eal_common_rte_malloc.c.o -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:23:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:28: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
      |                ~~~~~~~~~~~~^~~~~~~~~~~
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/eal/x86/include/rte_vect.h:17,
                 from ../lib/eal/x86/include/rte_memcpy.h:17,
                 from ../lib/eal/common/rte_malloc.c:12:
In function ‘malloc_elem_from_data’,
    inlined from ‘rte_zmalloc_socket’ at ../lib/eal/common/rte_malloc.c:136:30:
../lib/eal/common/malloc_elem.h:315:71: error: array subscript -1 is outside array bounds of ‘void[]’ [-Werror=array-bounds]
  315 |         return elem->state != ELEM_PAD ? elem:  RTE_PTR_SUB(elem, elem->pad);
../lib/eal/include/rte_common.h:559:67: note: in definition of macro ‘RTE_PTR_SUB’
  559 | #define RTE_PTR_SUB(ptr, x) ((void *)((char *)(uintptr_t)(ptr) - (x)))
      |                                                                   ^
../lib/eal/common/rte_malloc.c: In function ‘rte_zmalloc_socket’:
../lib/eal/common/rte_malloc.c:133:21: note: at offset -128 into object of size [0, 9223372036854775807] allocated by ‘rte_malloc_socket’
  133 |         void *ptr = rte_malloc_socket(type, size, align, socket);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[69/3700] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[70/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[71/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[72/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[73/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[74/3700] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[75/3700] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[76/3700] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[77/3700] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-12 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-12 15:54 compilation|FAILURE| pw(159708) sid(37020) job(PER_PATCH_BUILD17632)[v5] eal: RTE_PTR_ADD/SUB char* for compiler optimizations 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).