compilation|FAILURE| pw(167088) sid(38845) job(PER_PATCH_BUILD19619)[RFC, v3] NEW: pile stack and mempool driver
sys_stv at intel.com
sys_stv at intel.com
Sat Aug 1 12:33:00 CEST 2026
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/167088
_Compilation issues_
Submitter: Morten Brørup <mb at smartsharesystems.com>
Date: 2026-08-01 10:17:12
Reply_mail: <20260801101712.981778-1-mb at smartsharesystems.com>
DPDK git baseline: Repo:dpdk, CommitID: c1a46b9d9243e922428e8a5f87fa3c6ac177dc5a
Meson Build Summary: 23 Builds Done, 0 Successful, 23 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.10-64 | fail | | | | | | |
| FreeBSD15-64 | fail | fail | | fail | fail | | |
| RHEL96-64 | fail | fail | | fail | fail | | |
| SUSE16-64 | fail | fail | | | | | |
| AzureLinux3.0-64 | fail | | | | | | |
| UB2604-32 | fail | | | | | | |
| RHEL10.1-64 | fail | | | | | | |
| UB2604-64 | fail | fail | | | | fail | fail |
| RHEL10-64RT | fail | | | | | | |
| UB2510-64 | fail | | | | | | |
| Fedora43-64 | fail | fail | | | | | |
| OpenEuler2404-64 | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.10-64
Kernel Version: 5.10.134-18.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-24.0.1)
Clang Version: 18.1.8 (Red Hat 18.1.8-1.0.1.module+an8.9.0+11287+9d0292d3)
x86_64-native-linuxapp-gcc
OS: FreeBSD15-64
Kernel Version: 15.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 14.2.0
Clang Version: 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL96-64
Kernel Version: 5.14.0-570.12.1.el9_6.x86_64
GCC Version: gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE16-64
Kernel Version: 6.12.0-160000.26-default
GCC Version: gcc (SUSE Linux) 15.2.0
Clang Version: 19.1.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: AzureLinux3.0-64
Kernel Version: 6.6.47.1-1.azl3
GCC Version: gcc (GCC) 13.2.0
Clang Version: 18.1.2
x86_64-native-linuxapp-gcc
OS: UB2604-32
Kernel Version: 7.0.0-14-generic
GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Clang Version: 21.1.8 (6ubuntu1)
i686-native-linuxapp-gcc
OS: RHEL10.1-64
Kernel Version: 6.12.0-124.8.1.el10_1.x86_64
GCC Version: gcc (GCC) 14.3.1 20250617 (Red Hat 14.3.1-2)
Clang Version: 20.1.8 (Red Hat, Inc. 20.1.8-1.el10)
x86_64-native-linuxapp-gcc
OS: UB2604-64
Kernel Version: 7.0.0-14-generic
GCC Version: gcc (Ubuntu 15.2.0-16ubuntu1) 15.2.0
Clang Version: 21.1.8 (6ubuntu1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL10-64RT
Kernel Version: 6.12.0-55.9.1.el10_0.x86_64+rt
GCC Version: gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang Version: 19.1.7 (Red Hat, Inc. 19.1.7-2.el10)
x86_64-native-linuxapp-gcc
OS: UB2510-64
Kernel Version: 6.17.0-5-generic
GCC Version: gcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: Fedora43-64
Kernel Version: 6.17.1-300.fc43.x86_64
GCC Version: gcc (GCC) 15.2.1 20250924 (Red Hat 15.2.1-2)
Clang Version: 21.1.8 (Fedora 21.1.8-4.fc43)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: OpenEuler2404-64
Kernel Version: 6.6.0-132.0.0.111.oe2403sp3.x86_64
GCC Version: gcc (GCC) 12.3.1 (openEuler 12.3.1-105.oe2403sp3)
Clang Version: 17.0.6 ( 17.0.6-63.oe2403sp3)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.10-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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
{
^
../lib/stack/rte_stack_pile.c:25:1: error: expected declaration specifiers before ‘RTE_EXPORT_INTERNAL_SYMBOL’
RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: old-style function definition [-Werror=old-style-definition]
RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Werror=implicit-int]
../lib/stack/rte_stack_pile.c:36: error: expected ‘{’ at end of input
}
../lib/stack/rte_stack_pile.c:7:1: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:36:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
[460/3760] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[461/3760] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[462/3760] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[463/3760] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[464/3760] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[465/3760] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[466/3760] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[467/3760] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[468/3760] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to 'int' [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn't a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter 'rte_stack_pile_init' [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[427/2287] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[428/2287] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[429/2287] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[430/2287] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[431/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[432/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[433/2287] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[434/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[435/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
clang -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/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -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-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -DRTE_ANNOTATE_LOCKS -Wthread-safety -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
../lib/stack/rte_stack_pile.c:9:61: error: expected ';' at end of declaration
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:7:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| int
../lib/stack/rte_stack_pile.c:11:23: error: use of undeclared identifier 'count'; did you mean 'const'?
11 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
| const
../lib/stack/rte_stack_pile.c:11:23: error: expected expression
../lib/stack/rte_stack_pile.c:13:41: error: use of undeclared identifier 's'
13 | (struct rte_stack_pile_bulk_elem *)(&s->stack_pile + 1);
| ^
../lib/stack/rte_stack_pile.c:18:37: error: use of undeclared identifier 's'
18 | __rte_stack_pile_bulk_push_elems(&s->stack_pile.free_bulk,
| ^
../lib/stack/rte_stack_pile.c:20:18: error: use of undeclared identifier 'count'
20 | for (i = 0; i < count; i++)
| ^
../lib/stack/rte_stack_pile.c:21:30: error: use of undeclared identifier 's'
21 | __rte_stack_lf_push_elems(&s->stack_pile.free_solo,
| ^
../lib/stack/rte_stack_pile.c:9:1: error: unused parameter 'rte_stack_pile_init' [-Werror,-Wunused-parameter]
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
../lib/stack/rte_stack_pile.c:7:1: error: no previous prototype for function 'RTE_EXPORT_INTERNAL_SYMBOL' [-Werror,-Wmissing-prototypes]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:7:27: note: declare 'static' if the function is not intended to be used outside of this translation unit
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| static
../lib/stack/rte_stack_pile.c:7:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:27:47: error: expected ';' at end of declaration
27 | rte_stack_pile_get_memsize(unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:25:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
| int
../lib/stack/rte_stack_pile.c:25:1: error: conflicting types for 'RTE_EXPORT_INTERNAL_SYMBOL'
../lib/stack/rte_stack_pile.c:7:1: note: previous definition is here
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:29:23: error: use of undeclared identifier 'count'; did you mean 'const'?
29 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
| const
../lib/stack/rte_stack_pile.c:29:23: error: expected expression
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'; did you mean 'const'?
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
| const
../lib/eal/include/rte_common.h:767:53: note: expanded from macro 'RTE_CACHE_LINE_ROUNDUP'
767 | #define RTE_CACHE_LINE_ROUNDUP(size) RTE_ALIGN_CEIL(size, RTE_CACHE_LINE_SIZE)
| ^
../lib/eal/include/rte_common.h:681:20: note: expanded from macro 'RTE_ALIGN_CEIL'
681 | RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
| ^
../lib/eal/include/rte_common.h:663:10: note: expanded from macro 'RTE_ALIGN_FLOOR'
663 | (typeof(val))((val) & (~((typeof(val))((align) - 1))))
| ^
../lib/stack/rte_stack_pile.c:32:31: error: expected expression
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'; did you mean 'const'?
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
| const
../lib/eal/include/rte_common.h:767:53: note: expanded from macro 'RTE_CACHE_LINE_ROUNDUP'
767 | #define RTE_CACHE_LINE_ROUNDUP(size) RTE_ALIGN_CEIL(size, RTE_CACHE_LINE_SIZE)
| ^
../lib/eal/include/rte_common.h:681:36: note: expanded from macro 'RTE_ALIGN_CEIL'
681 | RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
| ^
../lib/eal/include/rte_common.h:663:10: note: expanded from macro 'RTE_ALIGN_FLOOR'
663 | (typeof(val))((val) & (~((typeof(val))((align) - 1))))
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[434/2308] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[435/2308] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[436/2308] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[437/2308] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[438/2308] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[439/2308] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[440/2308] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[441/2308] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[442/2308] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to 'int' [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn't a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter 'rte_stack_pile_init' [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[447/2165] Linking target lib/librte_security.so.27.0
[448/2165] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[449/2165] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[450/2165] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[451/2165] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_telemetry.c.o
[452/2165] Compiling C object lib/librte_pdcp.a.p/pdcp_pdcp_cnt.c.o
[453/2165] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o
[454/2165] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[455/2165] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
ninja: build stopped
*Build Failed #5:
OS: FreeBSD15-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -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 -Werror -std=c11 -O2 -g -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to 'int' [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn't a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter 'rte_stack_pile_init' [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[424/2287] Generating lib/rib.sym_chk with a custom command (wrapped by meson to capture output)
[425/2287] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[426/2287] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[427/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[428/2287] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[429/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[430/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_ipsec_sad.c.o
[431/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[432/2287] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Werror=implicit-int]
../lib/stack/rte_stack_pile.c:37: error: expected ‘{’ at end of input
../lib/stack/rte_stack_pile.c:7:1: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[458/3701] Generating lib/reorder.sym_chk with a custom command (wrapped by meson to capture output)
[459/3701] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[460/3701] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[461/3701] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[462/3701] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[463/3701] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[464/3701] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[465/3701] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[466/3701] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL96-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
clang -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/x86/include -I../lib/eal/x86/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 -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -DRTE_ANNOTATE_LOCKS -Wthread-safety -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
../lib/stack/rte_stack_pile.c:9:61: error: expected ';' at end of declaration
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:7:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| int
../lib/stack/rte_stack_pile.c:11:23: error: use of undeclared identifier 'count'; did you mean 'const'?
11 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
| const
../lib/stack/rte_stack_pile.c:11:23: error: expected expression
../lib/stack/rte_stack_pile.c:13:41: error: use of undeclared identifier 's'
13 | (struct rte_stack_pile_bulk_elem *)(&s->stack_pile + 1);
| ^
../lib/stack/rte_stack_pile.c:18:37: error: use of undeclared identifier 's'
18 | __rte_stack_pile_bulk_push_elems(&s->stack_pile.free_bulk,
| ^
../lib/stack/rte_stack_pile.c:20:18: error: use of undeclared identifier 'count'
20 | for (i = 0; i < count; i++)
| ^
../lib/stack/rte_stack_pile.c:21:30: error: use of undeclared identifier 's'
21 | __rte_stack_lf_push_elems(&s->stack_pile.free_solo,
| ^
../lib/stack/rte_stack_pile.c:9:1: error: unused parameter 'rte_stack_pile_init' [-Werror,-Wunused-parameter]
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
../lib/stack/rte_stack_pile.c:7:1: error: no previous prototype for function 'RTE_EXPORT_INTERNAL_SYMBOL' [-Werror,-Wmissing-prototypes]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:7:27: note: declare 'static' if the function is not intended to be used outside of this translation unit
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| static
../lib/stack/rte_stack_pile.c:7:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:27:47: error: expected ';' at end of declaration
27 | rte_stack_pile_get_memsize(unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:25:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
| int
../lib/stack/rte_stack_pile.c:25:1: error: conflicting types for 'RTE_EXPORT_INTERNAL_SYMBOL'
../lib/stack/rte_stack_pile.c:7:1: note: previous definition is here
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:29:23: error: use of undeclared identifier 'count'; did you mean 'const'?
29 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
| const
../lib/stack/rte_stack_pile.c:29:23: error: expected expression
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'; did you mean 'const'?
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
| const
../lib/eal/include/rte_common.h:767:53: note: expanded from macro 'RTE_CACHE_LINE_ROUNDUP'
767 | #define RTE_CACHE_LINE_ROUNDUP(size) RTE_ALIGN_CEIL(size, RTE_CACHE_LINE_SIZE)
| ^
../lib/eal/include/rte_common.h:681:20: note: expanded from macro 'RTE_ALIGN_CEIL'
681 | RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
| ^
../lib/eal/include/rte_common.h:663:10: note: expanded from macro 'RTE_ALIGN_FLOOR'
663 | (typeof(val))((val) & (~((typeof(val))((align) - 1))))
| ^
../lib/stack/rte_stack_pile.c:32:31: error: expected expression
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'; did you mean 'const'?
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
| const
../lib/eal/include/rte_common.h:767:53: note: expanded from macro 'RTE_CACHE_LINE_ROUNDUP'
767 | #define RTE_CACHE_LINE_ROUNDUP(size) RTE_ALIGN_CEIL(size, RTE_CACHE_LINE_SIZE)
| ^
../lib/eal/include/rte_common.h:681:36: note: expanded from macro 'RTE_ALIGN_CEIL'
681 | RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
| ^
../lib/eal/include/rte_common.h:663:10: note: expanded from macro 'RTE_ALIGN_FLOOR'
663 | (typeof(val))((val) & (~((typeof(val))((align) - 1))))
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[480/3660] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[481/3660] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net_ctrl.c.o
[482/3660] Compiling C object lib/librte_ipsec.a.p/ipsec_ses.c.o
[483/3660] Compiling C object lib/librte_ipsec.a.p/ipsec_sa.c.o
[484/3660] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[485/3660] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_outb.c.o
[486/3660] Compiling C object lib/librte_ipsec.a.p/ipsec_esp_inb.c.o
[487/3660] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[488/3660] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Werror=implicit-int]
../lib/stack/rte_stack_pile.c:37: error: expected ‘{’ at end of input
../lib/stack/rte_stack_pile.c:7:1: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[470/3540] Compiling C object lib/librte_vhost.a.p/vhost_fd_man.c.o
[471/3540] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[472/3540] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[473/3540] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[474/3540] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[475/3540] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[476/3540] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[477/3540] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[478/3540] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
ninja: build stopped
*Build Failed #9:
OS: RHEL96-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -Werror -std=c11 -O2 -g -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Werror=implicit-int]
../lib/stack/rte_stack_pile.c:37: error: expected ‘{’ at end of input
../lib/stack/rte_stack_pile.c:7:1: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[459/3701] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[460/3701] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[461/3701] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[462/3701] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[463/3701] Linking static target lib/librte_security.a
[464/3701] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[465/3701] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[466/3701] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[467/3701] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
ninja: build stopped
*Build Failed #10:
OS: SUSE16-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
clang -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/x86/include -I../lib/eal/x86/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 -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -DRTE_ANNOTATE_LOCKS -Wthread-safety -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
../lib/stack/rte_stack_pile.c:9:61: error: expected ';' at end of declaration
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:7:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| int
../lib/stack/rte_stack_pile.c:11:23: error: use of undeclared identifier 'count'; did you mean 'const'?
11 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
| const
../lib/stack/rte_stack_pile.c:11:23: error: expected expression
../lib/stack/rte_stack_pile.c:13:41: error: use of undeclared identifier 's'
13 | (struct rte_stack_pile_bulk_elem *)(&s->stack_pile + 1);
| ^
../lib/stack/rte_stack_pile.c:18:37: error: use of undeclared identifier 's'
18 | __rte_stack_pile_bulk_push_elems(&s->stack_pile.free_bulk,
| ^
../lib/stack/rte_stack_pile.c:20:18: error: use of undeclared identifier 'count'
20 | for (i = 0; i < count; i++)
| ^
../lib/stack/rte_stack_pile.c:21:30: error: use of undeclared identifier 's'
21 | __rte_stack_lf_push_elems(&s->stack_pile.free_solo,
| ^
../lib/stack/rte_stack_pile.c:9:1: error: unused parameter 'rte_stack_pile_init' [-Werror,-Wunused-parameter]
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
../lib/stack/rte_stack_pile.c:7:1: error: no previous prototype for function 'RTE_EXPORT_INTERNAL_SYMBOL' [-Werror,-Wmissing-prototypes]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:7:27: note: declare 'static' if the function is not intended to be used outside of this translation unit
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| static
../lib/stack/rte_stack_pile.c:7:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:27:47: error: expected ';' at end of declaration
27 | rte_stack_pile_get_memsize(unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:25:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
| int
../lib/stack/rte_stack_pile.c:25:1: error: conflicting types for 'RTE_EXPORT_INTERNAL_SYMBOL'
../lib/stack/rte_stack_pile.c:7:1: note: previous definition is here
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:29:23: error: use of undeclared identifier 'count'; did you mean 'const'?
29 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
| const
../lib/stack/rte_stack_pile.c:29:23: error: expected expression
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'; did you mean 'const'?
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
| const
../lib/eal/include/rte_common.h:767:53: note: expanded from macro 'RTE_CACHE_LINE_ROUNDUP'
767 | #define RTE_CACHE_LINE_ROUNDUP(size) RTE_ALIGN_CEIL(size, RTE_CACHE_LINE_SIZE)
| ^
../lib/eal/include/rte_common.h:681:20: note: expanded from macro 'RTE_ALIGN_CEIL'
681 | RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
| ^
../lib/eal/include/rte_common.h:663:10: note: expanded from macro 'RTE_ALIGN_FLOOR'
663 | (typeof(val))((val) & (~((typeof(val))((align) - 1))))
| ^
../lib/stack/rte_stack_pile.c:32:31: error: expected expression
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'; did you mean 'const'?
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
| const
../lib/eal/include/rte_common.h:767:53: note: expanded from macro 'RTE_CACHE_LINE_ROUNDUP'
767 | #define RTE_CACHE_LINE_ROUNDUP(size) RTE_ALIGN_CEIL(size, RTE_CACHE_LINE_SIZE)
| ^
../lib/eal/include/rte_common.h:681:36: note: expanded from macro 'RTE_ALIGN_CEIL'
681 | RTE_ALIGN_FLOOR(((val) + ((typeof(val)) (align) - 1)), align)
| ^
../lib/eal/include/rte_common.h:663:10: note: expanded from macro 'RTE_ALIGN_FLOOR'
663 | (typeof(val))((val) & (~((typeof(val))((align) - 1))))
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[468/3683] Linking target lib/librte_security.so.27.0
[469/3683] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[470/3683] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[471/3683] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[472/3683] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[473/3683] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[474/3683] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[475/3683] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[476/3683] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
*Build Failed #11:
OS: SUSE16-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[468/3683] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[469/3683] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[470/3683] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[471/3683] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[472/3683] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[473/3683] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[474/3683] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[475/3683] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[476/3683] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
*Build Failed #12:
OS: AzureLinux3.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Werror=implicit-int]
../lib/stack/rte_stack_pile.c:37: error: expected ‘{’ at end of input
../lib/stack/rte_stack_pile.c:7:1: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[467/3766] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[468/3766] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[469/3766] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[470/3766] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[471/3766] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[472/3766] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[473/3766] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[474/3766] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[475/3766] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2604-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[440/2796] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[441/2796] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[442/2796] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[443/2796] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[444/2796] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[445/2796] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[446/2796] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[447/2796] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[448/2796] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
ninja: build stopped
*Build Failed #14:
OS: RHEL10.1-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[460/3701] Compiling C object lib/librte_stack.a.p/stack_rte_stack.c.o
[461/3701] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[462/3701] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[463/3701] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[464/3701] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[465/3701] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[466/3701] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3701] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[468/3701] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
ninja: build stopped
*Build Failed #15:
OS: UB2604-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[466/3942] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[467/3942] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[468/3942] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[469/3942] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[470/3942] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[471/3942] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[472/3942] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[473/3942] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[474/3942] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2604-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[464/3942] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[465/3942] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[466/3942] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3942] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[468/3942] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[469/3942] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[470/3942] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[471/3942] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[472/3942] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2604-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
clang -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/x86/include -I../lib/eal/x86/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 -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -DRTE_ANNOTATE_LOCKS -Wthread-safety -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
../lib/stack/rte_stack_pile.c:9:61: error: expected ';' at end of declaration
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:7:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| int
../lib/stack/rte_stack_pile.c:11:23: error: use of undeclared identifier 'count'
11 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
../lib/stack/rte_stack_pile.c:13:41: error: use of undeclared identifier 's'
13 | (struct rte_stack_pile_bulk_elem *)(&s->stack_pile + 1);
| ^
../lib/stack/rte_stack_pile.c:18:37: error: use of undeclared identifier 's'
18 | __rte_stack_pile_bulk_push_elems(&s->stack_pile.free_bulk,
| ^
../lib/stack/rte_stack_pile.c:20:18: error: use of undeclared identifier 'count'
20 | for (i = 0; i < count; i++)
| ^~~~~
../lib/stack/rte_stack_pile.c:21:30: error: use of undeclared identifier 's'
21 | __rte_stack_lf_push_elems(&s->stack_pile.free_solo,
| ^
../lib/stack/rte_stack_pile.c:9:1: error: unused parameter 'rte_stack_pile_init' [-Werror,-Wunused-parameter]
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
../lib/stack/rte_stack_pile.c:7:1: error: no previous prototype for function 'RTE_EXPORT_INTERNAL_SYMBOL' [-Werror,-Wmissing-prototypes]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:7:27: note: declare 'static' if the function is not intended to be used outside of this translation unit
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| static
../lib/stack/rte_stack_pile.c:7:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:27:47: error: expected ';' at end of declaration
27 | rte_stack_pile_get_memsize(unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:25:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
| int
../lib/stack/rte_stack_pile.c:25:1: error: conflicting types for 'RTE_EXPORT_INTERNAL_SYMBOL'
../lib/stack/rte_stack_pile.c:7:1: note: previous definition is here
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:29:23: error: use of undeclared identifier 'count'
29 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
../lib/stack/rte_stack_pile.c:25:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
17 errors generated.
[462/3943] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[463/3943] Linking target lib/librte_mldev.so.27.0
[464/3943] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[465/3943] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[466/3943] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3943] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[468/3943] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[469/3943] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[470/3943] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
ninja: build stopped
*Build Failed #18:
OS: UB2604-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[463/3751] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[464/3751] Generating symbol file lib/librte_mldev.so.27.0.p/librte_mldev.so.27.0.symbols
[465/3751] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[466/3751] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3751] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[468/3751] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[469/3751] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[470/3751] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[471/3751] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
ninja: build stopped
*Build Failed #19:
OS: RHEL10-64RT
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[461/3701] Compiling C object lib/librte_stack.a.p/stack_rte_stack_lf.c.o
[462/3701] Compiling C object lib/librte_stack.a.p/stack_rte_stack.c.o
[463/3701] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[464/3701] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[465/3701] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[466/3701] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3701] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[468/3701] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[469/3701] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
ninja: build stopped
*Build Failed #20:
OS: UB2510-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[465/3938] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[466/3938] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3938] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[468/3938] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[469/3938] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[470/3938] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[471/3938] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[472/3938] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[473/3938] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped
*Build Failed #21:
OS: Fedora43-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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 -fzero-init-padding-bits=all -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: 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: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[463/3682] Linking target lib/librte_reorder.so.27.0
[464/3682] Compiling C object lib/librte_security.a.p/security_rte_security.c.o
[465/3682] Generating symbol file lib/librte_rib.so.27.0.p/librte_rib.so.27.0.symbols
[466/3682] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[467/3682] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[468/3682] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[469/3682] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[470/3682] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[471/3682] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
ninja: build stopped
*Build Failed #22:
OS: Fedora43-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
clang -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/x86/include -I../lib/eal/x86/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 -Werror -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wcomma -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.stack -DRTE_COMPONENT_CLASS=lib -DRTE_COMPONENT_NAME=stack -DRTE_ANNOTATE_LOCKS -Wthread-safety -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
../lib/stack/rte_stack_pile.c:9:61: error: expected ';' at end of declaration
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:7:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| int
../lib/stack/rte_stack_pile.c:11:23: error: use of undeclared identifier 'count'
11 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
../lib/stack/rte_stack_pile.c:13:41: error: use of undeclared identifier 's'
13 | (struct rte_stack_pile_bulk_elem *)(&s->stack_pile + 1);
| ^
../lib/stack/rte_stack_pile.c:18:37: error: use of undeclared identifier 's'
18 | __rte_stack_pile_bulk_push_elems(&s->stack_pile.free_bulk,
| ^
../lib/stack/rte_stack_pile.c:20:18: error: use of undeclared identifier 'count'
20 | for (i = 0; i < count; i++)
| ^~~~~
../lib/stack/rte_stack_pile.c:21:30: error: use of undeclared identifier 's'
21 | __rte_stack_lf_push_elems(&s->stack_pile.free_solo,
| ^
../lib/stack/rte_stack_pile.c:9:1: error: unused parameter 'rte_stack_pile_init' [-Werror,-Wunused-parameter]
9 | rte_stack_pile_init(struct rte_stack *s, unsigned int count)
| ^
../lib/stack/rte_stack_pile.c:7:1: error: no previous prototype for function 'RTE_EXPORT_INTERNAL_SYMBOL' [-Werror,-Wmissing-prototypes]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:7:27: note: declare 'static' if the function is not intended to be used outside of this translation unit
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
| static
../lib/stack/rte_stack_pile.c:7:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:27:47: error: expected ';' at end of declaration
27 | rte_stack_pile_get_memsize(unsigned int count)
| ^
| ;
../lib/stack/rte_stack_pile.c:25:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
| int
../lib/stack/rte_stack_pile.c:25:1: error: conflicting types for 'RTE_EXPORT_INTERNAL_SYMBOL'
../lib/stack/rte_stack_pile.c:7:1: note: previous definition is here
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^
../lib/stack/rte_stack_pile.c:29:23: error: use of undeclared identifier 'count'
29 | unsigned int bulk = (count + RTE_STACK_PILE_BULK_SIZE - 1) / RTE_STACK_PILE_BULK_SIZE;
| ^~~~~
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
../lib/stack/rte_stack_pile.c:32:31: error: use of undeclared identifier 'count'
32 | sz += RTE_CACHE_LINE_ROUNDUP(count * sizeof(struct rte_stack_lf_elem));
| ^~~~~
../lib/stack/rte_stack_pile.c:25:1: error: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
25 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_get_memsize)
| ^
17 errors generated.
[463/3682] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[464/3682] Generating symbol file lib/librte_reorder.so.27.0.p/librte_reorder.so.27.0.symbols
[465/3682] Generating lib/mldev.sym_chk with a custom command (wrapped by meson to capture output)
[466/3682] Generating lib/security.sym_chk with a custom command (wrapped by meson to capture output)
[467/3682] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[468/3682] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[469/3682] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[470/3682] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[471/3682] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
ninja: build stopped
*Build Failed #23:
OS: OpenEuler2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_stack.a.p/stack_rte_stack_pile.c.o
gcc -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/x86/include -I../lib/eal/x86/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 -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=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_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
../lib/stack/rte_stack_pile.c:7:1: error: return type defaults to ‘int’ [-Werror=implicit-int]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: function declaration isn’t a prototype [-Werror=strict-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: error: old-style function definition [-Werror=old-style-definition]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:7:1: error: type of ‘rte_stack_pile_init’ defaults to ‘int’ [-Werror=implicit-int]
../lib/stack/rte_stack_pile.c:37: error: expected ‘{’ at end of input
../lib/stack/rte_stack_pile.c:7:1: error: unused parameter ‘rte_stack_pile_init’ [-Werror=unused-parameter]
7 | RTE_EXPORT_INTERNAL_SYMBOL(rte_stack_pile_init)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/stack/rte_stack_pile.c:37: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
[470/3701] Compiling C object lib/librte_vhost.a.p/vhost_iotlb.c.o
[471/3701] Compiling C object lib/librte_vhost.a.p/vhost_vdpa.c.o
[472/3701] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
[473/3701] Compiling C object lib/librte_vhost.a.p/vhost_socket.c.o
[474/3701] Compiling C object lib/librte_vhost.a.p/vhost_vduse.c.o
[475/3701] Compiling C object lib/librte_vhost.a.p/vhost_vhost.c.o
[476/3701] Compiling C object lib/librte_vhost.a.p/vhost_vhost_user.c.o
[477/3701] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
[478/3701] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
ninja: build stopped
DPDK STV team
More information about the test-report
mailing list