All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 509] [dpdk-20.08] make failed with cflags -O1
Date: Fri, 17 Jul 2020 08:59:13 +0000	[thread overview]
Message-ID: <bug-509-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=509

            Bug ID: 509
           Summary: [dpdk-20.08] make failed with cflags -O1
           Product: DPDK
           Version: 20.08
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: mk
          Assignee: dev@dpdk.org
          Reporter: qimaix.xiao@intel.com
  Target Milestone: ---

Environment:

DPDK version:
origin  http://dpdk.org/git/dpdk (fetch)
origin  http://dpdk.org/git/dpdk (push)
466032ef8012a7fddd8dda986c5977e9341e3c35 refs/heads/master
Other software versions: qemu/QEMU emulator version 4.2.1 (v4.2.1-dirty)
OS: Linux tester 5.4.0-39-generic #43-Ubuntu SMP Fri Jun 19 10:28:31 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
Compiler: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
NIC hardware: Fortville
NIC firmware: 
driver: i40e
version: 2.8.20-k
firmware-version: 7.10 0x80006700 1.2527.0

Test Setup:

export EXTRA_CFLAGS='-O1'
export RTE_TARGET=x86_64-native-linuxapp-gcc
export RTE_SDK=`pwd`;
make -j110 install T=x86_64-native-linuxapp-gcc MAKE_PAUSE=n

Show the output from the previous commands:

# 
...
  INSTALL-LIB librte_pmd_octeontx2.a
 /root/dpdk/drivers/net/bnxt/bnxt_txr.c: In function ‘bnxt_xmit_pkts’:
/root/dpdk/drivers/net/bnxt/bnxt_txr.c:227:22: error: ‘cfa_action’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
  227 |    txbd1->cfa_action = cfa_action;
      |    ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/root/dpdk/drivers/net/bnxt/bnxt_txr.c:114:27: note: ‘cfa_action’ was declared
here
  114 |  uint32_t vlan_tag_flags, cfa_action;
      |                           ^~~~~~~~~~
cc1: all warnings being treated as errors
make[6]: *** [/root/dpdk/mk/internal/rte.compile-pre.mk:116: bnxt_txr.o] Error
1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/root/dpdk/mk/rte.subdir.mk:35: bnxt] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/root/dpdk/mk/rte.subdir.mk:35: net] Error 2
make[3]: *** [/root/dpdk/mk/rte.sdkbuild.mk:53: drivers] Error 2
make[2]: *** [/root/dpdk/mk/rte.sdkroot.mk:115: all] Error 2
make[1]: *** [/root/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
make: *** [/root/dpdk/mk/rte.sdkroot.mk:92: install] Error 2

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2020-07-17  8:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bug-509-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /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 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.