DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 760] net/sfc build failure with clang 3.4.2
@ 2021-07-20 18:26 bugzilla
  2021-11-26 18:02 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-07-20 18:26 UTC (permalink / raw)
  To: dev

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

            Bug ID: 760
           Summary: net/sfc build failure with clang 3.4.2
           Product: DPDK
           Version: 21.08
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  Target Milestone: ---

"""
$ meson --werror --buildtype=debugoptimized build && ninja-build -C build
...
[1913/2797] Linking target drivers/librte_net_sfc.so.21.3
FAILED: drivers/librte_net_sfc.so.21.3 
clang  -o drivers/librte_net_sfc.so.21.3
drivers/librte_net_sfc.so.21.3.p/meson-generated_.._rte_net_sfc.pmd.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ethdev.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_kvargs.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mcdi.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_sriov.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_intr.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ev.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_port.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_rx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_tx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_tso.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_filter.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_switch.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae_counter.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_flow.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_dp.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ef10_rx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ef10_essb_rx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ef10_tx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ef100_rx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_ef100_tx.c.o
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_service.c.o -Wl,--as-needed
-Wl,--no-undefined -shared -fPIC -Wl,--start-group
-Wl,-soname,librte_net_sfc.so.21 -Wl,--no-as-needed -pthread -lm -ldl -lnuma
lib/librte_ethdev.so.21.3 lib/librte_eal.so.21.3 lib/librte_kvargs.so.21.3
lib/librte_telemetry.so.21.3 lib/librte_net.so.21.3 lib/librte_mbuf.so.21.3
lib/librte_mempool.so.21.3 lib/librte_ring.so.21.3 lib/librte_meter.so.21.3
drivers/librte_bus_pci.so.21.3 lib/librte_pci.so.21.3
drivers/librte_bus_vdev.so.21.3 drivers/librte_common_sfc_efx.so.21.3
-Wl,--end-group -Wl,--version-script=/root/dpdk/drivers/net/sfc/version.map
'-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/'
-Wl,-rpath-link,/tmp/build-x86_64-clang/lib
-Wl,-rpath-link,/tmp/build-x86_64-clang/drivers
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae_counter.c.o: In function
`sfc_mae_counter_enable':
/tmp/build-x86_64-clang/../../root/dpdk/drivers/net/sfc/sfc_mae_counter.c:98:
undefined reference to `__atomic_store'
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae_counter.c.o: In function
`sfc_mae_counter_get':
/tmp/build-x86_64-clang/../../root/dpdk/drivers/net/sfc/sfc_mae_counter.c:813:
undefined reference to `__atomic_load'
drivers/libtmp_rte_net_sfc.a.p/net_sfc_sfc_mae_counter.c.o: In function
`sfc_mae_counter_increment':
/tmp/build-x86_64-clang/../../root/dpdk/drivers/net/sfc/sfc_mae_counter.c:210:
undefined reference to `__atomic_store'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[1915/2797] Compiling C object
drivers/libtm...tnic.a.p/net_softnic_rte_eth_softnic_cli.c.o
ninja: build stopped: subcommand failed.
"""

OS: CentOS 7
clang: 3.4.2
meson: 0.55.1
ninja-build: 1.10.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-26 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 18:26 [dpdk-dev] [Bug 760] net/sfc build failure with clang 3.4.2 bugzilla
2021-11-26 18:02 ` 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).