I applied this manually and have merged it now. Thanks,
Anuj On Wed, 2020-05-20 at 05:14 +0000, Anuj Mittal wrote: > Hi, > > This fails to apply: > > Applying: dpdk: fix compile failure on gcc10 > error: patch failed: recipes-extended/dpdk/dpdk.inc:70 > error: recipes-extended/dpdk/dpdk.inc: patch does not apply > Patch failed at 0001 dpdk: fix compile failure on gcc10 > hint: Use 'git am --show-current-patch' to see the failed patch > > Thanks, > > Anuj > > On Tue, 2020-05-19 at 18:31 -0700, Hongxu Jia wrote: > > Since oe-core upgraded gcc to 10.1, there is a failure > > ... > > > path_to_dpdk/19.11.1-r0/git/examples/ipsec- > > > secgw/ipsec_process.c:131:34: > > error: 'grp.m' may be used uninitialized in this function > > [-Werror=maybe-uninitialized] > > > 131 | grp[n].cnt = pkts + i - grp[n].m; > > ... > > > > Add option `-Wno-error=maybe-uninitialized' to workaround > > > > Signed-off-by: Hongxu Jia <[email protected]> > > --- > > recipes-extended/dpdk/dpdk.inc | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes- > > extended/dpdk/dpdk.inc > > index 2a20be2..ece4a46 100644 > > --- a/recipes-extended/dpdk/dpdk.inc > > +++ b/recipes-extended/dpdk/dpdk.inc > > @@ -70,6 +70,9 @@ DPDK_EXTRA_CFLAGS = "" > > DPDK_EXTRA_CFLAGS_qemux86 ?= "-march=corei7" > > DPDK_EXTRA_CFLAGS_qemux86-64 ?= "-march=corei7" > > > > +# Workaround failure on gcc10 > > +TOOLCHAIN_OPTIONS += "-Wno-error=maybe-uninitialized" > > + > > CONFIG_NAME = "common_linux" > > TEST_DIR = "test" > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6559): https://lists.yoctoproject.org/g/meta-intel/message/6559 Mute This Topic: https://lists.yoctoproject.org/mt/74340595/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
