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 14262A0562; Wed, 14 Apr 2021 15:04:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E91C4161AC1; Wed, 14 Apr 2021 15:04:51 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 85FB9161AB3 for ; Wed, 14 Apr 2021 15:04:51 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 6A790A0579; Wed, 14 Apr 2021 15:04:51 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 14 Apr 2021 13:04:51 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevuzaj@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 677] table test build warning on Fedora 34 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=3D677 Bug ID: 677 Summary: table test build warning on Fedora 34 Product: DPDK Version: unspecified Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: kevuzaj@gmail.com Target Milestone: --- table tests have build warnings on Fedora-34_Beta-1.3 with the latest packa= ges. [kevin@fedora ~]$ cat /etc/redhat-release=20 Fedora release 34 (Thirty Four) [kevin@fedora ~]$ uname -a Linux fedora 5.11.13-300.fc34.x86_64 #1 SMP Sun Apr 11 15:07:42 UTC 2021 x8= 6_64 x86_64 x86_64 GNU/Linux [kevin@fedora ~]$ gcc --version gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) [2662/2712] Compiling C object app/test/dpdk-test.p/test_table_tables.c.o ../app/test/test_table_tables.c: In function =E2=80=98test_table_stub=E2=80= =99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:151:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 151 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:153:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 153 | PREPARE_PACKET(mbufs[i], 0xadadadab); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c: In function =E2=80=98test_table_hash_lru_g= eneric=E2=80=99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:714:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 714 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:716:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 716 | PREPARE_PACKET(mbufs[i], 0xadadadab); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c: In function =E2=80=98test_table_hash_ext_g= eneric=E2=80=99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:824:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 824 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:826:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 826 | PREPARE_PACKET(mbufs[i], 0xadadadab); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c: In function =E2=80=98test_table_array=E2= =80=99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:261:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 261 | PREPARE_PACKET(mbufs[i], 10); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:263:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 263 | PREPARE_PACKET(mbufs[i], 20); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c: In function =E2=80=98test_table_lpm_ipv6= =E2=80=99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:610:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 610 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:612:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 612 | PREPARE_PACKET(mbufs[i], 0xadadadab); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c: In function =E2=80=98test_table_hash_cucko= o=E2=80=99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:1037:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 1037 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:1039:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 1039 | PREPARE_PACKET(mbufs[i], 0xadadadab); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c: In function =E2=80=98test_table_lpm=E2=80= =99: ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:432:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 432 | PREPARE_PACKET(mbufs[i], 0xadadadad); | ^~~~~~~~~~~~~~ ../app/test/test_table_tables.c:31:9: warning: =E2=80=98memset=E2=80=99 off= set [0, 31] is out of the bounds [0, 0] [-Warray-bounds] 31 | memset(key, 0, 32);=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 \ | ^~~~~~~~~~~~~~~~~~ ../app/test/test_table_tables.c:434:25: note: in expansion of macro =E2=80=98PREPARE_PACKET=E2=80=99 434 | PREPARE_PACKET(mbufs[i], 0xadadadab); | ^~~~~~~~~~~~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=