summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-11-27 00:49:23 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-11-27 00:49:23 +0000
commit83036f7001b79036f244ea673fae2902cab9cfb4 (patch)
tree36123e06f4874e21ea94f912d4efd0374f111634 /sys
parentf42f9de1c5416d9d613c7a7fa39999bf89dd515b (diff)
stop building kernels with -Wno-uninitialized on clang archs
this hides real problems that could be found at build time ok kettenis@ visa@, ok sashan@ on amd64/i386
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/conf/Makefile.amd644
-rw-r--r--sys/arch/arm64/conf/Makefile.arm644
-rw-r--r--sys/arch/armv7/conf/Makefile.armv74
-rw-r--r--sys/arch/i386/conf/Makefile.i3864
-rw-r--r--sys/arch/loongson/conf/Makefile.loongson4
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc4
-rw-r--r--sys/arch/octeon/conf/Makefile.octeon4
-rw-r--r--sys/arch/powerpc64/conf/Makefile.powerpc644
-rw-r--r--sys/arch/riscv64/conf/Makefile.riscv644
9 files changed, 18 insertions, 18 deletions
diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64
index d36bae30417..5295aeae69c 100644
--- a/sys/arch/amd64/conf/Makefile.amd64
+++ b/sys/arch/amd64/conf/Makefile.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amd64,v 1.121 2021/07/12 06:07:33 jsg Exp $
+# $OpenBSD: Makefile.amd64,v 1.122 2021/11/27 00:49:21 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -48,7 +48,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP \
-DCONFIG_DRM_AMD_DC_DCN3_0
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wframe-larger-than=2047
CMACHFLAGS= -mcmodel=kernel -mno-red-zone -mno-sse2 -mno-sse -mno-3dnow \
diff --git a/sys/arch/arm64/conf/Makefile.arm64 b/sys/arch/arm64/conf/Makefile.arm64
index 0eb8e2e206e..c25537de309 100644
--- a/sys/arch/arm64/conf/Makefile.arm64
+++ b/sys/arch/arm64/conf/Makefile.arm64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.arm64,v 1.39 2021/07/07 02:38:21 jsg Exp $
+# $OpenBSD: Makefile.arm64,v 1.40 2021/11/27 00:49:21 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -46,7 +46,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/amd/display/dmub/inc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wframe-larger-than=2047
diff --git a/sys/arch/armv7/conf/Makefile.armv7 b/sys/arch/armv7/conf/Makefile.armv7
index bba9438a561..248beb6a33e 100644
--- a/sys/arch/armv7/conf/Makefile.armv7
+++ b/sys/arch/armv7/conf/Makefile.armv7
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.armv7,v 1.50 2021/05/16 02:01:33 jsg Exp $
+# $OpenBSD: Makefile.armv7,v 1.51 2021/11/27 00:49:21 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -24,7 +24,7 @@ _archdir?= $S/arch/${_arch}
INCLUDES= -nostdinc -I$S -I. -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wframe-larger-than=2047
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index d8ab48f8660..4903579d567 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.140 2021/01/28 17:39:03 deraadt Exp $
+# $OpenBSD: Makefile.i386,v 1.141 2021/11/27 00:49:21 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -27,7 +27,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/i915
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wframe-larger-than=2047
CMACHFLAGS=
diff --git a/sys/arch/loongson/conf/Makefile.loongson b/sys/arch/loongson/conf/Makefile.loongson
index ef0c4a60268..c890376e852 100644
--- a/sys/arch/loongson/conf/Makefile.loongson
+++ b/sys/arch/loongson/conf/Makefile.loongson
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.loongson,v 1.80 2021/01/28 17:39:03 deraadt Exp $
+# $OpenBSD: Makefile.loongson,v 1.81 2021/11/27 00:49:21 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -33,7 +33,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/include/uapi
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wframe-larger-than=2047
CMACHFLAGS= -mno-abicalls ${ABI} -msoft-float -Wa,-mfix-loongson2f-btb -G 0
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc
index 96c49bc75d8..cc6aad65ffa 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.102 2021/05/10 17:29:41 gkoehler Exp $
+# $OpenBSD: Makefile.macppc,v 1.103 2021/11/27 00:49:21 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -26,7 +26,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/include/uapi
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-main -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-main -Wno-pointer-sign \
-Wframe-larger-than=2047
CMACHFLAGS= -msoft-float
diff --git a/sys/arch/octeon/conf/Makefile.octeon b/sys/arch/octeon/conf/Makefile.octeon
index 42ccce9d995..f4c6d2190e1 100644
--- a/sys/arch/octeon/conf/Makefile.octeon
+++ b/sys/arch/octeon/conf/Makefile.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.octeon,v 1.58 2021/02/06 09:31:47 visa Exp $
+# $OpenBSD: Makefile.octeon,v 1.59 2021/11/27 00:49:22 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -31,7 +31,7 @@ _archdir?= $S/arch/${_arch}
INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wframe-larger-than=2047
CMACHFLAGS= -mno-abicalls ${ABI} -msoft-float -G 0
diff --git a/sys/arch/powerpc64/conf/Makefile.powerpc64 b/sys/arch/powerpc64/conf/Makefile.powerpc64
index d8489d804cf..a58ec382177 100644
--- a/sys/arch/powerpc64/conf/Makefile.powerpc64
+++ b/sys/arch/powerpc64/conf/Makefile.powerpc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.powerpc64,v 1.10 2021/07/07 02:38:21 jsg Exp $
+# $OpenBSD: Makefile.powerpc64,v 1.11 2021/11/27 00:49:22 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -46,7 +46,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/amd/display/dmub/inc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wframe-larger-than=2047
diff --git a/sys/arch/riscv64/conf/Makefile.riscv64 b/sys/arch/riscv64/conf/Makefile.riscv64
index 9a95110b2f4..5c9b5e07ecb 100644
--- a/sys/arch/riscv64/conf/Makefile.riscv64
+++ b/sys/arch/riscv64/conf/Makefile.riscv64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.riscv64,v 1.12 2021/06/29 18:45:41 deraadt Exp $
+# $OpenBSD: Makefile.riscv64,v 1.13 2021/11/27 00:49:22 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -26,7 +26,7 @@ INCLUDES= -nostdinc -I$S -I${.OBJDIR} -I$S/arch \
-I$S/dev/pci/drm/include/uapi
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D__${_mach}__ -MD -MP
CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
- -Wno-uninitialized -Wno-pointer-sign \
+ -Wno-pointer-sign \
-Wno-constant-conversion -Wno-address-of-packed-member \
-Wframe-larger-than=2047