From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3ED85A0548; Mon, 26 Apr 2021 18:00:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A2A841110; Mon, 26 Apr 2021 18:00:34 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 0B12541104 for ; Mon, 26 Apr 2021 18:00:33 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id ED83DA09E4; Mon, 26 Apr 2021 18:00:32 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Mon, 26 Apr 2021 16:00:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevuzaj@gmail.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 692] bnx2x build fail on Fedora 34 with gcc 11 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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=3D692 Bug ID: 692 Summary: bnx2x build fail on Fedora 34 with gcc 11 Product: DPDK Version: unspecified Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: kevuzaj@gmail.com Target Milestone: --- [kevin@fedora dpdk]$ cat /etc/redhat-release=20 Fedora release 34 (Thirty Four) [kevin@fedora dpdk]$ uname -a Linux fedora 5.11.15-300.fc34.x86_64 #1 SMP Fri Apr 16 13:41:48 UTC 2021 x8= 6_64 x86_64 x86_64 GNU/Linux [kevin@fedora dpdk]$ gcc --version gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) [kevin@fedora dpdk]$ ./devtools/test-meson-builds.sh=20 ninja: Entering directory `./build-gcc-static' [842/2503] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_rxtx.c.o FAILED: drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_rxtx.c.o=20 gcc -Idrivers/libtmp_rte_net_bnx2x.a.p -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BIT= S=3D64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-align= ed -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DZLIB_CONST -MD -MQ drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_rxtx.c.o -MF drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_rxtx.c.o.d -o drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x_rxtx.c.o -c ../drivers/net/bnx2x/bnx2x_rxtx.c In file included from ../drivers/net/bnx2x/bnx2x_rxtx.c:8: ../drivers/net/bnx2x/bnx2x_rxtx.c: In function =E2=80=98bnx2x_upd_rx_prod_f= ast=E2=80=99: ../drivers/net/bnx2x/bnx2x.h:1528:35: error: =E2=80=98rx_prods=E2=80=99 is = used uninitialized [-Werror=3Duninitialized] 1528 | #define REG_WR32(sc, offset, val) bnx2x_reg_write32(sc, (offset), v= al) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ ../drivers/net/bnx2x/bnx2x.h:1531:33: note: in expansion of macro =E2=80=98= REG_WR32=E2=80=99 1531 | #define REG_WR(sc, offset, val) REG_WR32(sc, offset, val) | ^~~~~~~~ ../drivers/net/bnx2x/bnx2x_rxtx.c:331:9: note: in expansion of macro =E2=80= =98REG_WR=E2=80=99 331 | REG_WR(sc, fp->ustorm_rx_prods_offset, val[0]); | ^~~~~~ ../drivers/net/bnx2x/bnx2x_rxtx.c:324:40: note: =E2=80=98rx_prods=E2=80=99 = declared here 324 | struct ustorm_eth_rx_producers rx_prods =3D { 0 }; | ^~~~~~~~ cc1: all warnings being treated as errors [846/2503] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o FAILED: drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o=20 gcc -Idrivers/libtmp_rte_net_bnx2x.a.p -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BIT= S=3D64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-align= ed -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DZLIB_CONST -MD -MQ drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o -MF drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o.d -o drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o -c ../drivers/net/bnx2x/bnx2x.c In file included from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x.c: In function =E2=80=98bnx2x_hc_ack_sb=E2=80=99: ../drivers/net/bnx2x/bnx2x.h:1528:35: error: =E2=80=98igu_ack=E2=80=99 is u= sed uninitialized [-Werror=3Duninitialized] 1528 | #define REG_WR32(sc, offset, val) bnx2x_reg_write32(sc, (offset), v= al) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~ ../drivers/net/bnx2x/bnx2x.h:1531:33: note: in expansion of macro =E2=80=98= REG_WR32=E2=80=99 1531 | #define REG_WR(sc, offset, val) REG_WR32(sc, offset, val) | ^~~~~~~~ ../drivers/net/bnx2x/bnx2x.h:1916:9: note: in expansion of macro =E2=80=98R= EG_WR=E2=80=99 1916 | REG_WR(sc, hc_addr, *val); | ^~~~~~ ../drivers/net/bnx2x/bnx2x.h:1905:33: note: =E2=80=98igu_ack=E2=80=99 decla= red here 1905 | struct igu_ack_register igu_ack; | ^~~~~~~ cc1: all warnings being treated as errors [847/2503] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=