DPDK patches and discussions
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: "Mcnamara, John" <john.mcnamara@intel.com>,
	Andrzej Ostruszka <aostruszka@marvell.com>
Cc: "Zhang, XuemingX" <xuemingx.zhang@intel.com>,
	"Daly, Lee" <lee.daly@intel.com>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] avp_ethdev.c failed to build on Fedora32 gcc10
Date: Thu, 16 Apr 2020 12:06:15 +0100	[thread overview]
Message-ID: <732a895c-4d7d-6422-7eed-7c6cf76a7bfe@redhat.com> (raw)
In-Reply-To: <BYAPR11MB367189B5A6BD1444A76C24E0FCD80@BYAPR11MB3671.namprd11.prod.outlook.com>

On 16/04/2020 12:02, Mcnamara, John wrote:
> Resend to dev@dpdk.org
> 
> 
> 
> 
> 
> GCC 10 compilation failure in drivers/net/avp/avp_ethdev.c on Fedora32
>>
> 
> 
> 
> Environment
> 
> ===========
> 
> 
> 
>     commit 10c69730a4b4910b4d57c365329a6c26479d25cd (HEAD -> master, origin/master, origin/HEAD)
> 
>     Author: Andrzej Ostruszka <aostruszka@marvell.com<mailto:aostruszka@marvell.com>>
> 
>     Date: Tue Mar 10 10:13:26 2020 +0100
> 
> 
> 
>     lpm6: make IPv6 address immutable
> 
> 
> 
>     OS:Linux Fedora32  5.6.0-0.rc7.git0.2.fc32.x86_64 #1 SMP Mon Mar 23 18:38:45 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> 
>     Compiler:gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
> 
> 
> 
> Test Setup
> 
> ==========
> 
> 
> 
> Steps to reproduce
> 
> 
> 
>     export RTE_TARGET=x86_64-native-linuxapp-gcc
> 
>     export RTE_SDK=`pwd`
> 
>     git apply {http://patches.dpdk.org/project/dpdk/list/?series=9038}
> 
>     make -j install T=x86_64-native-linuxapp-gcc
> 
>     Show the output from the previous commands.
> 
>     /root/dpdk/drivers/net/avp/avp_ethdev.c: In function 'avp_xmit_scattered_pkts':
> 
>     /root/dpdk/drivers/net/avp/avp_ethdev.c:1791:24: error: 'avp_bufs[count]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> 
>     1791 |   tx_bufs[i] = avp_bufs[count];
> 
>           |                ~~~~~~~~^~~~~~~
> 
>     /root/dpdk/drivers/net/avp/avp_ethdev.c:1791:24: error: 'avp_bufs[count]' may be used uninitialized in this function [-Werror=maybe-uninitialized]
> 
>     == Build drivers/crypto/octeontx2
> 
>     cc1: all warnings being treated as errors
> 
>     make[6]: *** [/root/dpdk/mk/internal/rte.compile-pre.mk:116: avp_ethdev.o] Error 1
> 
>     make[5]: *** [/root/dpdk/mk/rte.subdir.mk:37: avp] Error 2
> 
>     make[4]: *** [/root/dpdk/mk/rte.subdir.mk:37: net] Error 2
> 
>     make[4]: *** Waiting for unfinished jobs....
> 
> 
> 

Hi John, this will take care of it,

https://patchwork.dpdk.org/patch/66540/

Kevin.


      reply	other threads:[~2020-04-16 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16 11:02 Mcnamara, John
2020-04-16 11:06 ` Kevin Traynor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=732a895c-4d7d-6422-7eed-7c6cf76a7bfe@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=aostruszka@marvell.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=john.mcnamara@intel.com \
    --cc=lee.daly@intel.com \
    --cc=xuemingx.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).