From mboxrd@z Thu Jan 1 00:00:00 1970 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 DC53941F5F5; Mon, 10 Aug 2026 15:45:12 +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=1786376714; cv=none; b=HnhSGxYkEcL/HltwKxXKMHfKlPUUKIuMSym9yBbT6JrJ5xRuyVL3bud+HIJN2jgbEOXOmIUpXVENaPCoK7FzD/oXKozLh0KkpLT7BFpOf8YfJXCb/DM+VyeN9UFUlNzcAjOrWqbwenVKZTSQpbWTOOwMjw87ZgcNn9zsAhTNoXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786376714; c=relaxed/simple; bh=qbLbHFNgFLIVcpPAK1z/+yWmRI3dB1rF0X9Ujh7+gL4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IfZUNx4HW38VbYqhfgDOvWZnj4u8pktoqLqANg+iiZz9OFXkDRAX6fbxnp9ddyMExhdo6CE/6Jcyu78ZUhA3X6KYAguOXOqGbuK4p3DpS7CQZyvEQE4ztcagwqiQu3/8w6qfsePhVeSClYJInKRfapwKMy6TPdaK6Ceus06Fhdc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jA+XF+bL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jA+XF+bL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 477F61F000E9; Mon, 10 Aug 2026 15:45:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786376712; bh=ReMum17dk9SaXQKv3RS4vyqs3Y09gkMLphMO6mnklu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jA+XF+bLNsNzqNVfltZKe0C7soStMpaLFbPpD60P0djP0RVmcBSMdXp75yCKLlCOe rqX8MDzfWLeIH7tbGGg2mlzYTvB3B3QnM0rcD9qCkVzt1VCPIV26D9B+lFoUSSsTij g6Rnt+4AQaMurz2o0n9XVIAwZ8f+IUmA3zrH/qWIeoNEUZLBiW85XiL3HJfOwCRGOf rWlxlgM6tOvCR6hLunPNB1c5lz2qf4VcVZyLCQT0FO0ZwDQNMPMbbbYULV1k8ZHV3u mRGmCLOYYlJbKXVZ30lqCHNqtrJF3N5ZQnbC9Hv29Qiyt/z+sF21DUaTauwkU1wWCg HZhX5n8+PimxQ== From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ingo Molnar , Thomas Gleixner , James Clark , Jiri Olsa , Ian Rogers , Adrian Hunter , Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Arnaldo Carvalho de Melo Subject: [PATCH 6/7] perf build: Remove leftover feature tests for removed cxx and clang support Date: Mon, 10 Aug 2026 12:44:36 -0300 Message-ID: <20260810154437.15946-7-acme@kernel.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260810154437.15946-1-acme@kernel.org> References: <20260810154437.15946-1-acme@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnaldo Carvalho de Melo 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: Arnaldo Carvalho de Melo --- 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 ed1374af31c16838..99eb0ea095375606 100644 --- a/tools/build/Makefile.feature +++ b/tools/build/Makefile.feature @@ -123,9 +123,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 62909a9c799d3338..7d165018116a552f 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -55,7 +55,6 @@ FILES= \ test-bpf.bin \ test-libbpf.bin \ test-sdt.bin \ - test-cxx.bin \ test-gettid.bin \ test-jvmti.bin \ test-jvmti-cmlr.bin \ @@ -63,7 +62,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 \ @@ -335,9 +333,6 @@ $(OUTPUT)test-libbpf.bin: $(OUTPUT)test-sdt.bin: $(BUILD) -$(OUTPUT)test-cxx.bin: - $(BUILDXX) -std=gnu++11 - $(OUTPUT)test-gettid.bin: $(BUILD) @@ -363,15 +358,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.55.0