|FAILURE| pw137807 [RFC 7/7] eal: deprecate relaxed family of bit operations
0-day Robot
robot at bytheb.org
Sat Mar 2 16:05:20 CET 2024
From: robot at bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/137807/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/8123422194
Build Logs:
-----------------------Summary of failed steps-----------------------
"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-clang-asan+doc+tests" failed at step Build and test
"fedora:39-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
913 | __rte_bit_atomic_test_and_assign32(uint32_t *addr, unsigned int nr, bool value,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:979:1: error: ‘rte_bit_atomic_test64’ declared ‘static’ but never defined [-Werror=unused-function]
979 | rte_bit_atomic_test64(const uint64_t *addr, unsigned int nr, int memory_order);
| ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:996:1: error: ‘rte_bit_atomic_set64’ declared ‘static’ but never defined [-Werror=unused-function]
996 | rte_bit_atomic_set64(uint64_t *addr, unsigned int nr, int memory_order);
| ^~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:1013:1: error: ‘rte_bit_atomic_clear64’ declared ‘static’ but never defined [-Werror=unused-function]
1013 | rte_bit_atomic_clear64(uint64_t *addr, unsigned int nr, int memory_order);
| ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:1032:1: error: ‘rte_bit_atomic_assign64’ declared ‘static’ but never defined [-Werror=unused-function]
1032 | rte_bit_atomic_assign64(uint64_t *addr, unsigned int nr, bool value,
| ^~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:1040:1: error: ‘__rte_bit_atomic_test_and_assign64’ used but never defined [-Werror]
1040 | __rte_bit_atomic_test_and_assign64(uint64_t *addr, unsigned int nr, bool value,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3/2908] Compiling C object 'lib/76b5a35@@rte_kvargs at sta/kvargs_rte_kvargs.c.o'.
[4/2908] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry_data.c.o'.
[5/2908] Compiling C object 'lib/76b5a35@@rte_log at sta/log_log.c.o'.
[6/2908] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry_legacy.c.o'.
[7/2908] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry.c.o'.
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
####################################################################################
if (!(arg->flags & RTE_ARGPARSE_ARG_SUPPORT_MULTI))
^
../lib/argparse/rte_argparse.c:612:32: error: use of undeclared identifier 'RTE_ARGPARSE_ARG_NO_VALUE'
if (arg_attr_has_val(arg) == RTE_ARGPARSE_ARG_NO_VALUE) {
^
../lib/argparse/rte_argparse.c:618:39: error: use of undeclared identifier 'RTE_ARGPARSE_ARG_REQUIRED_VALUE'
} else if (arg_attr_has_val(arg) == RTE_ARGPARSE_ARG_REQUIRED_VALUE) {
^
../lib/argparse/rte_argparse.c:774:61: error: use of undeclared identifier 'RTE_ARGPARSE_ARG_VALUE_MAX'
uint32_t cmp_max = RTE_FIELD_GET64(ARG_ATTR_VAL_TYPE_MASK, RTE_ARGPARSE_ARG_VALUE_MAX);
^
../lib/argparse/rte_argparse.c:774:21: error: implicit declaration of function 'rte_ctz64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
uint32_t cmp_max = RTE_FIELD_GET64(ARG_ATTR_VAL_TYPE_MASK, RTE_ARGPARSE_ARG_VALUE_MAX);
^
../lib/eal/include/rte_bitops.h:109:39: note: expanded from macro 'RTE_FIELD_GET64'
((typeof(mask))(((reg) & (mask)) >> rte_ctz64(mask)))
^
16 errors generated.
[3/2908] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry_data.c.o'.
[4/2908] Compiling C object 'lib/76b5a35@@rte_kvargs at sta/kvargs_rte_kvargs.c.o'.
[5/2908] Compiling C object 'lib/76b5a35@@rte_log at sta/log_log.c.o'.
[6/2908] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry_legacy.c.o'.
[7/2908] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry.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-clang-asan+doc+tests" at step Build and test
####################################################################################
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:1166:2: note: expanded from macro '__RTE_GEN_BIT_ATOMIC_OPS'
__RTE_GEN_BIT_ATOMIC_TEST_AND_ASSIGN(size)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_bitops.h:1151:55: note: expanded from macro '__RTE_GEN_BIT_ATOMIC_TEST_AND_ASSIGN'
} while(!__atomic_compare_exchange_n(addr, &before, after, \
^~~~~
../lib/eal/include/rte_bitops.h:1169:1: note: variable 'after' is declared here
../lib/eal/include/rte_bitops.h:1166:2: note: expanded from macro '__RTE_GEN_BIT_ATOMIC_OPS'
__RTE_GEN_BIT_ATOMIC_TEST_AND_ASSIGN(size)
^
../lib/eal/include/rte_bitops.h:1145:3: note: expanded from macro '__RTE_GEN_BIT_ATOMIC_TEST_AND_ASSIGN'
uint ## size ## _t after; \
^
<scratch space>:260:1: note: expanded from here
uint64_t
^
2 errors generated.
[2/3985] Compiling C object 'lib/76b5a35@@rte_log at sta/log_log_linux.c.o'.
[3/3985] Compiling C object 'lib/76b5a35@@rte_kvargs at sta/kvargs_rte_kvargs.c.o'.
[4/3985] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry_data.c.o'.
[5/3985] Compiling C object 'lib/76b5a35@@rte_log at sta/log_log.c.o'.
[6/3985] Compiling C object 'lib/76b5a35@@rte_telemetry at sta/telemetry_telemetry.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] "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