* [dpdk-dev] [Bug 677] table test build warning on Fedora 34
@ 2021-04-14 13:04 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-04-14 13:04 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=677
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 packages.
[kevin@fedora ~]$ cat /etc/redhat-release
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 x86_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 ‘test_table_stub’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:151:25: note: in expansion of macro
‘PREPARE_PACKET’
151 | PREPARE_PACKET(mbufs[i], 0xadadadad);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:153:25: note: in expansion of macro
‘PREPARE_PACKET’
153 | PREPARE_PACKET(mbufs[i], 0xadadadab);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c: In function ‘test_table_hash_lru_generic’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:714:25: note: in expansion of macro
‘PREPARE_PACKET’
714 | PREPARE_PACKET(mbufs[i], 0xadadadad);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:716:25: note: in expansion of macro
‘PREPARE_PACKET’
716 | PREPARE_PACKET(mbufs[i], 0xadadadab);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c: In function ‘test_table_hash_ext_generic’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:824:25: note: in expansion of macro
‘PREPARE_PACKET’
824 | PREPARE_PACKET(mbufs[i], 0xadadadad);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:826:25: note: in expansion of macro
‘PREPARE_PACKET’
826 | PREPARE_PACKET(mbufs[i], 0xadadadab);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c: In function ‘test_table_array’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:261:25: note: in expansion of macro
‘PREPARE_PACKET’
261 | PREPARE_PACKET(mbufs[i], 10);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:263:25: note: in expansion of macro
‘PREPARE_PACKET’
263 | PREPARE_PACKET(mbufs[i], 20);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c: In function ‘test_table_lpm_ipv6’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:610:25: note: in expansion of macro
‘PREPARE_PACKET’
610 | PREPARE_PACKET(mbufs[i], 0xadadadad);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:612:25: note: in expansion of macro
‘PREPARE_PACKET’
612 | PREPARE_PACKET(mbufs[i], 0xadadadab);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c: In function ‘test_table_hash_cuckoo’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:1037:25: note: in expansion of macro
‘PREPARE_PACKET’
1037 | PREPARE_PACKET(mbufs[i], 0xadadadad);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:1039:25: note: in expansion of macro
‘PREPARE_PACKET’
1039 | PREPARE_PACKET(mbufs[i], 0xadadadab);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c: In function ‘test_table_lpm’:
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:432:25: note: in expansion of macro
‘PREPARE_PACKET’
432 | PREPARE_PACKET(mbufs[i], 0xadadadad);
| ^~~~~~~~~~~~~~
../app/test/test_table_tables.c:31:9: warning: ‘memset’ offset [0, 31] is out
of the bounds [0, 0] [-Warray-bounds]
31 | memset(key, 0, 32);
\
| ^~~~~~~~~~~~~~~~~~
../app/test/test_table_tables.c:434:25: note: in expansion of macro
‘PREPARE_PACKET’
434 | PREPARE_PACKET(mbufs[i], 0xadadadab);
| ^~~~~~~~~~~~~~
--
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:[~2021-04-14 13:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-14 13:04 [dpdk-dev] [Bug 677] table test build warning on Fedora 34 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.