|FAILURE| pw155006 [PATCH] ethdev: fix shadow variable definition

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Wed Jul 9 21:01:50 CEST 2025


Test-Label: iol-compile-arm64-testing
Test-Status: FAILURE
http://dpdk.org/patch/155006

_Testing issues_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Thursday, July 03 2025 17:24:07 
DPDK git baseline: Repo:dpdk
  Branch: master
  CommitID:ba982f9a1ca9b96ed0394b764f1523d482e963a2

155006 --> testing issues

Upstream job id: Generic-DPDK-Compile-Meson#407394

Test environment and result as below:

+------------------------------+--------------------+
|         Environment          | dpdk_meson_compile |
+==============================+====================+
| Red Hat Enterprise Linux 9.5 | FAIL               |
+------------------------------+--------------------+
| Ubuntu 20.04                 | FAIL               |
+------------------------------+--------------------+
| Fedora Linux 40              | FAIL               |
+------------------------------+--------------------+
| Debian GNU/Linux 12          | FAIL               |
+------------------------------+--------------------+
| Fedora Linux 41              | FAIL               |
+------------------------------+--------------------+
| Ubuntu 22.04                 | FAIL               |
+------------------------------+--------------------+
| Ubuntu 24.04                 | FAIL               |
+------------------------------+--------------------+
| CentOS Stream 9              | FAIL               |
+------------------------------+--------------------+
| CentOS Stream 10             | FAIL               |
+------------------------------+--------------------+

==== 20 line log output for CentOS Stream 10 (dpdk_meson_compile): ====
[55/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[56/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_string_fns.c.o
[57/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[58/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[59/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[60/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[61/3761] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_uuid.c.o
[62/3761] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[63/3761] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
FAILED: lib/librte_eal.a.p/eal_common_malloc_heap.c.o
ccache cc -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/arm/include -I../lib/eal/arm/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 -fdiagnostics-color=always -pipe -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 -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8.1-a+crc+crypto -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.2"' -DRTE_EAL_PTHREAD_AT
 TR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_malloc_heap.c.o -MF lib/librte_eal.a.p/eal_common_malloc_heap.c.o.d -o lib/librte_eal.a.p/eal_common_malloc_heap.c.o -c ../lib/eal/common/malloc_heap.c
../lib/eal/common/malloc_heap.c: In function 'malloc_heap_free':
../lib/eal/common/malloc_heap.c:1047:23: error: declaration of 'aligned_end' shadows a previous local [-Werror=shadow]
1047 |                 void *aligned_end = RTE_PTR_ADD(aligned_start, aligned_len);
|                       ^~~~~~~~~~~
../lib/eal/common/malloc_heap.c:862:45: note: shadowed declaration is here
862 |         void *start, *aligned_start, *end, *aligned_end;
|                                             ^~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
==== End log output ====

Red Hat Enterprise Linux 9.5
	Kernel: 5.4
	Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-2)

Ubuntu 20.04
	Kernel: 5.15
	Compiler: aarch64-linux-gnu-gcc gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0

Fedora Linux 40
	Kernel: 5.4
	Compiler: gcc gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)

Debian GNU/Linux 12
	Kernel: 5.4
	Compiler: gcc gcc (Debian 12.2.0-14+deb12u1) 12.2.0

Fedora Linux 41
	Kernel: 5.4
	Compiler: gcc gcc (GCC) 14.3.1 20250523 (Red Hat 14.3.1-1)

Ubuntu 22.04
	Kernel: 5.4
	Compiler: gcc gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

Ubuntu 24.04
	Kernel: 5.4
	Compiler: gcc gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0

CentOS Stream 9
	Kernel: 5.4
	Compiler: gcc gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-7)

CentOS Stream 10
	Kernel: 5.4
	Compiler: gcc gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-8)

To view detailed results, visit:
https://lab.dpdk.org/results/dashboard/patchsets/33589/

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