[PATCH v2 0/8] perf build: Support building with Clang
Arnaldo Carvalho de Melo
acme at kernel.org
Thu Oct 2 10:43:34 PDT 2025
On Wed, Oct 01, 2025 at 09:20:50PM +0100, Leo Yan wrote:
> On Wed, Oct 01, 2025 at 07:32:56PM +0100, Leo Yan wrote:
>
> [...]
>
> > > + make 'ARCH=' 'CROSS_COMPILE=' 'EXTRA_CFLAGS=' -C tools/perf 'O=/tmp/build/perf' 'CC=clang'
> > > make: Entering directory '/git/perf-6.17.0-rc6/tools/perf'
> > > BUILD: Doing 'make -j28' parallel build
> > > Makefile.config:494: *** No gnu/libc-version.h found, please install glibc-dev[el]. Stop.
>
> It does not set correctly --target as x86_64-alpine-linux-musl if
> distros are using musl libc.
>
> Now running the container build for updated code. Once pass test,
> I will send new series.
Thanks for spotting the problem after taking the trouble of starting a
container! Hopefully that will save time for other people trying to
cross-build perf.
Cheers,
- Arnaldo
More information about the linux-riscv
mailing list