|FAILURE| pw167087 [RFC PATCH v2] NEW: pile stack and mempool driver

qemudev at loongson.cn qemudev at loongson.cn
Sat Aug 1 12:10:48 CEST 2026


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

_ninja build failure_

Submitter: Morten Brørup <mb at smartsharesystems.com>
Date: Sat,  1 Aug 2026 10:09:19 +0000
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: c1a46b9d9243e922428e8a5f87fa3c6ac177dc5a

167087 --> 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_stack.a.p/stack_rte_stack.c.o
cc -Ilib/librte_stack.a.p -Ilib -I../lib -Ilib/stack -I../lib/stack -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 -DRTE_LOG_DEF!
 AULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -MD -MQ lib/librte_stack.a.p/stack_rte_stack.c.o -MF lib/librte_stack.a.p/stack_rte_stack.c.o.d -o lib/librte_stack.a.p/stack_rte_stack.c.o -c ../lib/stack/rte_stack.c
In file included from ../lib/eal/common/eal_export.h:8,
from ../lib/stack/rte_stack.c:10:
./lib/eal/include/rte_common.h:961:58: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^~
./lib/stack/rte_stack.h:65:17: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
65 | RTE_SIZEOF_FIELD(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:961:39: error: expression in static assertion is not an integer
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^
./lib/stack/rte_stack.h:64:15: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
64 | static_assert(RTE_SIZEOF_FIELD(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_uuid.h:14,
from ../lib/eal/include/rte_eal.h:21,
from ../lib/eal/include/rte_lcore.h:18,
from ../lib/eal/include/generic/rte_spinlock.h:24,
from ../lib/eal/loongarch/include/rte_spinlock.h:9,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/stack/rte_stack.c:12:
./lib/stack/rte_stack.h:68:17: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
68 | offsetof(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~
./lib/stack/rte_stack.h:67:15: error: expression in static assertion is not an integer
67 | static_assert(offsetof(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~
[324/3224] Generating lib/acl.sym_chk with a custom command (wrapped by meson to capture output)
[325/3224] Compiling C object lib/librte_sched.a.p/sched_rte_approx.c.o
[326/3224] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[327/3224] Compiling C object lib/librte_stack.a.p/stack_rte_stack_std.c.o
FAILED: lib/librte_stack.a.p/stack_rte_stack_std.c.o
cc -Ilib/librte_stack.a.p -Ilib -I../lib -Ilib/stack -I../lib/stack -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 -DRTE_LOG_DEF!
 AULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -MD -MQ lib/librte_stack.a.p/stack_rte_stack_std.c.o -MF lib/librte_stack.a.p/stack_rte_stack_std.c.o.d -o lib/librte_stack.a.p/stack_rte_stack_std.c.o -c ../lib/stack/rte_stack_std.c
In file included from ../lib/log/rte_log.h:22,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/stack/rte_stack.h:21,
from ../lib/stack/rte_stack_std.c:5:
./lib/eal/include/rte_common.h:961:58: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^~
./lib/stack/rte_stack.h:65:17: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
65 | RTE_SIZEOF_FIELD(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:961:39: error: expression in static assertion is not an integer
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^
./lib/stack/rte_stack.h:64:15: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
64 | static_assert(RTE_SIZEOF_FIELD(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/strings.h:23,
from /usr/include/string.h:462,
from ../lib/eal/include/rte_uuid.h:15,
from ../lib/eal/include/rte_eal.h:21,
from ../lib/eal/include/rte_lcore.h:18,
from ../lib/eal/include/generic/rte_spinlock.h:24,
from ../lib/eal/loongarch/include/rte_spinlock.h:9,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/include/rte_memory.h:21,
from ../lib/eal/include/rte_memzone.h:26,
from ../lib/stack/rte_stack.h:23:
./lib/stack/rte_stack.h:68:17: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
68 | offsetof(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~
./lib/stack/rte_stack.h:67:15: error: expression in static assertion is not an integer
67 | static_assert(offsetof(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~
[328/3224] Generating lib/rte_stack_map with a custom command
[329/3224] Generating lib/latencystats.sym_chk with a custom command (wrapped by meson to capture output)
[330/3224] Compiling C object lib/librte_stack.a.p/stack_rte_stack_pile.c.o
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
cc -Ilib/librte_stack.a.p -Ilib -I../lib -Ilib/stack -I../lib/stack -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 -DRTE_LOG_DEF!
 AULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -MD -MQ lib/librte_stack.a.p/stack_rte_stack_pile.c.o -MF lib/librte_stack.a.p/stack_rte_stack_pile.c.o.d -o lib/librte_stack.a.p/stack_rte_stack_pile.c.o -c ../lib/stack/rte_stack_pile.c
In file included from ../lib/log/rte_log.h:22,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/stack/rte_stack.h:21,
from ../lib/stack/rte_stack_pile.c:5:
./lib/eal/include/rte_common.h:961:58: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^~
./lib/stack/rte_stack.h:65:17: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
65 | RTE_SIZEOF_FIELD(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:961:39: error: expression in static assertion is not an integer
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^
./lib/stack/rte_stack.h:64:15: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
64 | static_assert(RTE_SIZEOF_FIELD(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/strings.h:23,
from /usr/include/string.h:462,
from ../lib/eal/include/rte_uuid.h:15,
from ../lib/eal/include/rte_eal.h:21,
from ../lib/eal/include/rte_lcore.h:18,
from ../lib/eal/include/generic/rte_spinlock.h:24,
from ../lib/eal/loongarch/include/rte_spinlock.h:9,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/include/rte_memory.h:21,
from ../lib/eal/include/rte_memzone.h:26,
from ../lib/stack/rte_stack.h:23:
./lib/stack/rte_stack.h:68:17: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
68 | offsetof(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~
./lib/stack/rte_stack.h:67:15: error: expression in static assertion is not an integer
67 | static_assert(offsetof(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~
./lib/stack/rte_stack_pile.c:7:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/stack/rte_stack_pile.c:7:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
./lib/stack/rte_stack_pile.c: In function ‘RTE_EXPORT_INTERNAL_SYMBOL’:
./lib/stack/rte_stack_pile.c:10:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
10 | {
| ^
./lib/stack/rte_stack_pile.c:25:1: error: expected declaration specifiers before ‘RTE_EXPORT_INTERNAL_SYMBOL’
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/stack/rte_stack_pile.c:7:1: warning: old-style function definition [-Wold-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/stack/rte_stack_pile.c:7:1: warning: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Wimplicit-int]
./lib/stack/rte_stack_pile.c:37: error: expected ‘{’ at end of input
./lib/stack/rte_stack_pile.c:7:1: warning: unused parameter ‘rte_stack_pile_init’ [-Wunused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/stack/rte_stack_pile.c:37: warning: control reaches end of non-void function [-Wreturn-type]
[331/3224] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
FAILED: lib/librte_stack.a.p/stack_rte_stack_lf.c.o
cc -Ilib/librte_stack.a.p -Ilib -I../lib -Ilib/stack -I../lib/stack -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 -DRTE_LOG_DEF!
 AULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -MD -MQ lib/librte_stack.a.p/stack_rte_stack_lf.c.o -MF lib/librte_stack.a.p/stack_rte_stack_lf.c.o.d -o lib/librte_stack.a.p/stack_rte_stack_lf.c.o -c ../lib/stack/rte_stack_lf.c
In file included from ../lib/log/rte_log.h:22,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/stack/rte_stack.h:21,
from ../lib/stack/rte_stack_lf.c:5:
./lib/eal/include/rte_common.h:961:58: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^~
./lib/stack/rte_stack.h:65:17: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
65 | RTE_SIZEOF_FIELD(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~~~~~~~~~
./lib/eal/include/rte_common.h:961:39: error: expression in static assertion is not an integer
961 | #define RTE_SIZEOF_FIELD(type, field) (sizeof(((type *)0)->field))
| ^
./lib/stack/rte_stack.h:64:15: note: in expansion of macro ‘RTE_SIZEOF_FIELD’
64 | static_assert(RTE_SIZEOF_FIELD(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/strings.h:23,
from /usr/include/string.h:462,
from ../lib/eal/include/rte_uuid.h:15,
from ../lib/eal/include/rte_eal.h:21,
from ../lib/eal/include/rte_lcore.h:18,
from ../lib/eal/include/generic/rte_spinlock.h:24,
from ../lib/eal/loongarch/include/rte_spinlock.h:9,
from ../lib/eal/include/rte_eal_memconfig.h:11,
from ../lib/eal/include/rte_memory.h:21,
from ../lib/eal/include/rte_memzone.h:26,
from ../lib/stack/rte_stack.h:23:
./lib/stack/rte_stack.h:68:17: error: ‘struct rte_stack_pile_bulk_elem’ has no member named ‘data’
68 | offsetof(struct rte_stack_pile_bulk_elem, data),
| ^~~~~~~~
./lib/stack/rte_stack.h:67:15: error: expression in static assertion is not an integer
67 | static_assert(offsetof(struct rte_stack_lf_elem, data) ==
| ^~~~~~~~
[332/3224] Generating lib/gpudev.sym_chk with a custom command (wrapped by meson to capture output)
[333/3224] Generating symbol file lib/librte_eal.so.27.0.p/librte_eal.so.27.0.symbols
[334/3224] Generating lib/bpf.sym_chk with a custom command (wrapped by meson to capture output)
[335/3224] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[336/3224] Compiling C object lib/librte_pcapng.a.p/pcapng_rte_pcapng.c.o
[337/3224] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[338/3224] Compiling C object lib/librte_mldev.a.p/mldev_rte_mldev.c.o
[339/3224] Compiling C object lib/librte_vhost.a.p/vhost_fd_man.c.o
[340/3224] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[341/3224] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[342/3224] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[343/3224] Compiling C object lib/librte_mldev.a.p/mldev_mldev_utils_scalar.c.o
[344/3224] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[345/3224] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
[346/3224] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_eventdev.c.o
[347/3224] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[348/3224] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[349/3224] Compiling C object lib/librte_cryptodev.a.p/cryptodev_rte_cryptodev.c.o
[350/3224] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[351/3224] Compiling C object lib/librte_ring.a.p/ring_soring.c.o
[352/3224] Compiling C object lib/librte_member.a.p/member_rte_member_sketch.c.o
[353/3224] Compiling C object lib/librte_hash.a.p/hash_rte_cuckoo_hash.c.o
[354/3224] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[355/3224] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o
[356/3224] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_ethdev.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------


More information about the test-report mailing list