From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6101CA0547; Thu, 28 Oct 2021 14:04:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F1A941100; Thu, 28 Oct 2021 14:04:34 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id C913F40DF4 for ; Thu, 28 Oct 2021 14:04:32 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id BD172A0C47; Thu, 28 Oct 2021 14:04:32 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 28 Oct 2021 12:04:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ferruh.yigit@intel.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 849] gcc12 build error, net/ena X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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=3D849 Bug ID: 849 Summary: gcc12 build error, net/ena Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: ferruh.yigit@intel.com Target Milestone: --- With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)" [73/183] Compiling C object drivers/libtmp_rte_net_ena.a.p/net_ena_ena_rss.= c.o In file included from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.= h:43, from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.= h:32,=20 from ../lib/eal/x86/include/rte_vect.h:31,=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 from ../lib/eal/x86/include/rte_memcpy.h:17,=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 from ../lib/net/rte_ether.h:21,=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 from ../drivers/net/ena/ena_ethdev.h:10,=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 from ../drivers/net/ena/ena_rss.c:6:=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In function =E2=80=98_mm256_loadu_si256=E2=80=99,=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9,=20=20=20=20=20=20 inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:342:2,=20=20=20=20=20 inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript =E2=80=98__m256i_u[1]=E2=80=99 is partly outside a= rray bounds of =E2=80=98uint8_t[40]=E2=80=99 {aka =E2=80=98unsigned char[40]=E2=80=99} [-W= array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_rss.c: In function =E2=80=98ena_rss_key_fill=E2=80= =99: ../drivers/net/ena/ena_rss.c:51:24: note: at offset 32 into object =E2=80=98default_key=E2=80=99 of size 40 51 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In file included from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.= h:43, from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.= h:32, from ../lib/eal/x86/include/rte_vect.h:31, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/net/rte_ether.h:21, from ../drivers/net/ena/ena_ethdev.h:10, from ../drivers/net/ena/ena_rss.c:6: In function =E2=80=98_mm256_loadu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9, inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:343:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript 2 is outside array bounds of =E2=80=98uint8_t[40]= =E2=80=99 {aka =E2=80=98unsigned char[40]=E2=80=99} [-Warray-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_rss.c: In function =E2=80=98ena_rss_key_fill=E2=80= =99: ../drivers/net/ena/ena_rss.c:51:24: note: at offset 64 into object =E2=80=98default_key=E2=80=99 of size 40 51 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In file included from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.= h:43, from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.= h:32, from ../lib/eal/x86/include/rte_vect.h:31, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/net/rte_ether.h:21, from ../drivers/net/ena/ena_ethdev.h:10, from ../drivers/net/ena/ena_rss.c:6: In function =E2=80=98_mm256_loadu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9, inlined from =E2=80=98rte_mov128=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:344:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:438:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript 3 is outside array bounds of =E2=80=98uint8_t[40]= =E2=80=99 {aka =E2=80=98unsigned char[40]=E2=80=99} [-Warray-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_rss.c: In function =E2=80=98ena_rss_key_fill=E2=80= =99: ../drivers/net/ena/ena_rss.c:51:24: note: at offset 96 into object =E2=80=98default_key=E2=80=99 of size 40 51 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In file included from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.= h:43, from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.= h:32, from ../lib/eal/x86/include/rte_vect.h:31, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/net/rte_ether.h:21, from ../drivers/net/ena/ena_ethdev.h:10, from ../drivers/net/ena/ena_rss.c:6: In function =E2=80=98_mm256_loadu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9, inlined from =E2=80=98rte_mov64=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:331:2, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:445:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript =E2=80=98__m256i_u[1]=E2=80=99 is partly outside a= rray bounds of =E2=80=98const void[40]=E2=80=99 [-Warray-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_rss.c: In function =E2=80=98ena_rss_key_fill=E2=80= =99: ../drivers/net/ena/ena_rss.c:51:24: note: at offset 32 into object =E2=80=98default_key=E2=80=99 of size 40 51 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ In file included from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/immintrin.= h:43, from /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/x86intrin.= h:32, from ../lib/eal/x86/include/rte_vect.h:31, from ../lib/eal/x86/include/rte_memcpy.h:17, from ../lib/net/rte_ether.h:21, from ../drivers/net/ena/ena_ethdev.h:10, from ../drivers/net/ena/ena_rss.c:6: In function =E2=80=98_mm256_loadu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:450:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript [3, 288230376151711743] is outside array bounds of =E2=80=98const void[40]=E2=80=99 [-Warray-bounds] 929 | return *__P; | ^~~~ In function =E2=80=98_mm256_loadu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:451:4, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript [3, 288230376151711744] is outside array bounds of =E2=80=98const void[40]=E2=80=99 [-Warray-bounds] 929 | return *__P; | ^~~~ In function =E2=80=98_mm256_loadu_si256=E2=80=99, inlined from =E2=80=98rte_mov32=E2=80=99 at ../lib/eal/x86/include/rte_= memcpy.h:319:9, inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at ../lib/eal/x86/include/rte_memcpy.h:431:3, inlined from =E2=80=98rte_memcpy=E2=80=99 at ../lib/eal/x86/include/rte= _memcpy.h:882:10, inlined from =E2=80=98ena_rss_key_fill=E2=80=99 at ../drivers/net/ena/e= na_rss.c:62:2: /usr/local/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/12.0.0/include/avxintrin.= h:929:10: warning: array subscript =E2=80=98__m256i_u[0]=E2=80=99 is partly outside a= rray bounds of =E2=80=98uint8_t[40]=E2=80=99 {aka =E2=80=98unsigned char[40]=E2=80=99} [-W= array-bounds] 929 | return *__P; | ^~~~ ../drivers/net/ena/ena_rss.c: In function =E2=80=98ena_rss_key_fill=E2=80= =99: ../drivers/net/ena/ena_rss.c:51:24: note: at offset [17, 32] into object =E2=80=98default_key=E2=80=99 of size 40 51 | static uint8_t default_key[ENA_HASH_KEY_SIZE]; | ^~~~~~~~~~~ [183/183] Linking target app/test/dpdk-test --=20 You are receiving this mail because: You are the assignee for the bug.=