linux-next: build failure after merge of the origin tree
Hi all,
After merging the origin tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
kernel/module.c: In function 'do_init_module':kernel/module.c:3593:2: error: implicit declaration of function 'module_enable_ro'; did you mean 'module_enable_x'? [-Werror=implicit-function-declaration]
3593 | module_enable_ro(mod, true);
| ^~~~~~~~~~~~~~~~
| module_enable_xCaused by commit
e6eff4376e28 ("module: Make module_enable_ro() static again")
This config has neither CONFIG_ARCH_HAS_STRICT_MODULE_RWX or CONFIG_ARCH_HAS_STRICT_MODULE_RWX set. This failure was hidden in linux-next due to commit
db991af02f11 ("module: break nested ARCH_HAS_STRICT_MODULE_RWX and STRICT_MODULE_RWX #ifdefs")
from the modules tree. I have cherry-picked that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 15 lines · Stephen Rothwell
Hi all,
After merging the origin tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
kernel/module.c: In function 'do_init_module':kernel/module.c:3593:2: error: implicit declaration of function 'module_enable_ro'; did you mean 'module_enable_x'? [-Werror=implicit-function-declaration]3593 | module_enable_ro(mod, true); | ^~~~~~~~~~~~~~~~ | module_enable_xCaused by commit
e6eff4376e28("module: Makemodule_enable_ro()static again")
Quoted 7 lines
This config has neither
CONFIG_ARCH_HAS_STRICT_MODULE_RWXorCONFIG_ARCH_HAS_STRICT_MODULE_RWXset. This failure was hidden in linux-next due to commit
db991af02f11("module: break nestedARCH_HAS_STRICT_MODULE_RWXandSTRICT_MODULE_RWX#ifdefs")from the modules tree. I have cherry-picked that commit for today.
Sorry, I guessed we missed that dependency between the live-patching and module trees.
Jessica, are you planning on sending a pull request?
Signature · 1 line
Josh
+++ Josh Poimboeuf [04/06/20 19:04 -0500]:
Quoted 20 lines · Stephen Rothwell
Quoted 19 lines
Hi all,
After merging the origin tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
kernel/module.c: In function 'do_init_module':kernel/module.c:3593:2: error: implicit declaration of function 'module_enable_ro'; did you mean 'module_enable_x'? [-Werror=implicit-function-declaration]3593 | module_enable_ro(mod, true); | ^~~~~~~~~~~~~~~~ | module_enable_xCaused by commit
e6eff4376e28("module: Makemodule_enable_ro()static again")This config has neither
CONFIG_ARCH_HAS_STRICT_MODULE_RWXorCONFIG_ARCH_HAS_STRICT_MODULE_RWXset. This failure was hidden in linux-next due to commit
Quoted 8 lines
Quoted 3 lines
db991af02f11("module: break nestedARCH_HAS_STRICT_MODULE_RWXandSTRICT_MODULE_RWX#ifdefs")from the modules tree. I have cherry-picked that commit for today.
Sorry, I guessed we missed that dependency between the live-patching and module trees.
Jessica, are you planning on sending a pull request?
Yep, just sent. So hopefully this gets resolved in the next day or two.