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 9C24BA04AF; Sun, 3 May 2020 13:30:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 079EF1D539; Sun, 3 May 2020 13:30:54 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 2B27A1D531 for ; Sun, 3 May 2020 13:30:52 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 0069AA04B2; Sun, 3 May 2020 13:30:51 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Sun, 03 May 2020 11:30:51 +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: 20.05 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 468] bnxt: build fail with gcc10 default fno-common 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=3D468 Bug ID: 468 Summary: bnxt: build fail with gcc10 default fno-common Product: DPDK Version: 20.05 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: kevuzaj@gmail.com Target Milestone: --- Fedora 32 packages gcc10. In gcc10 fno-common is default (https://gcc.gnu.org/gcc-10/porting_to.html). This causes a build fail with bnxt driver. Build passes with '-fcommon' fla= g. [878/2235] Linking target drivers/librte_pmd_bnxt.so.20.0.2. FAILED: drivers/librte_pmd_bnxt.so.20.0.2=20 cc -o drivers/librte_pmd_bnxt.so.20.0.2 'drivers/a715181@@rte_pmd_bnxt@sha/meson-generated_.._rte_pmd_bnxt.pmd.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_cpr.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_filter.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_flow.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_hwrm.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_irq.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ring.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_rxq.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_rxr.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_stats.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_txq.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_txr.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_util.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_vnic.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_core.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_bitalloc.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_rand.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_stack.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_em.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_rm.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tfp.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_bnxt_ulp.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_mark_mgr.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_flow_db.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_template_db.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_utils.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_mapper.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_matcher.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_rte_parser.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_bnxt_ulp_flow.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_ulp_ulp_port_db.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_rte_pmd_bnxt.c.o' 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_rxtx_vec_sse.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_pmd_bnxt.so.20.0 -Wl,--no-as-needed -pthread -lm -ldl -l= numa lib/librte_ethdev.so.20.0.2 lib/librte_eal.so.20.0.2 lib/librte_kvargs.so.20.0.2 lib/librte_net.so.20.0.2 lib/librte_mbuf.so.20.= 0.2 lib/librte_mempool.so.20.0.2 lib/librte_ring.so.20.0.2 lib/librte_meter.so.20.0.2 drivers/librte_bus_pci.so.20.0.2 lib/librte_pci.so.20.0.2 drivers/librte_bus_vdev.so.20.0.2 -Wl,--end-group -Wl,--version-script=3D/root/dpdk/drivers/net/bnxt/rte_pmd_bnxt_version.map '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/dpdk/build/lib -Wl,-rpath-link,/root/dpdk/build/drivers /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x0= ): multiple definition of `p994'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x0= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x1= ): multiple definition of `p975'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x1= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x2= ): multiple definition of `p966'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x2= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x3= ): multiple definition of `p943'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x3= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x4= ): multiple definition of `p934'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x4= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x5= ): multiple definition of `p917'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x5= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x6= ): multiple definition of `p896'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x6= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x7= ): multiple definition of `p828'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x7= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x8= ): multiple definition of `p760'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x8= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x9= ): multiple definition of `p698'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x9= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0xa= ): multiple definition of `p657'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0xa= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0xb= ): multiple definition of `p590'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0xb= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0xc= ): multiple definition of `p577'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0xc= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0xd= ): multiple definition of `p474'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0xd= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0xe= ): multiple definition of `p371'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0xe= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0xf= ): multiple definition of `p278'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0xf= ): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x1= 0): multiple definition of `p219'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x1= 0): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x1= 1): multiple definition of `p114'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x1= 1): first defined here /usr/bin/ld: drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x1= 2): multiple definition of `p101'; drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x1= 2): first defined here --=20 You are receiving this mail because: You are the assignee for the bug.=