|FAILURE| pw169429 [RFC] eal: allow setting random number generator seed

qemudev at loongson.cn qemudev at loongson.cn
Sat Sep 12 01:15:33 CEST 2026


Test-Label: loongson-compile-loongarch-abi2
Test-Status: FAILURE
http://dpdk.org/patch/169429

_ninja build failure_

Submitter: Stephen Hemminger <stephen at networkplumber.org>
Date: Fri, 11 Sep 2026 15:58:45 -0700
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: d55ccd4e6de64e3f797f60de9e81f1d60f849775

169429 --> ninja build failed

Test environment and result as below:

+---------------------+----------------+
|     Environment     | compilation    |
+---------------------+----------------+
| Loongnix-Server 23.2 | FAIL           |
+---------------------+----------------+

Loongnix-Server 23.2
    Kernel: 6.6.52-1.10.lns23.loongarch64
    Compiler: gcc 12.3


Ninja build logs:
-------------------------------BEGIN LOGS----------------------------
FAILED: lib/librte_eal.a.p/eal_common_rte_random.c.o
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/loongarch/include -I../lib/eal/loongarch/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 -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=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="27.0"' -DRTE_EAL_PTHREAD_A!
 TTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_random.c.o -MF lib/librte_eal.a.p/eal_common_rte_random.c.o.d -o lib/librte_eal.a.p/eal_common_rte_random.c.o -c ../lib/eal/common/rte_random.c
./lib/eal/common/rte_random.c: In function ‘eal_rand_init’:
./lib/eal/common/rte_random.c:250:27: warning: implicit declaration of function ‘getenv’ [-Wimplicit-function-declaration]
250 | const char *env = getenv("DPDK_RANDOM_SEED");
| ^~~~~~
./lib/eal/common/rte_random.c:21:1: note: ‘getenv’ is defined in header ‘<stdlib.h>’; did you forget to ‘#include <stdlib.h>’?
20 | #include "eal_private.h"
+++ |+#include <stdlib.h>
21 |
./lib/eal/common/rte_random.c:250:27: warning: nested extern declaration of ‘getenv’ [-Wnested-externs]
250 | const char *env = getenv("DPDK_RANDOM_SEED");
| ^~~~~~
./lib/eal/common/rte_random.c:250:27: warning: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
./lib/eal/common/rte_random.c:255:24: warning: implicit declaration of function ‘strtoull’; did you mean ‘strcoll’? [-Wimplicit-function-declaration]
255 | seed = strtoull(env, &end, 0);
| ^~~~~~~~
| strcoll
./lib/eal/common/rte_random.c:255:24: warning: nested extern declaration of ‘strtoull’ [-Wnested-externs]
./lib/eal/common/rte_random.c:257:34: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
257 | rte_exit(EXIT_FAILURE,
| ^~~~~~~~~~~~
./lib/eal/common/rte_random.c:257:34: note: ‘EXIT_FAILURE’ is defined in header ‘<stdlib.h>’; did you forget to ‘#include <stdlib.h>’?
./lib/eal/common/rte_random.c:257:34: note: each undeclared identifier is reported only once for each function it appears in
[31/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[32/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hypervisor.c.o
[33/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
[34/3223] Compiling C object lib/librte_log.a.p/log_log.c.o
[35/3223] Compiling C object lib/librte_pmu.a.p/pmu_pmu.c.o
[36/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
[37/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[38/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
[39/3223] Compiling C object lib/librte_eal.a.p/eal_unix_eal_debug.c.o
[40/3223] Compiling C object lib/librte_eal.a.p/eal_common_rte_keepalive.c.o
[41/3223] Compiling C object lib/librte_eal.a.p/eal_unix_eal_file.c.o
[42/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[43/3223] Compiling C object lib/librte_eal.a.p/eal_unix_eal_filesystem.c.o
[44/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
[45/3223] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[46/3223] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[47/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_ctf.c.o
[48/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dynmem.c.o
[49/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
[50/3223] Compiling C object lib/librte_eal.a.p/eal_common_hotplug_mp.c.o
[51/3223] Compiling C object lib/librte_argparse.a.p/argparse_rte_argparse.c.o
[52/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[53/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_utils.c.o
[54/3223] Compiling C object lib/librte_eal.a.p/eal_common_malloc_mp.c.o
[55/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace.c.o
[56/3223] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[57/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[58/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[59/3223] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[60/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o
[61/3223] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
[62/3223] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
[63/3223] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------


More information about the test-report mailing list