Subject: Re: linux-next: build failure after merge of the modules tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 28 Feb 2022 16:13:07 +1100

Hi all,

On Tue, 22 Feb 2022 16:32:12 -0800 Luis Chamberlain <[email-masked]> wrote:
>
> Thanks for the report Mark. Aaron, did you fix this issue on your latest
> series?
> 
> On Mon, Feb 21, 2022 at 04:07:21PM +0000, [email-masked] wrote:
> > Hi all,
> > 
> > After merging the modules tree, today's linux-next build (KCONFIG_NAME)

This was a powerpc ppc64_defconfig build.

> > failed like this:
> > 
> > In file included from /tmp/next/build/include/linux/build_bug.h:5,
> >                  from /tmp/next/build/include/linux/container_of.h:5,
> >                  from /tmp/next/build/include/linux/list.h:5,
> >                  from /tmp/next/build/include/linux/module.h:12,
> >                  from /tmp/next/build/kernel/module/strict_rwx.c:8:
> > /tmp/next/build/kernel/module/strict_rwx.c: In function 'frob_rodata':
> > /tmp/next/build/kernel/module/strict_rwx.c:16:10: error: implicit declaration of function 'PAGE_ALIGNED'; did you mean 'IS_ALIGNED'? [-Werror=implicit-function-declaration]
> >    16 |  BUG_ON(!PAGE_ALIGNED(layout->base));
> >       |          ^~~~~~~~~~~~
> > /tmp/next/build/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
> >    78 | # define unlikely(x) __builtin_expect(!!(x), 0)
> >       |                                          ^
> > /tmp/next/build/kernel/module/strict_rwx.c:16:2: note: in expansion of macro 'BUG_ON'
> >    16 |  BUG_ON(!PAGE_ALIGNED(layout->base));
> >       |  ^~~~~~
> > cc1: some warnings being treated as errors
> > 
> > Caused by commit
> > 
> >   e5973a14d18 ("module: Move strict rwx support to a separate file")
> > 
> > I have used the -next tree from the 17th.  

I am still getting this build failure.

-- 
Cheers,
Stephen Rothwell