From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 760] net/sfc build failure with clang 3.4.2
Date: Tue, 20 Jul 2021 18:26:48 +0000 [thread overview]
Message-ID: <bug-760-3@http.bugs.dpdk.org/> (raw)
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.
next reply other threads:[~2021-07-20 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 18:26 bugzilla [this message]
2021-11-26 18:02 ` bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-760-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).