From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52E21CCF9E0 for ; Mon, 27 Oct 2025 18:54:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Oboilyme5FWxuCLh3Bwr16KUEylW8vNES8yl1TypdWE=; b=NTfLEKxuYKQJvI SE8lYPWCmsuNz+MLbEMhbRs/G0e/vl7NXDtvteot2Dy7TrlJ9YATUi04WaoSzjGvVwtJ8cCkPUY7e wlRpZTSAofoXuljYpbyNB9MonXbOmSGz9q7FT1WXvjRHyceLU0P05QcygMuykBHVM6X3Bc9lQDA5J rXaFAstwdnA6Xins5GaJ6o1F4DyIz2C4Um4p+6u0lqiDrNg8tkrD27N+w7WmMoP9S9DoURqOg9MnQ HU91i3uLsTuknzvRaMLcLPQiXfuVATgykzD2JM+G6m+liwZRA1dCYEmZA+C5G3RNZzBeMxw/RJP2E JrcdZmPkTKjvaMkMu68A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vDSMW-0000000Ea77-1ZLL; Mon, 27 Oct 2025 18:54:37 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vDSMT-0000000Ea6k-2TYl for linux-riscv@lists.infradead.org; Mon, 27 Oct 2025 18:54:34 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id C5D6F48274; Mon, 27 Oct 2025 18:54:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DE0FC4CEF1; Mon, 27 Oct 2025 18:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761591270; bh=6cZMDV+BjGQnoIwQOHca0ck+cTfgmR37j/0hHNPGaDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZHca9hQJemGz4u1J/ZGJuJ+o/3cvMHrtd/QZK2FIvPIClJgJP/XE8ZrB52gK0yrf6 YJqWfad27XcV6xH/NW0sKp/RWb30yBrme7YfWjR50b0R1p9QsGa3Gyby5v3ORjFt7T s/in6SLsIDCRWfLYh4phvObeEVTG/9bty4nOKRKs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Leo Yan , Ian Rogers , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nick Desaulniers , Justin Stitt , Bill Wendling , Adrian Hunter , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Nathan Chancellor , James Clark , linux-riscv@lists.infradead.org, llvm@lists.linux.dev, Paul Walmsley , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 5.10 115/332] tools build: Align warning options with perf Date: Mon, 27 Oct 2025 19:32:48 +0100 Message-ID: <20251027183527.652011522@linuxfoundation.org> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251027183524.611456697@linuxfoundation.org> References: <20251027183524.611456697@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251027_115433_668110_00D13459 X-CRM114-Status: GOOD ( 11.81 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Leo Yan [ Upstream commit 53d067feb8c4f16d1f24ce3f4df4450bb18c555f ] The feature test programs are built without enabling '-Wall -Werror' options. As a result, a feature may appear to be available, but later building in perf can fail with stricter checks. Make the feature test program use the same warning options as perf. Fixes: 1925459b4d92 ("tools build: Fix feature Makefile issues with 'O='") Signed-off-by: Leo Yan Reviewed-by: Ian Rogers Link: https://lore.kernel.org/r/20251006-perf_build_android_ndk-v3-1-4305590795b2@arm.com Cc: Palmer Dabbelt Cc: Albert Ou Cc: Alexandre Ghiti Cc: Nick Desaulniers Cc: Justin Stitt Cc: Bill Wendling Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Namhyung Kim Cc: Nathan Chancellor Cc: James Clark Cc: linux-riscv@lists.infradead.org Cc: llvm@lists.linux.dev Cc: Paul Walmsley Cc: linux-kernel@vger.kernel.org Cc: linux-perf-users@vger.kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/build/feature/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index 221250973d078..432a35bb5e90a 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -263,10 +263,10 @@ $(OUTPUT)test-sync-compare-and-swap.bin: $(BUILD) $(OUTPUT)test-compile-32.bin: - $(CC) -m32 -o $@ test-compile.c + $(CC) -m32 -Wall -Werror -o $@ test-compile.c $(OUTPUT)test-compile-x32.bin: - $(CC) -mx32 -o $@ test-compile.c + $(CC) -mx32 -Wall -Werror -o $@ test-compile.c $(OUTPUT)test-zlib.bin: $(BUILD) -lz -- 2.51.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv