linux-next: build failure after merge of the bitmap tree
Hi all,
After merging the bitmap tree, today's linux-next build (native perf) failed like this:
In file included from /home/sfr/next/next/tools/perf/util/header.h:10,
from /home/sfr/next/perf/pmu-events/pmu-events.c:3:/home/sfr/next/next/tools/include/linux/bitmap.h:5:10: fatal error: linux/align.h: No such file or directory
5 | #include <linux/align.h>
| ^~~~~~~~~~~~~~~
Caused by commit
ed46ac8199f0 ("bitmap: introduce generic optimized bitmap_size()")
I have used the bitmap tree from next-20231018 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the bitmap tree, today's linux-next build (native perf) failed like this:
In file included from
/home/sfr/next/next/tools/perf/util/header.h:10,
from/home/sfr/next/perf/pmu-events/pmu-events.c:3:/home/sfr/next/next/tools/include/linux/bitmap.h:5:10: fatal error:linux/align.h: No such file or directory
5 | #include <linux/align.h>
| ^~~~~~~~~~~~~~~
Quoted 5 lines
Caused by commit
ed46ac8199f0("bitmap: introduce generic optimizedbitmap_size()")I have used the bitmap tree from next-20231018 for today.
Thanks, Stephen. I'll take a look and let you know when it's resolved.
Quoted 12 lines · Yury Norov
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the bitmap tree, today's linux-next build (native perf) failed like this:
In file included from
/home/sfr/next/next/tools/perf/util/header.h:10,
from/home/sfr/next/perf/pmu-events/pmu-events.c:3:/home/sfr/next/next/tools/include/linux/bitmap.h:5:10: fatal error:linux/align.h: No such file or directory
5 | #include <linux/align.h>
| ^~~~~~~~~~~~~~~
Quoted 7 lines
Quoted 5 lines
Caused by commit
ed46ac8199f0("bitmap: introduce generic optimizedbitmap_size()")I have used the bitmap tree from next-20231018 for today.
Thanks, Stephen. I'll take a look and let you know when it's resolved.
Hi Stephen,
So the problem is that the patch "bitmap: introduce generic optimized bitmap_size()" adds reference to the linux/align.h, which doesn't exist in tools.
I removed tools part of the patch entirely, and now tools/perf, for example, builds OK for me natively. The tree doesn't touch tools at all now, except for moving BYTES_TO_BITS() from a source file to a header, which looks safe.
Can you please try the latest bitmap-for-next?
Alexander, when you touch tools, it's can you build something from it as part of your testing? I usually build tools/perf.
Thanks,
Yury
Hi Yury,
Quoted 21 lines · On Thu, 19 Oct 2023 21:24:49 -0700 Yury Norov <[email protected]> wrote:
Quoted 11 lines · Yury Norov
Quoted 10 lines · Stephen Rothwell
After merging the bitmap tree, today's linux-next build (native perf) failed like this:
In file included from
/home/sfr/next/next/tools/perf/util/header.h:10,
from/home/sfr/next/perf/pmu-events/pmu-events.c:3:/home/sfr/next/next/tools/include/linux/bitmap.h:5:10: fatal error:linux/align.h: No such file or directory
5 | #include <linux/align.h>
| ^~~~~~~~~~~~~~~Quoted 7 lines
Quoted 5 lines
Caused by commit
ed46ac8199f0("bitmap: introduce generic optimizedbitmap_size()")I have used the bitmap tree from next-20231018 for today.
Thanks, Stephen. I'll take a look and let you know when it's resolved.
Quoted 8 lines
So the problem is that the patch "bitmap: introduce generic optimized
bitmap_size()" adds reference to thelinux/align.h, which doesn't exist in tools.I removed tools part of the patch entirely, and now
tools/perf, for example, builds OK for me natively. The tree doesn't touch tools at all now, except for movingBYTES_TO_BITS()from a source file to a header, which looks safe.
Almost - see my other email.
Quoted 1 line
Can you please try the latest bitmap-for-next?
See above.
My "native" is PowerPC 64 LE.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 33 lines · Stephen Rothwell
Hi Yury,
Quoted 21 lines · On Thu, 19 Oct 2023 21:24:49 -0700 Yury Norov <[email protected]> wrote:
Quoted 11 lines · Yury Norov
Quoted 10 lines · Stephen Rothwell
After merging the bitmap tree, today's linux-next build (native perf) failed like this:
In file included from
/home/sfr/next/next/tools/perf/util/header.h:10,
from/home/sfr/next/perf/pmu-events/pmu-events.c:3:/home/sfr/next/next/tools/include/linux/bitmap.h:5:10: fatal error:linux/align.h: No such file or directory
5 | #include <linux/align.h>
| ^~~~~~~~~~~~~~~Quoted 7 lines
Quoted 5 lines
Caused by commit
ed46ac8199f0("bitmap: introduce generic optimizedbitmap_size()")I have used the bitmap tree from next-20231018 for today.
Thanks, Stephen. I'll take a look and let you know when it's resolved.
Quoted 8 lines
So the problem is that the patch "bitmap: introduce generic optimized
bitmap_size()" adds reference to thelinux/align.h, which doesn't exist in tools.I removed tools part of the patch entirely, and now
tools/perf, for example, builds OK for me natively. The tree doesn't touch tools at all now, except for movingBYTES_TO_BITS()from a source file to a header, which looks safe.
Quoted 7 lines
Almost - see my other email.
Quoted 1 line
Can you please try the latest bitmap-for-next?
See above.
My "native" is PowerPC 64 LE.
I tried arm64. Anyways, it's clear that the series is not ready yet. I'll drop it from bitmap_for_next. Sorry for this mess.
From: Yury Norov <[email protected]>
Date: Fri, 20 Oct 2023 05:33:15 -0700
Sorry, was on long vacation :z
Quoted 36 lines · Stephen Rothwell
Quoted 35 lines
Hi Yury,
Quoted 21 lines · On Thu, 19 Oct 2023 21:24:49 -0700 Yury Norov <[email protected]> wrote:
Quoted 11 lines · Yury Norov
Quoted 10 lines · Stephen Rothwell
After merging the bitmap tree, today's linux-next build (native perf) failed like this:
In file included from
/home/sfr/next/next/tools/perf/util/header.h:10,
from/home/sfr/next/perf/pmu-events/pmu-events.c:3:/home/sfr/next/next/tools/include/linux/bitmap.h:5:10: fatal error:linux/align.h: No such file or directory
5 | #include <linux/align.h>
| ^~~~~~~~~~~~~~~Quoted 7 lines
Quoted 5 lines
Caused by commit
ed46ac8199f0("bitmap: introduce generic optimizedbitmap_size()")I have used the bitmap tree from next-20231018 for today.
Thanks, Stephen. I'll take a look and let you know when it's resolved.
Quoted 8 lines
So the problem is that the patch "bitmap: introduce generic optimized
bitmap_size()" adds reference to thelinux/align.h, which doesn't exist in tools.I removed tools part of the patch entirely, and now
tools/perf, for example, builds OK for me natively. The tree doesn't touch tools at all now, except for movingBYTES_TO_BITS()from a source file to a header, which looks safe.Almost - see my other email.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Can you please try the latest bitmap-for-next?
See above.
My "native" is PowerPC 64 LE.
I tried arm64. Anyways, it's clear that the series is not ready yet. I'll drop it from
bitmap_for_next. Sorry for this mess.
Sorry for that, it was working for me. I'll resubmit once the window opens.
Thanks,
Olek