Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 21, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

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

cc1: fatal error: FORCE: No such file or directory compilation terminated.

Presuably caused by commit

15bb90419621 ("arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work")

I have used the kbuild tree from next-20210219 for today.

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

Hi Stephen,

Quoted 6 lines · Stephen Rothwell

Hi all,

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

Quoted 6 lines

cc1: fatal error: FORCE: No such file or directory compilation terminated.

Presuably caused by commit

15bb90419621 ("arch: syscalls: add missing FORCE and fix 'targets' to make if_changed work")

Sorry, this happens only when CONFIG_XEN=y,
and I did not cover all cases.

I will fix it for tomorrow's linux-next.

If it is not too late, you can apply the following locally.

arch/x86/entry/syscalls/Makefile +1 -1
index e1c7ddb7546b..ea6ffb51b9a3 100644
@@ -21,7 +21,7 @@ quiet_cmd_systbl = SYSTBL  $@
       cmd_systbl = $(CONFIG_SHELL) '$(systbl)' $< $@
 
 quiet_cmd_hypercalls = HYPERCALLS $@
-      cmd_hypercalls = $(CONFIG_SHELL) '$<' $@ $(filter-out $<,$^)
+      cmd_hypercalls = $(CONFIG_SHELL) '$<' $@ $(filter-out $<,$(real-prereqs))
 
 syshdr_abi_unistd_32 := i386
 $(uapi)/unistd_32.h: $(syscall32) $(syshdr) FORCE
Quoted 5 lines

I have used the kbuild tree from next-20210219 for today.

--
Cheers,
Stephen Rothwell

Signature · 2 lines
Best Regards
Masahiro Yamada