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

2 messages, 2 authors, 2021-08-23 · open the first message on its own page

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

From: Stephen Rothwell <hidden>
Date: 2021-08-19 23:28:23

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 :-(

-- 
Cheers,
Stephen Rothwell

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

From: Masahiro Yamada <masahiroy@kernel.org>
Date: 2021-08-23 00:26:35

On Fri, Aug 20, 2021 at 8:28 AM Stephen Rothwell [off-list ref] wrote:
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 :-(

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/


-- 
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help