Skip to contentSkip to conversation

linux-next: build failure in Linus' tree

PATCH Stephen Rothwell 1 participant 1 message Sep 6, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Building Linus' tree, today's linux-next build (sparc64 defconfig) failed like this:

<stdin>:1515:2: error: #warning syscall clone3 not implemented [-Werror=cpp]
cc1: all warnings being treated as errors

Caused by commit

3fe617ccafd6 ("Enable '-Werror' by default for all kernel builds")

I have added this patch for today (I guess I could have used -Wno-error=cpp).

From: Stephen Rothwell <[email protected]>
Date: Mon, 6 Sep 2021 15:47:02 +1000
Subject: [PATCH] don't make the syscall checking produced errors from warnings

---
 scripts/checksyscalls.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checksyscalls.sh +1 -1
index b7609958ee36..fd9777f63f14 100755
@@ -266,4 +266,4 @@ syscall_list() {
 }
 
 (ignore_list && syscall_list $(dirname $0)/../arch/x86/entry/syscalls/syscall_32.tbl) | \
-$* -E -x c - > /dev/null
+$* -Wno-error -E -x c - > /dev/null
Signature · 5 lines
2.32.0

-- 
Cheers,
Stephen Rothwell