Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 346C0221F26; Sat, 12 Sep 2026 11:04:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789211074; cv=none; b=NM8VM+uknkvCy+g0ClvRfDOMlRnyWTFHDBfWDjOfWh3/X3Q5KBAdOLUwGKZnOf3N/Dea1ItjdGfosJnV6blOsqnM6xliLTiEHAJKizUdvT60hMlLV09wGts25ahw8LCF05Hx9EKMHkyECnM7wx/OwyZ4zo5bmaTp4BJKRAXraUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789211074; c=relaxed/simple; bh=RLFlKHJ+W29+B4VvjP7VOTM4WatWK3pNGgcSQr2hJFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=U0qiflldGJUX6yRGpumU80D5u/rQ4EJDYGRkIOsZ5GUqwcMx8H9yFYi8LqCUHxMWITjcdULiSkoXL/GPKUd3Fd4c3HzTWhN9+pGnYgt9+jbqFhv9BQWIsnnOSJYW9b+/a+1BK/SewYOtP6hfQl8JXlcLFIez0wA7hxFOgjItz/s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fxbbuymr; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Fxbbuymr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B52A71F000FF; Sat, 12 Sep 2026 11:04:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789211072; bh=hMCPZkamzZrzqv6bJrUvXeegO/0MMN5lAUH0Hb3xCa4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Fxbbuymr15bKTRnhWUenc75jBKpYfQmPz6uQ9crNQqDDJV5WEsSuuEIFXKLotCAgX LF97A55OB3VWsZjQq9EBX3IdQt3F8Z2vwZiR2Cf87/OfP3MuPrIoCWu3FeIa5nDEOW Akr3p67ZxOHSXWvjdVPkckpDzzwr2lwnbtT+XAwY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Rogers , Arnaldo Carvalho de Melo , Namhyung Kim , Sasha Levin Subject: [PATCH 6.18 1157/1518] perf build: Remove leftover feature tests for removed cxx and clang support Date: Sat, 12 Sep 2026 08:55:26 +0200 Message-ID: <20260912065649.630593084@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065623.398859879@linuxfoundation.org> References: <20260912065623.398859879@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnaldo Carvalho de Melo [ Upstream commit b60f6bc128b972e018de6bcfa7007b4021f4a31a ] 56b11a2126bf2f42 ("perf bpf: Remove support for embedding clang for compiling BPF events (-e foo.c)") removed the test-cxx.cpp and test-clang.cpp sources, but left behind their entries in the feature test FILES list, the build rules and the cxx and clang entries in FEATURE_TESTS_EXTRA. Since the sources no longer exist, those rules would always fail, making the artificial feature-cxx and feature-clang results to be perpetually disabled/absent, remove the leftover entries, making the feature test scripts list match the available sources. Fixes: 56b11a2126bf2f42 ("perf bpf: Remove support for embedding clang for compiling BPF events (-e foo.c)") Cc: Ian Rogers Assisted-by: opencode:deepseek-v4-flash-free Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim Signed-off-by: Sasha Levin --- tools/build/Makefile.feature | 2 -- tools/build/feature/Makefile | 14 -------------- 2 files changed, 16 deletions(-) diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature index 32bbe29fe5f6c..a0133d52aa8a0 100644 --- a/tools/build/Makefile.feature +++ b/tools/build/Makefile.feature @@ -119,9 +119,7 @@ FEATURE_TESTS_EXTRA := \ libbfd-liberty-z \ libopencsd \ libperl \ - cxx \ llvm \ - clang \ libbpf \ libpfm4 \ libdebuginfod \ diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index 95646290cb89c..c972304c32117 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -58,7 +58,6 @@ FILES= \ test-libbpf.bin \ test-get_cpuid.bin \ test-sdt.bin \ - test-cxx.bin \ test-gettid.bin \ test-jvmti.bin \ test-jvmti-cmlr.bin \ @@ -66,7 +65,6 @@ FILES= \ test-sched_getcpu.bin \ test-setns.bin \ test-libopencsd.bin \ - test-clang.bin \ test-llvm.bin \ test-llvm-perf.bin \ test-libaio.bin \ @@ -330,9 +328,6 @@ $(OUTPUT)test-libbpf.bin: $(OUTPUT)test-sdt.bin: $(BUILD) -$(OUTPUT)test-cxx.bin: - $(BUILDXX) -std=gnu++11 - $(OUTPUT)test-gettid.bin: $(BUILD) @@ -358,15 +353,6 @@ $(OUTPUT)test-llvm-perf.bin: $(shell $(LLVM_CONFIG) --system-libs) \ > $(@:.bin=.make.output) 2>&1 -$(OUTPUT)test-clang.bin: - $(BUILDXX) -std=gnu++17 \ - -I$(shell $(LLVM_CONFIG) --includedir) \ - -L$(shell $(LLVM_CONFIG) --libdir) \ - -Wl,--start-group -lclang-cpp -Wl,--end-group \ - $(shell $(LLVM_CONFIG) --libs Core option) \ - $(shell $(LLVM_CONFIG) --system-libs) \ - > $(@:.bin=.make.output) 2>&1 - -include $(OUTPUT)*.d $(OUTPUT)test-libaio.bin: -- 2.53.0