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 EF5ABA0032; Mon, 13 Dec 2021 10:08:29 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C87440E09; Mon, 13 Dec 2021 10:08:29 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 8479840140 for ; Mon, 13 Dec 2021 10:08:28 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5BA53A00BE; Mon, 13 Dec 2021 10:08:28 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 904] [dpdk-19.11.11] Meson build has some failures on Fedora35 with clang 13.0.0 Date: Mon, 13 Dec 2021 09:08:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: meson X-Bugzilla-Version: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: longfengx.liang@intel.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 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 https://bugs.dpdk.org/show_bug.cgi?id=3D904 Bug ID: 904 Summary: [dpdk-19.11.11] Meson build has some failures on Fedora35 with clang 13.0.0 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: meson Assignee: dev@dpdk.org Reporter: longfengx.liang@intel.com Target Milestone: --- 1.DPDK version: commit 928100dd6d30e733be411380fdb78c68a061936c (HEAD, tag: v19.11.11-rc1, origin/19.11) Author: Christian Ehrhardt Date: Thu Dec 9 15:33:57 2021 +0100 version: 19.11.11-rc1 Signed-off-by: Christian Ehrhardt 2.OS version: OS: Fedora35 /5.14.17-301.fc35.x86_64 gcc version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) clang version: clang version 13.0.0 (Fedora 13.0.0~rc1-1.fc35) ninja version: 1.10.2.git.kitware.jobserver-1 meson version: 0.60.1 3.build cmd: CC=3Dclang meson setup build-clang && ninja -C build-clang 4.Error info: Found ninja-1.10.2.git.kitware.jobserver-1 at /usr/local/bin/ninja Cleaning... 4 files. [47/1915] Compiling C object lib/librte_eal.a.p/librte_eal_linux_eal_eal.c.o ../lib/librte_eal/linux/eal/eal.c:590:11: warning: variable 'total_mem' set= but not used [-Wunused-but-set-variable] uint64_t total_mem =3D 0; ^ 1 warning generated. [208/1915] Compiling C object lib/librte_power.a.p/librte_power_rte_power_empty_poll.c.o ../lib/librte_power/rte_power_empty_poll.c:210:25: warning: variable 'tot_p= pi' set but not used [-Wunused-but-set-variable] uint64_t tot_edpi =3D 0, tot_ppi =3D 0; ^ 1 warning generated. [444/1915] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_fslmc_bus.c.o ../drivers/bus/fslmc/fslmc_bus.c:311:6: warning: variable 'device_count' set but not used [-Wunused-but-set-variable] int device_count =3D 0; ^ 1 warning generated. [870/1915] Compiling C object drivers/net/hinic/base/libhinic_base.a.p/hinic_pmd_mgmt.c.o ../drivers/net/hinic/base/hinic_pmd_mgmt.c:136:6: warning: variable 'cmd_buf_max' set but not used [-Wunused-but-set-variable] u32 cmd_buf_max =3D MAX_PF_MGMT_BUF_SIZE; ^ ../drivers/net/hinic/base/hinic_pmd_mgmt.c:613:6: warning: variable 'msg_buf_max' set but not used [-Wunused-but-set-variable] u32 msg_buf_max =3D MAX_PF_MGMT_BUF_SIZE; ^ 2 warnings generated. [894/1915] Compiling C object app/test/dpdk-test.p/test_cmdline_ipaddr.c.o ../app/test/test_cmdline_ipaddr.c:259:3: warning: suspicious concatenation = of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation] "random invalid text", ^ ../app/test/test_cmdline_ipaddr.c:258:3: note: place parentheses around the string literal to silence warning "1234:1234:1234:1234:1234:1234:1234:1234:1234:1234:1234" ^ 1 warning generated. [902/1915] Compiling C object app/test/dpdk-test.p/test_cmdline_num.c.o ../app/test/test_cmdline_num.c:204:5: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation] =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 "1111000011110000111100001111000011110000111100001111000011110000", ^ ../app/test/test_cmdline_num.c:203:3: note: place parentheses around the st= ring literal to silence warning =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 "0b1111000011110000111100001111000011110000111100001111000011110000" ^ 1 warning generated. [958/1915] Compiling C object drivers/libtmp_rte_pmd_ifc.a.p/net_ifc_ifcvf_vdpa.c.o In file included from ../drivers/net/ifc/ifcvf_vdpa.c:25: ../drivers/net/ifc/base/ifcvf.h:16:9: warning: 'VIRTIO_F_IOMMU_PLATFORM' ma= cro redefined [-Wmacro-redefined] #define VIRTIO_F_IOMMU_PLATFORM 33 ^ /usr/include/linux/virtio_config.h:78:9: note: previous definition is here #define VIRTIO_F_IOMMU_PLATFORM VIRTIO_F_ACCESS_PLATFORM ^ 1 warning generated. [1026/1915] Compiling C object drivers/libtmp_rte_pmd_liquidio.a.p/net_liquidio_lio_rxtx.c.o ../drivers/net/liquidio/lio_rxtx.c:1053:11: warning: variable 'tot_inst_processed' set but not used [-Wunused-but-set-variable] uint32_t tot_inst_processed =3D 0; ^ 1 warning generated. [1084/1915] Compiling C object drivers/libtmp_rte_pmd_nfp.a.p/net_nfp_nfp_net.c.o ../drivers/net/nfp/nfp_net.c:2597:11: warning: variable 'rss_hf' set but not used [-Wunused-but-set-variable] uint64_t rss_hf; ^ ../drivers/net/nfp/nfp_net.c:3014:24: warning: variable 'totlen' set but not used [-Wunused-but-set-variable] size_t count, curlen, totlen =3D 0; ^ ../drivers/net/nfp/nfp_net.c:3116:24: warning: variable 'totlen' set but not used [-Wunused-but-set-variable] size_t count, curlen, totlen =3D 0; ^ 3 warnings generated. [1158/1915] Compiling C object drivers/net/qede/base/libqede_base.a.p/ecore_vf.c.o ../drivers/net/qede/base/ecore_vf.c:76:19: warning: parameter 'resp_size' s= et but not used [-Wunused-but-set-parameter] u8 *done, u32 resp_size) ^ 1 warning generated. [1343/1915] Compiling C object drivers/libtmp_rte_pmd_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o ../drivers/net/vmxnet3/vmxnet3_rxtx.c:330:6: warning: variable 'completed' = set but not used [-Wunused-but-set-variable] int completed =3D 0; ^ 1 warning generated. [1440/1915] Linking target drivers/librte_pmd_aesni_gcm.so.20.0 FAILED: drivers/librte_pmd_aesni_gcm.so.20.0 clang -o drivers/librte_pmd_aesni_gcm.so.20.0 drivers/librte_pmd_aesni_gcm.so.20.0.p/meson-generated_.._rte_pmd_aesni_gcm= .pmd.c.o drivers/libtmp_rte_pmd_aesni_gcm.a.p/crypto_aesni_gcm_aesni_gcm_pmd.c.o drivers/libtmp_rte_pmd_aesni_gcm.a.p/crypto_aesni_gcm_aesni_gcm_pmd_ops.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,librte_pmd_aesni_gcm.so.20.0 -Wl,--no-as-needed -pthread -lm -l= dl -lnuma '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/root/19.11.11-lts/build-clang/lib -Wl,-rpath-link,/root/19.11.11-lts/build-clang/drivers lib/librte_cryptodev.so.20.0 lib/librte_eal.so.20.0 lib/librte_kvargs.so.20= .0 lib/librte_mbuf.so.20.0 lib/librte_mempool.so.20.0 lib/librte_ring.so.20.0 drivers/librte_bus_vdev.so.20.0 -Wl,--version-script=3D/root/19.11.11-lts/drivers/crypto/aesni_gcm/rte_pmd_= aesni_gcm_version.map -lIPSec_MB -Wl,--end-group /usr/bin/ld: drivers/libtmp_rte_pmd_aesni_gcm.a.p/crypto_aesni_gcm_aesni_gcm_pmd_ops.c.o= :(.bss+0x0): multiple definition of `aesni_gcm_logtype_driver'; drivers/libtmp_rte_pmd_aesni_gcm.a.p/crypto_aesni_gcm_aesni_gcm_pmd.c.o:(.b= ss+0x0): first defined here clang-13: error: linker command failed with exit code 1 (use -v to see invocation) [1449/1915] Compiling C object drivers/libtmp_rte_pmd_dpaa_sec.a.p/crypto_dpaa_sec_dpaa_sec.c.o ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=