[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210906155746.57127887@canb.auug.org.au>
Date: Mon, 6 Sep 2021 15:57:46 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: 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 <sfr@...b.auug.org.au>
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 <sfr@...b.auug.org.au>
---
scripts/checksyscalls.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
index b7609958ee36..fd9777f63f14 100755
--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -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
--
2.32.0
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists