Skip to contentSkip to conversation

linux-next: build failure after merge of the origin tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Jun 4, 2020 – Jun 5, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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_x

Caused 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
#1 lore raw
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_x

Caused by commit

e6eff4376e28 ("module: Make module_enable_ro() static again")

Quoted 7 lines

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.

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
#2 lore raw

+++ 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_x

Caused 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

Quoted 8 lines
Quoted 3 lines

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.

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.