All of lore.kernel.org
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 394] Build of librte_cryptodev with GCC 10.0.1 fails
@ 2020-02-11 11:08 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-02-11 11:08 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=394

            Bug ID: 394
           Summary: Build of librte_cryptodev with GCC 10.0.1 fails
           Product: DPDK
           Version: 20.02
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: cryptodev
          Assignee: dev@dpdk.org
          Reporter: luca.boccassi@gmail.com
  Target Milestone: ---

https://build.opensuse.org/build/home:bluca:dpdk/Fedora_Rawhide/x86_64/dpdk/_log

[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_atomic.h:15,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/generic/rte_rwlock.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_rwlock.h:12,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_fbarray.h:40,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memory.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:22:
[  131s] In function '_mm_storeu_si128',
[  131s]     inlined from 'rte_memcpy_generic' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:495:2,
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:869:10:
[  131s] /usr/lib/gcc/x86_64-redhat-linux/10/include/emmintrin.h:727:8: error:
writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   727 |   *__P = __B;
[  131s]       |   ~~~~~^~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_atomic.h:15,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/generic/rte_rwlock.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_rwlock.h:12,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_fbarray.h:40,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memory.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:22:
[  131s] In function '_mm_storeu_si128',
[  131s]     inlined from 'rte_memcpy_generic' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:495:2,
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:869:10:
[  131s] /usr/lib/gcc/x86_64-redhat-linux/10/include/emmintrin.h:727:8: error:
writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   727 |   *__P = __B;
[  131s]       |   ~~~~~^~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_atomic.h:15,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/generic/rte_rwlock.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_rwlock.h:12,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_fbarray.h:40,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memory.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:22:
[  131s] In function '_mm_storeu_si128',
[  131s]     inlined from 'rte_memcpy_generic' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:495:2,
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:869:10:
[  131s] /usr/lib/gcc/x86_64-redhat-linux/10/include/emmintrin.h:727:8: error:
writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   727 |   *__P = __B;
[  131s]       |   ~~~~~^~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:23:
[  131s] In function 'rte_memcpy_generic',
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:869:10:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:673:21:
error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   673 |    *(uint8_t *)dstu = *(const uint8_t *)srcu;
[  131s]       |    ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_atomic.h:15,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/generic/rte_rwlock.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_rwlock.h:12,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_fbarray.h:40,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memory.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:22:
[  131s] In function '_mm_storeu_si128',
[  131s]     inlined from 'rte_memcpy_aligned' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:495:2,
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:867:10:
[  131s] /usr/lib/gcc/x86_64-redhat-linux/10/include/emmintrin.h:727:8: error:
writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   727 |   *__P = __B;
[  131s]       |   ~~~~~^~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file [  119.768041] serial8250: too much work for irq4
[  131s] included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_atomic.h:15,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/generic/rte_rwlock.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_rwlock.h:12,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_fbarray.h:40,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memory.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:22:
[  131s] In function '_mm_storeu_si128',
[  131s]     inlined from 'rte_memcpy_aligned' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:495:2,
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:867:10:
[  131s] /usr/lib/gcc/x86_64-redhat-linux/10/include/emmintrin.h:727:8: error:
writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   727 |   *__P = __B;
[  131s]       |   ~~~~~^~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_atomic.h:15,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/generic/rte_rwlock.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_rwlock.h:12,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_fbarray.h:40,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memory.h:25,
[  131s]                  from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:22:
[  131s] In function '_mm_storeu_si128',
[  131s]     inlined from 'rte_memcpy_aligned' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:495:2,
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:867:10:
[  131s] /usr/lib/gcc/x86_64-redhat-linux/10/include/emmintrin.h:727:8: error:
writing 16 bytes into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   727 |   *__P = __B;
[  131s]       |   ~~~~~^~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];
[  131s]       |    ^~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:23:
[  131s] In function 'rte_memcpy_aligned',
[  131s]     inlined from 'rte_cryptodev_sym_session_set_user_data' at
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:867:10:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/x86_64-default-linux-gcc/include/rte_memcpy.h:811:20:
error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
[  131s]   811 |    *(uint8_t *)dst = *(const uint8_t *)src;
[  131s]       |    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
[  131s] In file included from
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:41:
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.c:
In function 'rte_cryptodev_sym_session_set_user_data':
[  131s]
/home/abuild/rpmbuild/BUILD/dpdk-1581015204.2636c2a23/lib/librte_cryptodev/rte_cryptodev.h:986:4:
note: at offset 0 to object 'sess_data' with size 0 declared here
[  131s]   986 |  } sess_data[0];

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-11 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-11 11:08 [dpdk-dev] [Bug 394] Build of librte_cryptodev with GCC 10.0.1 fails bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.