DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 394] Build of librte_cryptodev with GCC 10.0.1 fails
Date: Tue, 11 Feb 2020 11:08:26 +0000	[thread overview]
Message-ID: <bug-394-3@http.bugs.dpdk.org/> (raw)

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.

                 reply	other threads:[~2020-02-11 11:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-394-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).