lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aN65xrFGqwue6jCx@x1>
Date: Thu, 2 Oct 2025 14:43:34 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Leo Yan <leo.yan@....com>
Cc: Namhyung Kim <namhyung@...nel.org>, Jiri Olsa <jolsa@...nel.org>,
	Ian Rogers <irogers@...gle.com>,
	Adrian Hunter <adrian.hunter@...el.com>,
	Nathan Chancellor <nathan@...nel.org>,
	Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
	Bill Wendling <morbo@...gle.com>,
	Justin Stitt <justinstitt@...gle.com>,
	Paul Walmsley <paul.walmsley@...ive.com>,
	Palmer Dabbelt <palmer@...belt.com>,
	Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>,
	James Clark <james.clark@...aro.org>, linux-kernel@...r.kernel.org,
	linux-perf-users@...r.kernel.org, llvm@...ts.linux.dev,
	linux-riscv@...ts.infradead.org
Subject: Re: [PATCH v2 0/8] perf build: Support building with Clang

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ