[dpdk-dev] [Bug 857] gcc12 build error, lib/mbuf
bugzilla at dpdk.org
bugzilla at dpdk.org
Thu Oct 28 14:41:39 CEST 2021
https://bugs.dpdk.org/show_bug.cgi?id=857
Bug ID: 857
Summary: gcc12 build error, lib/mbuf
Product: DPDK
Version: 20.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev at dpdk.org
Reporter: ferruh.yigit at intel.com
Target Milestone: ---
With gcc 12.0.0 "gcc (GCC) 12.0.0 20211024 (experimental)"
../lib/mbuf/rte_mbuf_dyn.c: In function ‘rte_mbuf_dynflag_lookup’:
../lib/mbuf/rte_mbuf_dyn.c:397:17: warning: ‘memcpy’ reading 68 bytes from a
region of size 64 [-Wstringop-overread]
397 | memcpy(params, &mbuf_dynflag->params, sizeof(*params));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../lib/mbuf/rte_mbuf_dyn.c:18:
../lib/mbuf/rte_mbuf_dyn.h:98:14: note: source object ‘name’ of size 64
98 | char name[RTE_MBUF_DYN_NAMESIZE]; /**< Name of the dynamic
flag. */
| ^~~~
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list