|FAILURE| pw148548 [PATCH v2] eal/linux: fix fbarray name with multiple secondary processes
0-day Robot
robot at bytheb.org
Fri Nov 15 09:45:47 CET 2024
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/148548/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/11852543558
Build Logs:
-----------------------Summary of failed steps-----------------------
"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
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test
####################################################################################
FAILED: lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o
ccache aarch64-linux-gnu-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/arm/include -I../lib/eal/arm/include -I../kernel/linux -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 -pipe -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o -MF lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o.d -o lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o -c ../lib/eal/linux/eal_memalloc.c
../lib/eal/linux/eal_memalloc.c: In function ‘secondary_msl_create_walk’:
../lib/eal/linux/eal_memalloc.c:1452:57: error: implicit declaration of function ‘rte_get_tsc_cycles’ [-Werror=implicit-function-declaration]
1452 | primary_msl->memseg_arr.name, getpid(), rte_get_tsc_cycles());
| ^~~~~~~~~~~~~~~~~~
../lib/eal/linux/eal_memalloc.c:1452:57: error: nested extern declaration of ‘rte_get_tsc_cycles’ [-Werror=nested-externs]
../lib/eal/linux/eal_memalloc.c:1451:46: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Werror=format=]
1451 | snprintf(name, RTE_FBARRAY_NAME_LEN, "%s_%i_%"PRIx64,
| ^~~~~~~~~
1452 | primary_msl->memseg_arr.name, getpid(), rte_get_tsc_cycles());
| ~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from ../lib/eal/linux/eal_memalloc.c:19:
/usr/aarch64-linux-gnu/include/inttypes.h:121:41: note: format string is defined here
121 | # define PRIx64 __PRI64_PREFIX "x"
cc1: all warnings being treated as errors
[92/6536] Compiling C object lib/librte_eal.a.p/eal_arm_rte_cycles.c.o
[93/6536] Compiling C object lib/librte_eal.a.p/eal_arm_rte_power_intrinsics.c.o
[94/6536] Compiling C object lib/librte_eal.a.p/eal_arm_rte_mmu.c.o
[95/6536] Compiling C object lib/librte_eal.a.p/eal_linux_eal_memory.c.o
[96/6536] Compiling C object lib/librte_eal.a.p/eal_linux_eal_vfio.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
####################################################################################
FAILED: lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o
ccache powerpc64le-linux-gnu-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/ppc/include -I../lib/eal/ppc/include -I../kernel/linux -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 -pipe -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-packed-not-aligned -Wno-missing-field-initializers -Wno-psabi -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o -MF lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o.d -o lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o -c ../lib/eal/linux/eal_memalloc.c
../lib/eal/linux/eal_memalloc.c: In function ‘secondary_msl_create_walk’:
../lib/eal/linux/eal_memalloc.c:1452:57: error: implicit declaration of function ‘rte_get_tsc_cycles’ [-Werror=implicit-function-declaration]
1452 | primary_msl->memseg_arr.name, getpid(), rte_get_tsc_cycles());
| ^~~~~~~~~~~~~~~~~~
../lib/eal/linux/eal_memalloc.c:1452:57: error: nested extern declaration of ‘rte_get_tsc_cycles’ [-Werror=nested-externs]
../lib/eal/linux/eal_memalloc.c:1451:46: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Werror=format=]
1451 | snprintf(name, RTE_FBARRAY_NAME_LEN, "%s_%i_%"PRIx64,
| ^~~~~~~~~
1452 | primary_msl->memseg_arr.name, getpid(), rte_get_tsc_cycles());
| ~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from ../lib/eal/linux/eal_memalloc.c:19:
/usr/powerpc64le-linux-gnu/include/inttypes.h:121:41: note: format string is defined here
121 | # define PRIx64 __PRI64_PREFIX "x"
cc1: all warnings being treated as errors
[89/5811] Compiling C object lib/librte_eal.a.p/eal_ppc_rte_hypervisor.c.o
[90/5811] Compiling C object lib/librte_eal.a.p/eal_ppc_rte_cpuflags.c.o
[91/5811] Compiling C object lib/librte_eal.a.p/eal_linux_eal_interrupts.c.o
[92/5811] Compiling C object lib/librte_eal.a.p/eal_linux_eal_memory.c.o
[93/5811] Compiling C object lib/librte_eal.a.p/eal_linux_eal_vfio.c.o
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
####################################################################################
FAILED: lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o
ccache riscv64-linux-gnu-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/riscv/include -I../lib/eal/riscv/include -I../kernel/linux -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 -pipe -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="25.0"' -DRTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o -MF lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o.d -o lib/librte_eal.a.p/eal_linux_eal_memalloc.c.o -c ../lib/eal/linux/eal_memalloc.c
../lib/eal/linux/eal_memalloc.c: In function ‘secondary_msl_create_walk’:
../lib/eal/linux/eal_memalloc.c:1452:57: error: implicit declaration of function ‘rte_get_tsc_cycles’ [-Werror=implicit-function-declaration]
1452 | primary_msl->memseg_arr.name, getpid(), rte_get_tsc_cycles());
| ^~~~~~~~~~~~~~~~~~
../lib/eal/linux/eal_memalloc.c:1452:57: error: nested extern declaration of ‘rte_get_tsc_cycles’ [-Werror=nested-externs]
../lib/eal/linux/eal_memalloc.c:1451:46: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘int’ [-Werror=format=]
1451 | snprintf(name, RTE_FBARRAY_NAME_LEN, "%s_%i_%"PRIx64,
| ^~~~~~~~~
1452 | primary_msl->memseg_arr.name, getpid(), rte_get_tsc_cycles());
| ~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from ../lib/eal/linux/eal_memalloc.c:19:
/usr/riscv64-linux-gnu/include/inttypes.h:121:41: note: format string is defined here
121 | # define PRIx64 __PRI64_PREFIX "x"
cc1: all warnings being treated as errors
[95/5782] Compiling C object lib/librte_eal.a.p/eal_riscv_rte_mmu.c.o
[96/5782] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.o
[97/5782] Compiling C object lib/librte_eal.a.p/eal_linux_eal_vfio.c.o
[98/5782] Compiling C object lib/librte_rcu.a.p/rcu_rte_rcu_qsbr.c.o
[99/5782] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool.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
####################################################################################
--------------------------------END LOGS-----------------------------
More information about the test-report
mailing list