DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Mcnamara, John" <john.mcnamara@intel.com>
To: 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: [dpdk-dev] avp_ethdev.c failed to build on Fedora32 gcc10
Date: Thu, 16 Apr 2020 11:02:04 +0000	[thread overview]
Message-ID: <BYAPR11MB367189B5A6BD1444A76C24E0FCD80@BYAPR11MB3671.namprd11.prod.outlook.com> (raw)

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....




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

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

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=BYAPR11MB367189B5A6BD1444A76C24E0FCD80@BYAPR11MB3671.namprd11.prod.outlook.com \
    --to=john.mcnamara@intel.com \
    --cc=aostruszka@marvell.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@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).