DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 468] bnxt: build fail with gcc10 default fno-common
@ 2020-05-03 11:30 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-05-03 11:30 UTC (permalink / raw)
  To: dev

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

            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' flag.


[878/2235] Linking target drivers/librte_pmd_bnxt.so.20.0.2.
FAILED: drivers/librte_pmd_bnxt.so.20.0.2 
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 -lnuma
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=/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+0x10):
multiple definition of `p219';
drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x10):
first defined here
/usr/bin/ld:
drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x11):
multiple definition of `p114';
drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x11):
first defined here
/usr/bin/ld:
drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_tbl.c.o:(.bss+0x12):
multiple definition of `p101';
drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_tf_core_tf_msg.c.o:(.bss+0x12):
first defined here

-- 
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-05-03 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03 11:30 [dpdk-dev] [Bug 468] bnxt: build fail with gcc10 default fno-common 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).