From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 330CBA0528; Fri, 17 Jul 2020 10:59:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0730A1BF9D; Fri, 17 Jul 2020 10:59:16 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 7A7F21BF9C for ; Fri, 17 Jul 2020 10:59:14 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 61790A053D; Fri, 17 Jul 2020 10:59:14 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 17 Jul 2020 08:59:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: mk X-Bugzilla-Version: 20.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qimaix.xiao@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 509] [dpdk-20.08] make failed with cflags -O1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D509 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 20= 20 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:=20 driver: i40e version: 2.8.20-k firmware-version: 7.10 0x80006700 1.2527.0 Test Setup: export EXTRA_CFLAGS=3D'-O1' export RTE_TARGET=3Dx86_64-native-linuxapp-gcc export RTE_SDK=3D`pwd`; make -j110 install T=3Dx86_64-native-linuxapp-gcc MAKE_PAUSE=3Dn Show the output from the previous commands: #=20 ... INSTALL-LIB librte_pmd_octeontx2.a /root/dpdk/drivers/net/bnxt/bnxt_txr.c: In function =E2=80=98bnxt_xmit_pkt= s=E2=80=99: /root/dpdk/drivers/net/bnxt/bnxt_txr.c:227:22: error: =E2=80=98cfa_action= =E2=80=99 may be used uninitialized in this function [-Werror=3Dmaybe-uninitialized] 227 | txbd1->cfa_action =3D cfa_action; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /root/dpdk/drivers/net/bnxt/bnxt_txr.c:114:27: note: =E2=80=98cfa_action=E2= =80=99 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] Er= ror 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 --=20 You are receiving this mail because: You are the assignee for the bug.=