net/sfc build failure with clang 3.4.2
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: [email protected]
Reporter: [email protected]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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=760
Thomas Monjalon ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED--- Comment #2 from Thomas Monjalon ([email protected]) --- Resolved in http://git.dpdk.org/dpdk/commit/?id=634a9bcb0b
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.