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

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

_coding style issues_


Warning in lib/eal/include/generic/rte_memcpy.h:
Using compiler attribute directly

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

* |FAILURE| pw117788 [PATCH v4] eal: non-temporal memcpy
       [not found] <20221010064600.16495-1-mb@smartsharesystems.com>
  2022-10-10  6:47 ` |WARNING| pw117788 [PATCH v4] eal: non-temporal memcpy checkpatch
@ 2022-10-10  7:59 ` 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-10-10  7:59 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/117788/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3217424223
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
####################################################################################
      |                                                        ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2045:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2045 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
/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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
[4234/4477] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_rwlock.cpp.o'.
[4235/4477] 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
####################################################################################
      |                                                        ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2045:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2045 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
/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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
[1392/1558] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_interrupts.cpp.o'.
[1393/1558] 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
####################################################################################
 2045 |  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:2045:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2045 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
/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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
[4430/4655] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_eal_trace.cpp.o'.
[4431/4655] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_errno.cpp.o'.
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
####################################################################################
      |                                      const void* __restrict__
In file included from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:888:58: note:   initializing argument 1 of ‘__m128i _mm_stream_load_si128_const(const __m128i*)’
  888 | __m128i _mm_stream_load_si128_const(const __m128i *const mem_addr)
      |                                     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2004:20: error: invalid conversion from ‘void*’ to ‘__m128i_u*’ {aka ‘__vector(2) long long int*’} [-fpermissive]
 2004 |   _mm_storeu_si128(buf, xmm3);
      |                    ^~~
      |                    |
      |                    void*
In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/xmmintrin.h:1255,
                 from /usr/lib/gcc/x86_64-linux-gnu/9/include/immintrin.h:29,
                 from /usr/lib/gcc/x86_64-linux-gnu/9/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 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:
/usr/lib/gcc/x86_64-linux-gnu/9/include/emmintrin.h:725:30: note:   initializing argument 1 of ‘void _mm_storeu_si128(__m128i_u*, __m128i)’
  725 | _mm_storeu_si128 (__m128i_u *__P, __m128i __B)
      |                   ~~~~~~~~~~~^~~
cc1plus: all warnings being treated as errors
[4265/4477] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_memory.cpp.o'.
[4266/4477] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_memzone.cpp.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
####################################################################################
      |                                      const void* __restrict__
In file included from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:888:58: note:   initializing argument 1 of ‘__m128i _mm_stream_load_si128_const(const __m128i*)’
  888 | __m128i _mm_stream_load_si128_const(const __m128i *const mem_addr)
      |                                     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from buildtools/chkincs/fe389a9@@chkincs-cpp@exe/rte_memcpy.cpp:1:
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2004:20: error: invalid conversion from ‘void*’ to ‘__m128i_u*’ {aka ‘__vector(2) long long int*’} [-fpermissive]
 2004 |   _mm_storeu_si128(buf, xmm3);
      |                    ^~~
      |                    |
      |                    void*
In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include/xmmintrin.h:1255,
                 from /usr/lib/gcc/x86_64-linux-gnu/9/include/immintrin.h:29,
                 from /usr/lib/gcc/x86_64-linux-gnu/9/include/x86intrin.h:32,
                 from ../lib/eal/x86/include/rte_vect.h:31,
                 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:
/usr/lib/gcc/x86_64-linux-gnu/9/include/emmintrin.h:725:30: note:   initializing argument 1 of ‘void _mm_storeu_si128(__m128i_u*, __m128i)’
  725 | _mm_storeu_si128 (__m128i_u *__P, __m128i __B)
      |                   ~~~~~~~~~~~^~~
cc1plus: all warnings being treated as errors
[4415/4655] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_spinlock.cpp.o'.
[4416/4655] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_vect.cpp.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
####################################################################################
/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 ‘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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
[2890/3128] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_vect.cpp.o'.
[2891/3128] 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_aligned’:
../app/test/test_memcpy_perf.c:282:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  282 | perf_test_constant_aligned(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
../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-i386" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
      |                                                        ~~^~~~~~~~~~~~~~~~~
/home/runner/work/dpdk/dpdk/lib/eal/x86/include/rte_memcpy.h:2045:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2045 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
/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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  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:2069:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
 2069 |  RTE_BUILD_BUG_ON(!__builtin_constant_p(flags));
      |  ^~~~~~~~~~~~~~~~
[1181/1327] Compiling C++ object 'buildtools/chkincs/fe389a9@@chkincs-cpp@exe/meson-generated_rte_power_intrinsics.cpp.obj'.
[1182/1327] 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-10  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221010064600.16495-1-mb@smartsharesystems.com>
2022-10-10  6:47 ` |WARNING| pw117788 [PATCH v4] eal: non-temporal memcpy checkpatch
2022-10-10  7:59 ` |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).