Skip to contentSkip to conversation

linux-next: build warning after merge of the kbuild tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 19, 2021 – Aug 23, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kbuild tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing

Exposed by commit

0fc7db58e2a6 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk")

Not sure why we need 3 of these :-(

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi all,

After merging the kbuild tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing arch/x86/entry/vdso/Makefile:135: FORCE prerequisite is missing

Quoted 5 lines

Exposed by commit

0fc7db58e2a6 ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk")

Not sure why we need 3 of these :-(

This is a pattern rule, which generates vdso64.so, vdso32.so, and vdsox32.so

The warning is produced as a side-effect of the recipe. That is why 3 warnings. Otherwise, I do not know how to implement it.

BTW, a fix for x86 Makefile exists in the patchwork.

https://lore.kernel.org/patchwork/patch/1478798/

Signature · 2 lines
Best Regards
Masahiro Yamada