|FAILURE| pw143404 [RFC 2/2] eal/lcore: add llc aware for each macro
0-day Robot
robot at bytheb.org
Tue Aug 27 18:43:34 CEST 2024
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/143404/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/10581137019
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-mini" failed at step Build and test
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-22.04-gcc-static-i386" failed at step Build and test
"ubuntu-22.04-gcc-static-mingw" failed at step Build and test
"ubuntu-22.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-22.04-gcc-ppc64le" failed at step Build and test
"ubuntu-22.04-gcc-riscv64" failed at step Build and test
"fedora:39-gcc" failed at step Build
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-mini" at step Build and test
####################################################################################
| ^~~
| |
| 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
[26/897] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_mcfg.c.o'.
[27/897] Generating symbol file 'lib/76b5a35@@rte_log at sha/librte_log.so.25.0.symbols'.
[28/897] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memalloc.c.o'.
[29/897] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memzone.c.o'.
[30/897] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memory.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-mini" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
| ^~~
| |
| 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
[33/3028] Linking target lib/librte_argparse.so.25.0.
[34/3028] Linking static target lib/librte_ring.a.
[35/3028] Linking target lib/librte_telemetry.so.25.0.
[36/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memalloc.c.o'.
[37/3028] Generating symbol file 'lib/76b5a35@@rte_kvargs at sha/librte_kvargs.so.25.0.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
^
../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:182:25: note: passing argument to parameter '__endptr' here
char **__restrict __endptr, int __base)
^
../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;
^
../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;
^
8 errors generated.
[32/3028] Linking target lib/librte_telemetry.so.25.0.
[33/3028] Generating symbol file 'lib/76b5a35@@rte_kvargs at sha/librte_kvargs.so.25.0.symbols'.
[34/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_mcfg.c.o'.
[35/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memalloc.c.o'.
[36/3028] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memory.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
| ^~~
| |
| 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
[32/4113] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memalloc.c.o'.
[33/4113] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memory.c.o'.
[34/4113] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memzone.c.o'.
[35/4113] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_options.c.o'.
[36/4113] Generating symbol file 'lib/76b5a35@@rte_log at sha/librte_log.so.25.0.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
^
../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:182: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.
[19/4113] Linking static target lib/librte_log.a.
[20/4113] Linking static target lib/librte_telemetry.a.
[21/4113] Linking static target lib/librte_kvargs.a.
[22/4113] Linking static target lib/librte_argparse.a.
[23/4113] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_fbarray.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
| ^~~
| |
| 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
[19/3186] Generating log.sym_chk with a meson_exe.py custom command.
[20/3186] Generating telemetry.sym_chk with a meson_exe.py custom command.
[21/3186] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_debug.c.o'.
[22/3186] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_dev.c.o'.
[23/3186] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_devargs.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-static-mingw" at step Build and test
####################################################################################
515 | unsigned long __cdecl strtoul(const char * __restrict__ _Str,char ** __restrict__ _EndPtr,int _Radix);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../lib/eal/common/eal_common_lcore.c: In function ‘rte_get_llc_n_lcore’:
../lib/eal/common/eal_common_lcore.c:279:4: error: implicit declaration of function ‘CPU_CLR’; did you mean ‘CPU_OR’? [-Werror=implicit-function-declaration]
279 | CPU_CLR(temp_cpu, llc_cpu);
| ^~~~~~~
| CPU_OR
../lib/eal/common/eal_common_lcore.c:279:4: error: nested extern declaration of ‘CPU_CLR’ [-Werror=nested-externs]
../lib/eal/common/eal_common_lcore.c:252:15: 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:15: 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:7: error: unused variable ‘found_last_cpu’ [-Werror=unused-variable]
250 | bool found_last_cpu = false;
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[36/1467] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memalloc.c.obj'.
[37/1467] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_mcfg.c.obj'.
[38/1467] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memzone.c.obj'.
[39/1467] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memory.c.obj'.
[40/1467] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_options.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-static-mingw" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/aarch64-linux-gnu/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
[18/4214] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_debug.c.o'.
[19/4214] Generating log.sym_chk with a meson_exe.py custom command.
[20/4214] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_devargs.c.o'.
[21/4214] Generating telemetry.sym_chk with a meson_exe.py custom command.
[22/4214] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_dev.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/powerpc64le-linux-gnu/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
[11/3506] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_class.c.o'.
[12/3506] Linking static target lib/librte_log.a.
[13/3506] Linking static target lib/librte_kvargs.a.
[14/3506] Linking static target lib/librte_telemetry.a.
[15/3506] Linking static target lib/librte_argparse.a.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
| ^~~
| |
| char *
In file included from ../lib/eal/common/eal_common_lcore.c:6:
/usr/riscv64-linux-gnu/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/3477] Generating telemetry.sym_chk with a meson_exe.py custom command.
[29/3477] Generating log.sym_chk with a meson_exe.py custom command.
[30/3477] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memzone.c.o'.
[31/3477] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_memory.c.o'.
[32/3477] Compiling C object 'lib/76b5a35@@rte_eal at sta/eal_common_eal_common_options.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:39-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:39-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list