automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw117548 [PATCH v2] eal: non-temporal memcpy
       [not found] <20221007101951.89501-1-mb@smartsharesystems.com>
@ 2022-10-07 10:21 ` checkpatch
  2022-10-07 11:40 ` |FAILURE| " 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-10-07 10:21 UTC (permalink / raw)
  To: test-report; +Cc: Morten Brørup

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117548

_coding style issues_


ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#1151: FILE: lib/eal/x86/include/rte_memcpy.h:1306:
+	if ((len & 15) == 0) return;

total: 1 errors, 0 warnings, 1912 lines checked
Warning in lib/eal/include/generic/rte_memcpy.h:
Using compiler attribute directly

^ permalink raw reply	[flat|nested] 2+ messages in thread

* |FAILURE| pw117548 [PATCH v2] eal: non-temporal memcpy
       [not found] <20221007101951.89501-1-mb@smartsharesystems.com>
  2022-10-07 10:21 ` |WARNING| pw117548 [PATCH v2] eal: non-temporal memcpy checkpatch
@ 2022-10-07 11:40 ` 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-10-07 11:40 UTC (permalink / raw)
  To: test-report; +Cc: mb, robot

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/117548/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3204122986
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-static" failed at step Build and test
"ubuntu-20.04-gcc-shared-mini" failed at step Build and test
"ubuntu-20.04-gcc-shared-doc+tests" failed at step Build and test
"ubuntu-20.04-clang-static" failed at step Build and test
"ubuntu-20.04-clang-shared-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
"fedora:35-clang-static" failed at step Build
"fedora:35-clang-shared" failed at step Build
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static" at step Build and test
####################################################################################
In file included from ../lib/eal/x86/include/rte_vect.h:16,
                 from /home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:18,
                 from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h: In function ‘void rte_memcpy_ex(void*, const void*, size_t, uint64_t)’:
../lib/eal/include/rte_common.h:417:75: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
  417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
      |                                                                           ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2036:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2036 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:58: error: size ‘-1’ of array is negative
  417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
      |                                                        ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2036:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2036 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[4219/4465] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_pflock.cpp.o'.
[4220/4465] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:291:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  291 | perf_test_constant_unaligned(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-mini" at step Build and test
####################################################################################
In file included from ../lib/eal/x86/include/rte_vect.h:16,
                 from /home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:18,
                 from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h: In function ‘void rte_memcpy_ex(void*, const void*, size_t, uint64_t)’:
../lib/eal/include/rte_common.h:417:75: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing]
  417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
      |                                                                           ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2036:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2036 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:58: error: size ‘-1’ of array is negative
  417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
      |                                                        ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2036:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2036 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[1368/1550] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_spinlock.cpp.o'.
[1369/1550] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:291:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  291 | perf_test_constant_unaligned(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-mini" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-doc+tests" at step Build and test
####################################################################################
[3450/4643] Compiling C object 'examples/c590b3c@@dpdk-distributor@exe/distributor_main.c.o'.
[3451/4643] Compiling C object 'examples/c590b3c@@dpdk-ethtool@exe/ethtool_lib_rte_ethtool.c.o'.
[3452/4643] Linking target examples/dpdk-distributor.
[3453/4643] Linking target examples/dpdk-dma.
[3454/4643] Compiling C object 'examples/c590b3c@@dpdk-cmdline@exe/cmdline_commands.c.o'.
[3455/4643] Generating examples.dox with a custom command.
[3456/4643] Compiling C object 'examples/c590b3c@@dpdk-ethtool@exe/ethtool_ethtool-app_main.c.o'.
[3457/4643] Generating doxygen with a custom command.
FAILED: doc/api/html 
/usr/bin/python3 ../doc/api/generate_doxygen.py doc/api/html /usr/bin/doxygen doc/api/doxy-api.conf
/home/runner/work/dpdk/dpdk/lib/eal/include/generic/rte_memcpy.h:204: error: Unsupported xml/html tag <n> found (warning treated as error, aborting now)
Traceback (most recent call last):
  File "../doc/api/generate_doxygen.py", line 13, in <module>
    subprocess.run(doxygen_command, check=True, stdout=out)
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/doxygen', 'doc/api/doxy-api.conf']' returned non-zero exit status 1.
[3458/4643] Generating html_guides with a custom command.
[3459/4643] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.o'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:291:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  291 | perf_test_constant_unaligned(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-static" at step Build and test
####################################################################################
                ^
../lib/eal/x86/include/rte_memcpy.h:1280:1: note: from 'diagnose_if' attribute on 'rte_memcpy_nt_15_or_less_s16a':
__rte_internal
^~~~~~~~~~~~~~
../lib/eal/include/rte_compat.h:42:16: note: expanded from macro '__rte_internal'
__attribute__((diagnose_if(1, "Symbol is not public ABI", "error"), \
               ^           ~
In file included from ../app/dumpcap/main.c:27:
In file included from ../lib/bpf/rte_bpf.h:20:
In file included from ../lib/mbuf/rte_mbuf.h:38:
In file included from ../lib/mempool/rte_mempool.h:46:
../lib/eal/x86/include/rte_memcpy.h:1494:10: error: Symbol is not public ABI
                xmm0 = _mm_stream_load_si128_const(RTE_PTR_ADD(src, 0 * 16));
                       ^
../lib/eal/x86/include/rte_memcpy.h:884:1: note: from 'diagnose_if' attribute on '_mm_stream_load_si128_const':
__rte_internal
^~~~~~~~~~~~~~
../lib/eal/include/rte_compat.h:42:16: note: expanded from macro '__rte_internal'
__attribute__((diagnose_if(1, "Symbol is not public ABI", "error"), \
               ^           ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3200/4465] Compiling C object 'drivers/a715181@@tmp_rte_baseband_turbo_sw@sta/baseband_turbo_sw_bbdev_turbo_software.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-static" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-shared-asan+doc+tests" at step Build and test
####################################################################################
^~~~~~~~~~~~~~
../lib/eal/include/rte_compat.h:42:16: note: expanded from macro '__rte_internal'
__attribute__((diagnose_if(1, "Symbol is not public ABI", "error"), \
               ^           ~
In file included from ../app/pdump/main.c:19:
In file included from ../lib/ethdev/rte_ethdev.h:1297:
In file included from ../lib/ethdev/rte_eth_ctrl.h:10:
In file included from ../lib/net/rte_ether.h:22:
In file included from ../lib/mbuf/rte_mbuf.h:38:
In file included from ../lib/mempool/rte_mempool.h:46:
../lib/eal/x86/include/rte_memcpy.h:1494:10: error: Symbol is not public ABI
                xmm0 = _mm_stream_load_si128_const(RTE_PTR_ADD(src, 0 * 16));
                       ^
../lib/eal/x86/include/rte_memcpy.h:884:1: note: from 'diagnose_if' attribute on '_mm_stream_load_si128_const':
__rte_internal
^~~~~~~~~~~~~~
../lib/eal/include/rte_compat.h:42:16: note: expanded from macro '__rte_internal'
__attribute__((diagnose_if(1, "Symbol is not public ABI", "error"), \
               ^           ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3173/4643] Compiling C object 'drivers/a715181@@tmp_rte_baseband_turbo_sw@sta/baseband_turbo_sw_bbdev_turbo_software.c.o'.
[3174/4643] Compiling C object 'drivers/a715181@@tmp_rte_event_opdl@sta/event_opdl_opdl_ring.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-shared-asan+doc+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[42/3122] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o 
ccache gcc -Ilib/76b5a35@@rte_eal@sta -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal  -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_eal_common_options.c.o' -c ../lib/eal/common/eal_common_options.c
In file included from ../lib/eal/common/eal_common_options.c:32:
../lib/eal/x86/include/rte_memcpy.h: In function ‘rte_memcpy_nt_15_or_less_s16a’:
../lib/eal/x86/include/rte_memcpy.h:1320:5: error: implicit declaration of function ‘_mm_stream_si64’; did you mean ‘_mm_stream_si32’? [-Werror=implicit-function-declaration]
 1320 |     _mm_stream_si64(dst, *(const int64_t *)src);
      |     ^~~~~~~~~~~~~~~
      |     _mm_stream_si32
../lib/eal/x86/include/rte_memcpy.h:1320:5: error: nested extern declaration of ‘_mm_stream_si64’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[43/3122] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_service.c.o'.
[44/3122] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o'.
FAILED: lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o 
ccache gcc -Ilib/76b5a35@@rte_eal@sta -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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="23.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal  -MD -MQ 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -MF 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/eal_common_rte_malloc.c.o' -c ../lib/eal/common/rte_malloc.c
In file included from ../lib/eal/common/rte_malloc.c:12:
../lib/eal/x86/include/rte_memcpy.h: In function ‘rte_memcpy_nt_15_or_less_s16a’:
../lib/eal/x86/include/rte_memcpy.h:1320:5: error: implicit declaration of function ‘_mm_stream_si64’; did you mean ‘_mm_stream_si32’? [-Werror=implicit-function-declaration]
 1320 |     _mm_stream_si64(dst, *(const int64_t *)src);
      |     ^~~~~~~~~~~~~~~
      |     _mm_stream_si32
../lib/eal/x86/include/rte_memcpy.h:1320:5: error: nested extern declaration of ‘_mm_stream_si64’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
In file included from ../lib/eal/x86/include/rte_vect.h:16,
                 from /home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:18,
                 from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h: In function ‘void rte_memcpy_ex(void*, const void*, size_t, uint64_t)’:
../lib/eal/include/rte_common.h:417:75: error: narrowing conversion of ‘-1’ from ‘int’ to ‘long long unsigned int’ [-Wnarrowing]
  417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
      |                                                                           ^
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2036:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2036 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:417:58: error: size ‘-1’ of array is negative
  417 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
      |                                                        ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2036:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2036 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[1177/1322] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_power_intrinsics.cpp.obj'.
[1178/1322] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_memcpy_perf.c.obj'.
../app/test/test_memcpy_perf.c: In function ‘perf_test_constant_unaligned’:
../app/test/test_memcpy_perf.c:291:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  291 | perf_test_constant_unaligned(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "fedora:35-clang-static" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang-static" at step Build
####################################################################################




####################################################################################
#### [Begin job log] "fedora:35-clang-shared" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:35-clang-shared" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-07 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221007101951.89501-1-mb@smartsharesystems.com>
2022-10-07 10:21 ` |WARNING| pw117548 [PATCH v2] eal: non-temporal memcpy checkpatch
2022-10-07 11:40 ` |FAILURE| " 0-day Robot

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).