linux-next: build failure in Linus' tree
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
Signed-off-by Stephen Rothwell <[email protected]>
--- scripts/checksyscalls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checksyscalls.sh +1 -1
@@ -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