* compilation|FAILURE| pw(143404) sid(32851) job(PER_PATCH_BUILD12978)[RFC, 2/2] eal/lcore: add llc aware for each macro
@ 2024-08-27 15:25 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2024-08-27 15:25 UTC (permalink / raw)
To: test-report, vipin.varghese
[-- Attachment #1: Type: text/plain, Size: 124741 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/143404
_Compilation issues_
Submitter: Vipin Varghese <vipin.varghese@amd.com>
Date: 2024-08-27 15:10:14
Reply_mail: <20240827151014.201-3-vipin.varghese@amd.com>
DPDK git baseline: Repo:dpdk, CommitID: cb9187bc5c2b4bab0ad80194ac3b60491de14e8c
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.8-64 | fail | | | | | | |
| FreeBSD14-64 | fail | fail | | fail | fail | | |
| RHEL94-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | fail | fail | | | | | |
| CBL-Mariner2.0-64 | fail | | | | | | |
| UB2404-32 | fail | | | | | | |
| RHEL93-64 | fail | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL94-64Rt | fail | | | | | | |
| UB2204-64 | fail | | | | | | |
| FC40-64 | fail | fail | | | | | |
| UB2404-64Rt | 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.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD14-64
Kernel Version: 14.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2404-32
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL93-64
Kernel Version: 5.14.0-362.8.1.el9_3.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-94-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.8-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -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 -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:33: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
*first_cpu = strtoul (llc[0], end, 10);
^~~
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:25: note: expected ‘char ** restrict’ but argument is of type ‘char *’
char **__restrict __endptr, int __base)
~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:49: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:25: note: expected ‘char ** restrict’ but argument is of type ‘char *’
char **__restrict __endptr, int __base)
~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:77: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:25: note: expected ‘char ** restrict’ but argument is of type ‘char *’
char **__restrict __endptr, int __base)
~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
unsigned int last_lcore_cpu = RTE_MAX_LCORE;
^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
unsigned int first_lcore_cpu = RTE_MAX_LCORE;
^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
bool found_last_cpu = false;
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[30/2985] Generating lib/argparse.sym_chk with a custom command (wrapped by meson to capture output)
[31/2985] Linking target lib/librte_log.so.25.0
[32/2985] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[33/2985] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[34/2985] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[35/2985] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[36/2985] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[37/2985] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[38/2985] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #2:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function 'rte_get_llc_lcore':
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c: In function 'rte_get_llc_n_lcore':
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable 'last_lcore_cpu' [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable 'first_lcore_cpu' [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable 'found_last_cpu' [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[29/1953] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[30/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[31/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[32/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[33/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[34/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[35/1953] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[36/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[37/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="25.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c:145:20: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
char *llc[2] = {'\0'};
^~~~
../lib/eal/common/eal_common_lcore.c:213:19: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
char *llc[2] = {'\0'};
^~~~
../lib/eal/common/eal_common_lcore.c:218:33: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
*first_cpu = strtoul (llc[0], end, 10);
^~~
&
/usr/include/stdlib.h:120:54: note: passing argument to parameter here
strtoul(const char * __restrict, char ** __restrict, int);
^
../lib/eal/common/eal_common_lcore.c:219:49: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
&
/usr/include/stdlib.h:120:54: note: passing argument to parameter here
strtoul(const char * __restrict, char ** __restrict, int);
^
../lib/eal/common/eal_common_lcore.c:219:77: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
&
/usr/include/stdlib.h:120:54: note: passing argument to parameter here
strtoul(const char * __restrict, char ** __restrict, int);
^
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable 'found_last_cpu' [-Werror,-Wunused-variable]
bool found_last_cpu = false;
^
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable 'first_lcore_cpu' [-Werror,-Wunused-variable]
unsigned int first_lcore_cpu = RTE_MAX_LCORE;
^
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable 'last_lcore_cpu' [-Werror,-Wunused-variable]
unsigned int last_lcore_cpu = RTE_MAX_LCORE;
^
8 errors generated.
[26/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[27/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[28/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[29/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[30/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[31/1970] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[32/1970] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[33/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[34/1970] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function 'rte_get_llc_lcore':
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c: In function 'rte_get_llc_n_lcore':
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable 'last_lcore_cpu' [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable 'first_lcore_cpu' [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable 'found_last_cpu' [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[29/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[30/1850] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[31/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[32/1850] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[33/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[34/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[35/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[36/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[37/1850] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #5:
OS: FreeBSD14-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function 'rte_get_llc_lcore':
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of 'strtoul' from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:120:43: note: expected 'char ** restrict' but argument is of type 'char *'
120 | strtoul(const char * __restrict, char ** __restrict, int);
| ^
../lib/eal/common/eal_common_lcore.c: In function 'rte_get_llc_n_lcore':
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable 'last_lcore_cpu' [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable 'first_lcore_cpu' [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable 'found_last_cpu' [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[27/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[28/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[29/1953] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[30/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[31/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[32/1953] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[33/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[34/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[35/1953] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[33/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[34/3039] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[35/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[36/3039] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[37/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[38/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[39/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[40/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[41/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL94-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c:145:20: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
145 | char *llc[2] = {'\0'};
| ^~~~
../lib/eal/common/eal_common_lcore.c:213:19: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
213 | char *llc[2] = {'\0'};
| ^~~~
../lib/eal/common/eal_common_lcore.c:218:33: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| &
/usr/include/stdlib.h:181:25: note: passing argument to parameter '__endptr' here
181 | char **__restrict __endptr, int __base)
| ^
../lib/eal/common/eal_common_lcore.c:219:49: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| &
/usr/include/stdlib.h:181:25: note: passing argument to parameter '__endptr' here
181 | char **__restrict __endptr, int __base)
| ^
../lib/eal/common/eal_common_lcore.c:219:77: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| &
/usr/include/stdlib.h:181:25: note: passing argument to parameter '__endptr' here
181 | char **__restrict __endptr, int __base)
| ^
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable 'found_last_cpu' [-Werror,-Wunused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable 'first_lcore_cpu' [-Werror,-Wunused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable 'last_lcore_cpu' [-Werror,-Wunused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
8 errors generated.
[29/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
[30/3000] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[31/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[32/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
[33/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
[34/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[35/3000] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[36/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[37/3000] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
ninja: build stopped
*Build Failed #8:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[35/2889] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[36/2889] Generating symbol file lib/librte_argparse.so.25.0.p/librte_argparse.so.25.0.symbols
[37/2889] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[38/2889] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[39/2889] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[40/2889] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[41/2889] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[42/2889] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[43/2889] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #9:
OS: RHEL94-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[32/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[33/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[34/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[35/3035] Generating symbol file lib/librte_log.so.25.0.p/librte_log.so.25.0.symbols
[36/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[37/3035] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[38/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[39/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[40/3035] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #10:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c:145:20: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
char *llc[2] = {'\0'};
^~~~
../lib/eal/common/eal_common_lcore.c:213:19: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
char *llc[2] = {'\0'};
^~~~
../lib/eal/common/eal_common_lcore.c:218:33: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
*first_cpu = strtoul (llc[0], end, 10);
^~~
&
/usr/include/stdlib.h:181:25: note: passing argument to parameter '__endptr' here
char **__restrict __endptr, int __base)
^
../lib/eal/common/eal_common_lcore.c:219:49: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
&
/usr/include/stdlib.h:181:25: note: passing argument to parameter '__endptr' here
char **__restrict __endptr, int __base)
^
../lib/eal/common/eal_common_lcore.c:219:77: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
&
/usr/include/stdlib.h:181:25: note: passing argument to parameter '__endptr' here
char **__restrict __endptr, int __base)
^
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable 'found_last_cpu' [-Werror,-Wunused-variable]
bool found_last_cpu = false;
^
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable 'first_lcore_cpu' [-Werror,-Wunused-variable]
unsigned int first_lcore_cpu = RTE_MAX_LCORE;
^
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable 'last_lcore_cpu' [-Werror,-Wunused-variable]
unsigned int last_lcore_cpu = RTE_MAX_LCORE;
^
8 errors generated.
[24/3006] Generating lib/argparse.sym_chk with a custom command (wrapped by meson to capture output)
[25/3006] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[26/3006] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[27/3006] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[28/3006] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[29/3006] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[30/3006] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[31/3006] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[32/3006] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #11:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:33: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
*first_cpu = strtoul (llc[0], end, 10);
^~~
In file included from ../lib/eal/common/eal_common_lcore.c:6:0:
/usr/include/stdlib.h:180:26: note: expected ‘char ** restrict’ but argument is of type ‘char *’
extern unsigned long int strtoul (const char *__restrict __nptr,
^~~~~~~
../lib/eal/common/eal_common_lcore.c:219:49: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
In file included from ../lib/eal/common/eal_common_lcore.c:6:0:
/usr/include/stdlib.h:180:26: note: expected ‘char ** restrict’ but argument is of type ‘char *’
extern unsigned long int strtoul (const char *__restrict __nptr,
^~~~~~~
../lib/eal/common/eal_common_lcore.c:219:77: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
*last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
^~~
In file included from ../lib/eal/common/eal_common_lcore.c:6:0:
/usr/include/stdlib.h:180:26: note: expected ‘char ** restrict’ but argument is of type ‘char *’
extern unsigned long int strtoul (const char *__restrict __nptr,
^~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
unsigned int last_lcore_cpu = RTE_MAX_LCORE;
^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
unsigned int first_lcore_cpu = RTE_MAX_LCORE;
^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
bool found_last_cpu = false;
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[25/3004] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[26/3004] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_string_fns.c.o
[27/3004] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[28/3004] Generating lib/argparse.sym_chk with a custom command (wrapped by meson to capture output)
[29/3004] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[30/3004] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[31/3004] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[32/3004] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[33/3004] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #12:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[28/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[29/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[30/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[31/2986] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[32/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[33/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[34/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[35/2986] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[36/2986] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2404-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[31/2281] Generating symbol file lib/librte_log.so.25.0.p/librte_log.so.25.0.symbols
[32/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[33/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[34/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[35/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[36/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[37/2281] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[38/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[39/2281] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #14:
OS: RHEL93-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[35/3055] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[36/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[37/3055] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[38/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[39/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[40/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[41/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[42/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[43/3055] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #15:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -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 -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[34/3194] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[35/3194] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[36/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[37/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[38/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[39/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[40/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[41/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[42/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #16:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[33/3190] Linking target lib/librte_argparse.so.25.0
[34/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[35/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[36/3190] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[37/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[38/3190] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[39/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[40/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[41/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #17:
OS: UB2404-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c:145:20: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
145 | char *llc[2] = {'\0'};
| ^~~~
../lib/eal/common/eal_common_lcore.c:213:19: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
213 | char *llc[2] = {'\0'};
| ^~~~
../lib/eal/common/eal_common_lcore.c:218:33: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| &
/usr/include/stdlib.h:221:26: note: passing argument to parameter '__endptr' here
221 | char **__restrict __endptr,
| ^
../lib/eal/common/eal_common_lcore.c:219:49: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| &
/usr/include/stdlib.h:221:26: note: passing argument to parameter '__endptr' here
221 | char **__restrict __endptr,
| ^
../lib/eal/common/eal_common_lcore.c:219:77: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| &
/usr/include/stdlib.h:221:26: note: passing argument to parameter '__endptr' here
221 | char **__restrict __endptr,
| ^
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable 'found_last_cpu' [-Werror,-Wunused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable 'first_lcore_cpu' [-Werror,-Wunused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable 'last_lcore_cpu' [-Werror,-Wunused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
8 errors generated.
[28/3190] Generating symbol file lib/librte_log.so.25.0.p/librte_log.so.25.0.symbols
[29/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_string_fns.c.o
[30/3190] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[31/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[32/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[33/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[34/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[35/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[36/3190] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #18:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[42/3017] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[43/3017] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[44/3017] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[45/3017] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o
[46/3017] Generating symbol file lib/librte_telemetry.so.25.0.p/librte_telemetry.so.25.0.symbols
[47/3017] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[48/3017] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[49/3017] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[50/3017] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
ninja: build stopped
*Build Failed #19:
OS: RHEL94-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:181:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
181 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[28/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[29/3039] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[30/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[31/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[32/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[33/3039] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[34/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[35/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[36/3039] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #20:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[31/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[32/3036] Generating symbol file lib/librte_log.so.25.0.p/librte_log.so.25.0.symbols
[33/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[34/3036] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[35/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[36/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[37/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[38/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[39/3036] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #21:
OS: FC40-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Wincompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[25/3194] Linking target lib/librte_argparse.so.25.0
[26/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
[27/3194] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
[28/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
[29/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[30/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[31/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
[32/3194] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[33/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
ninja: build stopped
*Build Failed #22:
OS: FC40-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c:145:20: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
145 | char *llc[2] = {'\0'};
| ^~~~
../lib/eal/common/eal_common_lcore.c:213:19: error: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Werror,-Wnon-literal-null-conversion]
213 | char *llc[2] = {'\0'};
| ^~~~
../lib/eal/common/eal_common_lcore.c:218:33: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| &
/usr/include/stdlib.h:221:26: note: passing argument to parameter '__endptr' here
221 | char **__restrict __endptr,
| ^
../lib/eal/common/eal_common_lcore.c:219:49: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| &
/usr/include/stdlib.h:221:26: note: passing argument to parameter '__endptr' here
221 | char **__restrict __endptr,
| ^
../lib/eal/common/eal_common_lcore.c:219:77: error: incompatible pointer types passing 'char *' to parameter of type 'char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| &
/usr/include/stdlib.h:221:26: note: passing argument to parameter '__endptr' here
221 | char **__restrict __endptr,
| ^
../lib/eal/common/eal_common_lcore.c:250:7: error: unused variable 'found_last_cpu' [-Werror,-Wunused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:15: error: unused variable 'first_lcore_cpu' [-Werror,-Wunused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:252:15: error: unused variable 'last_lcore_cpu' [-Werror,-Wunused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
8 errors generated.
[28/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
[29/3194] Linking target lib/librte_argparse.so.25.0
[30/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
[31/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
[32/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o
[33/3194] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[34/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[35/3194] Generating symbol file lib/librte_kvargs.so.25.0.p/librte_kvargs.so.25.0.symbols
[36/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
ninja: build stopped
*Build Failed #23:
OS: UB2404-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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 -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o -c ../lib/eal/common/eal_common_lcore.c
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_lcore’:
../lib/eal/common/eal_common_lcore.c:218:47: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
218 | *first_cpu = strtoul (llc[0], end, 10);
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:63: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c:219:91: error: passing argument 2 of ‘strtoul’ from incompatible pointer type [-Werror=incompatible-pointer-types]
219 | *last_cpu = (1 == smt_cpu) ? strtoul (llc[0], end, 10) : strtoul (llc[1], end, 10);
| ^~~
| |
| char *
/usr/include/stdlib.h:182:53: note: expected ‘char ** restrict’ but argument is of type ‘char *’
182 | char **__restrict __endptr, int __base)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:252:22: error: unused variable ‘last_lcore_cpu’ [-Werror=unused-variable]
252 | unsigned int last_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:251:22: error: unused variable ‘first_lcore_cpu’ [-Werror=unused-variable]
251 | unsigned int first_lcore_cpu = RTE_MAX_LCORE;
| ^~~~~~~~~~~~~~~
../lib/eal/common/eal_common_lcore.c:250:14: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[35/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o
[36/3194] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[37/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o
[38/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[39/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[40/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[41/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o
[42/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[43/3194] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-27 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-27 15:25 compilation|FAILURE| pw(143404) sid(32851) job(PER_PATCH_BUILD12978)[RFC, 2/2] eal/lcore: add llc aware for each macro sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).