Re: [External] : [PATCH 5.4 000/187] 5.4.302-rc1 review
From: Greg Kroah-Hartman
Date: Tue Dec 02 2025 - 04:29:27 EST
On Tue, Dec 02, 2025 at 09:27:10AM +0530, ALOK TIWARI wrote:
>
>
> On 12/1/2025 4:51 PM, Greg Kroah-Hartman wrote:
> > Ian Rogers<irogers@xxxxxxxxxx>
> > tools bitmap: Add missing asm-generic/bitsperlong.h include
>
> f38ce0209ab455 "tools bitmap: Add missing asm-generic/bitsperlong.h include"
>
> We are getting a build failure due to this commit.
>
> ----
> CC util/bitmap.o
> CC util/hweight.o
> BUILDSTDERR: In file included from /builddir/build/BUILD/kernel-5.4.302/linux-5.4.302-master.20251201.el8.v1/tools/include/linux/bitmap.h:6,
> BUILDSTDERR: from ../lib/bitmap.c:6:
> BUILDSTDERR: /builddir/build/BUILD/kernel-5.4.302/linux-5.4.302-master.20251201.el8.v1/tools/include/asm-generic/bitsperlong.h:14:2:
> error: #error Inconsistent word size. Check asm/bitsperlong.h
> BUILDSTDERR: 14 | #error Inconsistent word size. Check asm/bitsperlong.h
> BUILDSTDERR: | ^~~~~
> CC util/smt.o
> CC util/strbuf.o
> CC util/string.o
> CC util/strlist.o
> CC util/strfilter.o
> CC util/top.o
> CC util/usage.o
> CC util/dso.o
> BUILDSTDERR: make[4]: *** [util/Build:227: util/bitmap.o] Error 1
> BUILDSTDERR: make[4]: *** Waiting for unfinished jobs....
> LD tests/perf-in.o
> LD arch/x86/util/perf-in.o
> LD arch/x86/perf-in.o
> LD arch/perf-in.o
> LD bench/perf-in.o
> LD ui/perf-in.o
> BUILDSTDERR: make[3]: *** [/builddir/build/BUILD/kernel-5.4.302/linux-5.4.302-master.20251201.el8.v1/tools/build/Makefile.build:143:
> util] Error 2
> BUILDSTDERR: make[3]: *** Waiting for unfinished jobs....
> BUILDSTDERR: make[2]: *** [Makefile.perf:593: perf-in.o] Error 2
> BUILDSTDERR: make[1]: *** [Makefile.perf:217: sub-make] Error 2
> BUILDSTDERR: make: *** [Makefile:70: all] Error 2
> BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.blrvNZ (%build)
I can't get any tools/ targets to build on 5.4 and have not for quite
some time, so I'll have to trust you on this. I'll go drop this commit
and push out a -rc2.
thanks,
greg k-h