|FAILURE| pw159708 [PATCH] [v5] eal: RTE_PTR_ADD/SUB char* for compi
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Mon Jan 12 23:23:06 CET 2026
Test-Label: iol-compile-amd64-testing
Test-Status: FAILURE
http://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-DPDK-Compile-Meson#40624
Test environment and result as below:
+---------------------+--------------------+-------------------------+----------------------+
| Environment | dpdk_meson_compile | dpdk_llvm_clang_compile | dpdk_mingw64_compile |
+=====================+====================+=========================+======================+
| FreeBSD 14.2 | PASS | SKIPPED | SKIPPED |
+---------------------+--------------------+-------------------------+----------------------+
| Windows Server 2025 | SKIPPED | PASS | FAIL |
+---------------------+--------------------+-------------------------+----------------------+
==== 20 line log output for Windows Server 2025 (dpdk_mingw64_compile): ====
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.exe: all warnings being treated as errors
[48/815] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.obj
[49/815] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.obj
ninja: build stopped: subcommand failed.
==== End log output ====
FreeBSD 14.2
Kernel: 14.2-RELEASE
Compiler: clang 18.1.6
Windows Server 2025
Kernel: 10.0.26100
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