public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* 6.1.159-rc1 regression on building perf
@ 2025-11-17 16:00 Max Krummenacher
  2025-11-17 16:27 ` Sasha Levin
  2025-11-17 16:27 ` Ian Rogers
  0 siblings, 2 replies; 5+ messages in thread
From: Max Krummenacher @ 2025-11-17 16:00 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: Ian Rogers, Sasha Levin, Greg Kroah-Hartman, stable

Hi

Our CI found a regression when cross-compiling perf from the 6.1.159-rc1
sources in a yocto setup for a arm64 based machine.

In file included from .../tools/include/linux/bitmap.h:6,
                 from util/pmu.h:5,
                 from builtin-list.c:14:
.../tools/include/asm-generic/bitsperlong.h:14:2: error: #error
Inconsistent word size. Check asm/bitsperlong.h
   14 | #error Inconsistent word size. Check asm/bitsperlong.h
      |  ^~~~~


I could reproduce this as follows in a simpler setup:

git clone -b linux-6.1.y
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
cd linux-stable-rc/
export ARCH=arm64
export CROSS_COMPILE=aarch64-none-linux-gnu-
make defconfig
make -j$(nproc)
cd tools/perf
make

Reverting commit 4d99bf5f8f74 ("tools bitmap: Add missing
asm-generic/bitsperlong.h include") fixed the build in my setup however
I think that the issue the commit addresses would then reappear, so I
don't know what would be a good way forward.

Regards
Max

P.S.
Checking out Linux 6.6.117-rc1 builds perf.
make NO_LIBELF=1 NO_JEVENTS=1 NO_LIBTRACEEVENT=1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-11-17 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 16:00 6.1.159-rc1 regression on building perf Max Krummenacher
2025-11-17 16:27 ` Sasha Levin
2025-11-17 17:00   ` Max Krummenacher
2025-11-17 18:59     ` Sasha Levin
2025-11-17 16:27 ` Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox