DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 509] [dpdk-20.08] make failed with cflags -O1
@ 2020-07-17  8:59 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-07-17  8:59 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-17  8:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17  8:59 [dpdk-dev] [Bug 509] [dpdk-20.08] make failed with cflags -O1 bugzilla

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