|WARNING| pw159708 [PATCH] [v5] eal: RTE_PTR_ADD/SUB char* for compi
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Sat Jan 17 00:20:14 CET 2026
Test-Label: iol-unit-amd64-testing
Test-Status: WARNING
https://dpdk.org/patch/159708
_Testing issues_
Submitter: Scott Mitchell <scott.k.mitch1 at gmail.com>
Date: Monday, January 12 2026 15:40:59
DPDK git baseline: Repo:dpdk
Branch: master
CommitID:cd60dcd503b91956f966a1f6d595b35d256ac00f
159708 --> testing issues
Upstream job id: Generic-VM-Unit-Test-DPDK#33533
Test environment and result as below:
+-------------------------------+----------------+
| Environment | dpdk_unit_test |
+===============================+================+
| CentOS Stream 9 | PASS |
+-------------------------------+----------------+
| Debian GNU/Linux 12 | WARN |
+-------------------------------+----------------+
| CentOS Stream 10 | WARN |
+-------------------------------+----------------+
| Fedora Linux 43 | WARN |
+-------------------------------+----------------+
| Red Hat Enterprise Linux 10.1 | WARN |
+-------------------------------+----------------+
| Fedora Linux 41 | PASS |
+-------------------------------+----------------+
| Fedora Linux 42 | PASS |
+-------------------------------+----------------+
| Red Hat Enterprise Linux 9.7 | PASS |
+-------------------------------+----------------+
| Red Hat Enterprise Linux 8.10 | PASS |
+-------------------------------+----------------+
| Ubuntu 20.04 | PASS |
+-------------------------------+----------------+
| Ubuntu 24.04 | WARN |
+-------------------------------+----------------+
| Ubuntu 22.04 | PASS |
+-------------------------------+----------------+
| Windows Server 2022 | PASS |
+-------------------------------+----------------+
==== 20 line log output for Ubuntu 24.04 (dpdk_unit_test): ====
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
[65/3611] Compiling C object lib/librte_eal.a.p/eal_common_rte_version.c.o
[66/3611] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[67/3611] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
ninja: build stopped: subcommand failed.
==== End log output ====
CentOS Stream 9
Kernel: 5.15
Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-14)
Debian GNU/Linux 12
Kernel: 5.15
Compiler: gcc gcc (Debian 12.2.0-14+deb12u1) 12.2.0
CentOS Stream 10
Kernel: 5.15
Compiler: gcc gcc (GCC) 14.3.1 20251022 (Red Hat 14.3.1-4)
Fedora Linux 43
Kernel: 5.15
Compiler: clang gcc (GCC) 15.2.1 20251211 (Red Hat 15.2.1-5)
Red Hat Enterprise Linux 10.1
Kernel: 5.15
Compiler: gcc gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
Fedora Linux 41
Kernel: 5.15
Compiler: clang gcc (GCC) 14.3.1 20250523 (Red Hat 14.3.1-1)
Fedora Linux 42
Kernel: 5.15
Compiler: gcc gcc (GCC) 15.2.1 20251111 (Red Hat 15.2.1-4)
Red Hat Enterprise Linux 9.7
Kernel: 5.15
Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-11)
Red Hat Enterprise Linux 8.10
Kernel: 5.15
Compiler: gcc gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-28)
Ubuntu 20.04
Kernel: 5.15
Compiler: gcc gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Ubuntu 24.04
Kernel: 5.15
Compiler: gcc gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
Ubuntu 22.04
Kernel: 5.15
Compiler: gcc gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0
Windows Server 2022
Kernel: 10.0.20348.2031
Compiler: clang 15.0.7, gcc 14.1.0 (MinGW), and MSVC VS 19.39.33521
To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/34896/
UNH-IOL DPDK Community Lab
To manage your email subscriptions, visit:
https://lab.dpdk.org/results/dashboard/preferences/subscriptions/
More information about the test-report
mailing list