From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28E2BA051C; Tue, 11 Feb 2020 12:08:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96B282BD5; Tue, 11 Feb 2020 12:08:28 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id CE15C2B9C for ; Tue, 11 Feb 2020 12:08:26 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id B5F89A052F; Tue, 11 Feb 2020 12:08:26 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 11 Feb 2020 11:08:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: cryptodev X-Bugzilla-Version: 20.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luca.boccassi@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 394] Build of librte_cryptodev with GCC 10.0.1 fails X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D394 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: err= or: writing 16 bytes into a region of size 0 [-Werror=3Dstringop-overflow=3D] [ 131s] 727 | *__P =3D __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: err= or: writing 16 bytes into a region of size 0 [-Werror=3Dstringop-overflow=3D] [ 131s] 727 | *__P =3D __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: err= or: writing 16 bytes into a region of size 0 [-Werror=3Dstringop-overflow=3D] [ 131s] 727 | *__P =3D __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=3Dstringop-overflow= =3D] [ 131s] 673 | *(uint8_t *)dstu =3D *(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: err= or: writing 16 bytes into a region of size 0 [-Werror=3Dstringop-overflow=3D] [ 131s] 727 | *__P =3D __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: err= or: writing 16 bytes into a region of size 0 [-Werror=3Dstringop-overflow=3D] [ 131s] 727 | *__P =3D __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: err= or: writing 16 bytes into a region of size 0 [-Werror=3Dstringop-overflow=3D] [ 131s] 727 | *__P =3D __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=3Dstringop-overflow= =3D] [ 131s] 811 | *(uint8_t *)dst =3D *(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]; --=20 You are receiving this mail because: You are the assignee for the bug.=