linux-next: build failure after merge of the modules tree
[email protected]
maintainerHi all,
After merging the modules tree, today's linux-next build (KCONFIG_NAME) 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.
Thanks for the report Mark. Aaron, did you fix this issue on your latest series?
Luis
Quoted 27 lines · On Mon, Feb 21, 2022 at 04:07:21PM +0000, [email protected] wrote:
Hi all,
After merging the modules tree, today's linux-next build (
KCONFIG_NAME) 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.
Hi all,
Quoted 8 lines · On Tue, 22 Feb 2022 16:32:12 -0800 Luis Chamberlain <[email protected]> wrote:
Thanks for the report Mark. Aaron, did you fix this issue on your latest series?
Quoted 3 lines · On Mon, Feb 21, 2022 at 04:07:21PM +0000, [email protected] wrote:
Hi all,
After merging the modules tree, today's linux-next build (
KCONFIG_NAME)
This was a powerpc ppc64_defconfig build.
Quoted 19 lines
Quoted 19 lines
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
Quoted 5 lines
Quoted 5 lines
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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi all,
Quoted 4 lines · On Tue, 22 Feb 2022 16:32:12 -0800 Luis Chamberlain <[email protected]> wrote:
Thanks for the report Mark. Aaron, did you fix this issue on your latest series?
Quoted 8 lines
Quoted 4 lines · On Mon, Feb 21, 2022 at 04:07:21PM +0000, [email protected] wrote:
Quoted 3 lines
Hi all,
After merging the modules tree, today's linux-next build (
KCONFIG_NAME)This was a powerpc
ppc64_defconfigbuild.I am still getting this build failure.
A v9 from Aaron is still in the works so I've dropped all the patches on linux-next and reset the it to Linus' tree for now.
Luis