From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1410A0C4B; Tue, 20 Jul 2021 20:26:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A3954068B; Tue, 20 Jul 2021 20:26:50 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id F294E40689 for ; Tue, 20 Jul 2021 20:26:49 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id C9286A0C4C; Tue, 20 Jul 2021 20:26:49 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 20 Jul 2021 18:26:48 +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: 21.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alialnu@nvidia.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 760] net/sfc build failure with clang 3.4.2 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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=3D760 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=3Ddebugoptimized build && ninja-build -C build ... [1913/2797] Linking target drivers/librte_net_sfc.so.21.3 FAILED: drivers/librte_net_sfc.so.21.3=20 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=3D/root/dpdk/drivers/net/sfc/version.m= ap '-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:9= 8: 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:8= 13: 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:2= 10: undefined reference to `__atomic_store' clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) [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 --=20 You are receiving this mail because: You are the assignee for the bug.=