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 66ED3A0544; Fri, 18 Nov 2022 04:24:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13CAB4067B; Fri, 18 Nov 2022 04:24:16 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id F10954021F for ; Fri, 18 Nov 2022 04:24:14 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id DAAF5A0545; Fri, 18 Nov 2022 04:24:14 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1130] [22.11-rc3] lib/eal meson build error with clang15.0.4 on Fedora37 Date: Fri, 18 Nov 2022 03:24:14 +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: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: chenyux.huang@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=3D1130 Bug ID: 1130 Summary: [22.11-rc3] lib/eal meson build error with clang15.0.4 on Fedora37 Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: critical Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: chenyux.huang@intel.com Target Milestone: --- [git] commit 04f68bb92b6fee621ddf0f0948f5565fa31a84fd (HEAD, tag: v22.11-rc3) Author: Thomas Monjalon Date: Tue Nov 15 18:21:34 2022 +0100 version: 22.11-rc3 Signed-off-by: Thomas Monjalon [OS version] Fedora Linux 37 (Server Edition) Linux 6.0.7-301.fc37.x86_64 clang version 15.0.4 (Fedora 15.0.4-1.fc37) [bad commit] The new fedora37 found this problem, while the old fedora36 did not=E3=80= =82 [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] [root@localhost dpdk]# ninja -j 10 -C x86_64-native-linuxapp-clang/ ninja: Entering directory `x86_64-native-linuxapp-clang/' [34/3596] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o FAILED: lib/librte_eal.a.p/eal_common_rte_service.c.o clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -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-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION=3D"22.2"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=3Dlib.eal -MD -MQ lib/librte_eal.a.p/eal_common_rte_service.c.o -MF lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o lib/librte_eal.a.p/eal_common_rte_service.c.o -c ../lib/eal/common/rte_service.c ../lib/eal/common/rte_service.c:100:6: error: variable 'count' set but not = used [-Werror,-Wunused-but-set-variable] int count =3D 0; ^ 1 error generated. [43/3596] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=