Re: [PATCH 0/9] perf build: Fix builds with clang and BUILD_NONDISTRO

From: Arnaldo Carvalho de Melo

Date: Tue Sep 22 2026 - 09:04:35 EST


On Wed, Sep 16, 2026 at 10:35:48AM -0700, Namhyung Kim wrote:
> On Tue, Sep 15, 2026 at 11:12:09PM -0700, Ian Rogers wrote:
> > Several perf build configurations are broken, and stayed broken because
> > the build test suite doesn't cover them.
> > Ian Rogers (9):
> > perf libbfd: Fix the clang -Wthread-safety build failure
> > perf symbol: Fix the build when demangling with libbfd
> > perf libbfd: Include the headers that are used
> > perf pmu: Include the headers that are used
> > perf build: Only pass clang flags to CXX when CXX is clang
> > perf build: Use the given CC rather than clang in clang builds
> > perf build: Check the version of the compiler that is used
> > perf build: Remove leftovers of removed build options
> > perf test: Add build tests for clang and libbfd demangling

> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks, applied to perf-tools-next, for v7.4.

- Arnaldo