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 616D4A00C3; Wed, 7 Dec 2022 06:51:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FCE8410FB; Wed, 7 Dec 2022 06:51:38 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 4963A410D7 for ; Wed, 7 Dec 2022 06:51:37 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 2F34FA00C5; Wed, 7 Dec 2022 06:51:37 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1140] [19.11.14-rc1] app/test-pmd/config meson build failed with clangClang15.0.4 on Fedora37/64 Date: Wed, 07 Dec 2022 05:51:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: daxuex.gao@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=3D1140 Bug ID: 1140 Summary: [19.11.14-rc1] app/test-pmd/config meson build failed with clangClang15.0.4 on Fedora37/64 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: major Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: daxuex.gao@intel.com Target Milestone: --- [DPDK version] commit f99f2e55af7a49a6ee6555a5554847094086017f Author: Christian Ehrhardt Date: Mon Nov 28 11:46:00 2022 +0100 version: 19.11.14-rc1 Signed-off-by: Christian Ehrhardt [OS version] fedora37/5.19.0-21-generic clang v15.04 [Test Setup] CC=3Dclang meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples= =3Dall --default-library=3Dstatic x86_64-native-linuxapp-clang ninja -j 10 -C x86_64-native-linuxapp-clang [Error log] Target: x86_64-native-linuxapp-clang FAILED: app/dpdk-testpmd.p/test-pmd_config.c.o=20 clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte= _net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mem= pool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_g= ro -Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_metrics -I../lib/librte_metrics -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_pdump -I../lib/librte_pdu= mp -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Idrivers/net/softnic -I../drivers/net/softnic -Ilib/librte_pipeline -I../lib/librte_pipeline -Ilib/librte_port -I../lib/librte_port -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_table -I../lib/librte_tab= le -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -fcolor-diagnost= ics -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-exte= rns -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=3Dnative -Wno-deprecated-declarations -DRTE_LIBRTE_IXGBE_BYPASS -DALLOW_EXPERIMENTAL= _API -MD -MQ app/dpdk-testpmd.p/test-pmd_config.c.o -MF app/dpdk-testpmd.p/test-pmd_config.c.o.d -o app/dpdk-testpmd.p/test-pmd_config.c.o -c ../app/test-pmd/config.c ../app/test-pmd/config.c:1460:11: error: variable 'c' set but not used [-Werror,-Wunused-but-set-variable] uint32_t c =3D 0; ^ 1 error generated. [1855/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o [1856/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o [1857/2195] Compiling C object examples/dpdk-ethtool.p/ethtool_lib_rte_ethtool.c.o [1858/2195] Compiling C object app/test/dpdk-test.p/test_byteorder.c.o [1859/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_macswap.c.o [1860/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o [1861/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o [1862/2195] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker.c.o [1863/2195] Compiling C object drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual= .c.o ninja: build stopped [Bad commit] commit b06fc3d2a7eaca271eca9cbd6a2f7111f0fb50c0 Author: David Marchand Date: Fri Nov 18 09:53:12 2022 +0100 test/member: fix build with clang 15 [ upstream commit 8f8ed0c1f7f20d821eba41f51243e805b66e2579 ] This local variable hides the more global one. The original intent was probably to use the global one. Fixes: 0cc67a96e486 ("test/member: add functional and perf tests") Signed-off-by: David Marchand Acked-by: Tyler Retzlaff --=20 You are receiving this mail because: You are the assignee for the bug.=