Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src In preparation for the upcoming release, turn off DIAGNOS...



details:   https://anonhg.NetBSD.org/src/rev/113c2ae84b41
branches:  netbsd-9
changeset: 461277:113c2ae84b41
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 21 18:17:58 2019 +0000

description:
In preparation for the upcoming release, turn off DIAGNOSTIC in most
kernel configs, modules and libc.

diffstat:

 lib/libc/Makefile.inc                 |   4 ++--
 sys/arch/amd64/conf/GENERIC           |  10 +++++-----
 sys/arch/amd64/conf/XEN3_DOM0         |   6 +++---
 sys/arch/amd64/conf/XEN3_DOMU         |   6 +++---
 sys/arch/cobalt/conf/GENERIC          |   8 ++++----
 sys/arch/evbarm/conf/ADI_BRH          |   4 ++--
 sys/arch/evbarm/conf/ARMADAXP         |   4 ++--
 sys/arch/evbarm/conf/ARMADILLO-IOT-G3 |   4 ++--
 sys/arch/evbarm/conf/ARMADILLO9       |   4 ++--
 sys/arch/evbarm/conf/CP3100           |   4 ++--
 sys/arch/evbarm/conf/CUBOX            |   4 ++--
 sys/arch/evbarm/conf/CUBOX-I          |   4 ++--
 sys/arch/evbarm/conf/GEMINI           |   2 +-
 sys/arch/evbarm/conf/GEMINI_MASTER    |   2 +-
 sys/arch/evbarm/conf/GEMINI_SLAVE     |   2 +-
 sys/arch/evbarm/conf/GENERIC.common   |   8 ++++----
 sys/arch/evbarm/conf/HAWK             |   4 ++--
 sys/arch/evbarm/conf/HPT5325          |   4 ++--
 sys/arch/evbarm/conf/IGEPV2           |   4 ++--
 sys/arch/evbarm/conf/IMX6UL-STARTER   |   8 ++++----
 sys/arch/evbarm/conf/IQ31244          |   4 ++--
 sys/arch/evbarm/conf/IQ80310          |   4 ++--
 sys/arch/evbarm/conf/IQ80321          |   4 ++--
 sys/arch/evbarm/conf/IXDP425          |   4 ++--
 sys/arch/evbarm/conf/LUBBOCK          |   2 +-
 sys/arch/evbarm/conf/N900             |   4 ++--
 sys/arch/evbarm/conf/OMAP5EVM         |   4 ++--
 sys/arch/evbarm/conf/OSK5912          |   2 +-
 sys/arch/evbarm/conf/PANDABOARD       |   4 ++--
 sys/arch/evbarm/conf/SMDK2800         |   4 ++--
 sys/arch/evbarm/conf/TEAMASA_NPWR     |   4 ++--
 sys/arch/evbarm/conf/TEAMASA_NPWR_FC  |   4 ++--
 sys/arch/evbarm/conf/TISDP2420        |   4 ++--
 sys/arch/evbarm/conf/TISDP2430        |   4 ++--
 sys/arch/evbarm/conf/TS7200           |   4 ++--
 sys/arch/evbarm/conf/TWINTAIL         |   4 ++--
 sys/arch/evbarm/conf/VIPER            |   4 ++--
 sys/arch/evbarm/conf/ZAO425           |   4 ++--
 sys/arch/i386/conf/GENERIC            |  10 +++++-----
 sys/arch/i386/conf/XEN3PAE_DOM0       |   4 ++--
 sys/arch/i386/conf/XEN3PAE_DOMU       |   4 ++--
 sys/arch/mvmeppc/conf/GENERIC         |   8 ++++----
 sys/arch/pmax/conf/GENERIC            |   8 ++++----
 sys/arch/shark/conf/GENERIC           |   6 +++---
 sys/arch/sparc64/conf/GENERIC         |   8 ++++----
 sys/arch/zaurus/conf/GENERIC          |   4 ++--
 sys/modules/Makefile.inc              |   4 ++--
 47 files changed, 110 insertions(+), 110 deletions(-)

diffs (truncated from 959 to 300 lines):

diff -r d2c195419e8f -r 113c2ae84b41 lib/libc/Makefile.inc
--- a/lib/libc/Makefile.inc     Thu Nov 21 14:03:29 2019 +0000
+++ b/lib/libc/Makefile.inc     Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.19 2018/06/09 22:41:55 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.19.4.1 2019/11/21 18:17:58 martin Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -30,7 +30,7 @@
 
 WARNS=5
 CPPFLAGS+=     -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT
-CPPFLAGS+=     -D_DIAGNOSTIC
+#CPPFLAGS+=    -D_DIAGNOSTIC
 .if defined(MLIBDIR)
 CPPFLAGS+=     -DMLIBDIR=\"${MLIBDIR}\"
 .endif
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.531.2.3 2019/10/15 18:10:09 martin Exp $
+# $NetBSD: GENERIC,v 1.531.2.4 2019/11/21 18:17:59 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.531.2.3 $"
+#ident         "GENERIC-$Revision: 1.531.2.4 $"
 
 maxusers       64              # estimated number of users
 
@@ -98,7 +98,7 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
                                # XXX to be commented out on release branch
 #options       DEBUG           # expensive debugging checks/support
 #options       LOCKDEBUG       # expensive locking checks/support
@@ -1174,6 +1174,6 @@
 
 options        PAX_SEGVGUARD=0         # PaX Segmentation fault guard
 options        PAX_MPROTECT=1          # PaX mprotect(2) restrictions
-options        PAX_MPROTECT_DEBUG=1    # PaX mprotect debug
+#options       PAX_MPROTECT_DEBUG=1    # PaX mprotect debug
 options        PAX_ASLR=1              # PaX Address Space Layout Randomization
-options        PAX_ASLR_DEBUG=1        # PaX ASLR debug
+#options       PAX_ASLR_DEBUG=1        # PaX ASLR debug
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.167.2.1 2019/08/09 15:59:52 martin Exp $
+# $NetBSD: XEN3_DOM0,v 1.167.2.2 2019/11/21 18:17:59 martin Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOM0-$Revision: 1.167.2.1 $"
+#ident         "XEN3_DOM0-$Revision: 1.167.2.2 $"
 
 maxusers       32              # estimated number of users
 
@@ -55,7 +55,7 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
 options        DDB             # in-kernel debugger
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/amd64/conf/XEN3_DOMU
--- a/sys/arch/amd64/conf/XEN3_DOMU     Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOMU     Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.89 2019/05/06 02:24:37 sevan Exp $
+# $NetBSD: XEN3_DOMU,v 1.89.2.1 2019/11/21 18:17:59 martin Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOMU-$Revision: 1.89 $"
+#ident         "XEN3_DOMU-$Revision: 1.89.2.1 $"
 
 maxusers       32              # estimated number of users
 
@@ -47,7 +47,7 @@
 options        BUFQ_PRIOCSCAN
 
 # Diagnostic/debugging support options
-options        DIAGNOSTIC      # inexpensive kernel consistency checks
+#options       DIAGNOSTIC      # inexpensive kernel consistency checks
 #options       DEBUG           # expensive debugging checks/support
 options        DDB             # in-kernel debugger
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/cobalt/conf/GENERIC
--- a/sys/arch/cobalt/conf/GENERIC      Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/cobalt/conf/GENERIC      Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.162 2019/04/26 21:40:29 sevan Exp $
+# $NetBSD: GENERIC,v 1.162.2.1 2019/11/21 18:17:59 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.162 $"
+#ident                 "GENERIC-$Revision: 1.162.2.1 $"
 
 maxusers       32
 
@@ -42,8 +42,8 @@
 options        BUFQ_PRIOCSCAN
 
 # Debugging options
-options        DIAGNOSTIC      # extra kernel sanity checking
-options        DEBUG           # extra kernel debugging support
+#options       DIAGNOSTIC      # extra kernel sanity checking
+#options       DEBUG           # extra kernel debugging support
 options        DDB             # kernel dynamic debugger
 #options       DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions    DEBUG="-g"      # compile full symbol table
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/ADI_BRH
--- a/sys/arch/evbarm/conf/ADI_BRH      Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/ADI_BRH      Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ADI_BRH,v 1.73 2017/09/14 07:58:40 mrg Exp $
+#      $NetBSD: ADI_BRH,v 1.73.8.1 2019/11/21 18:17:59 martin Exp $
 #
 #      ADI_BRH -- ADI Engineering "Big Red Head" i80200 Evaluation Board
 #
@@ -109,7 +109,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 #options       VERBOSE_INIT_ARM # verbose bootstraping messages
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/ARMADAXP
--- a/sys/arch/evbarm/conf/ARMADAXP     Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/ARMADAXP     Thu Nov 21 18:17:58 2019 +0000
@@ -1,5 +1,5 @@
 #
-#      $NetBSD: ARMADAXP,v 1.26 2018/10/23 19:58:52 jdolecek Exp $
+#      $NetBSD: ARMADAXP,v 1.26.4.1 2019/11/21 18:17:59 martin Exp $
 #
 #      ARMADA XP DEV BOARD
 #
@@ -112,7 +112,7 @@
 
 # Development and Debugging options
 options        LOCKDEBUG
-options        DIAGNOSTIC              # internal consistency checks
+#options       DIAGNOSTIC              # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG              # Enable pmap_debug_level code
 options        PMAPCOUNTERS
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/ARMADILLO-IOT-G3
--- a/sys/arch/evbarm/conf/ARMADILLO-IOT-G3     Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/ARMADILLO-IOT-G3     Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ARMADILLO-IOT-G3,v 1.19 2019/07/24 12:33:18 hkenken Exp $
+# $NetBSD: ARMADILLO-IOT-G3,v 1.19.2.1 2019/11/21 18:17:59 martin Exp $
 #
 # ARMADILLO-IOT-G3 -- Atmark Techno, Armadillo-IoT G3
 #
@@ -49,7 +49,7 @@
 
 # Diagnostic/debugging support options
 options        VERBOSE_INIT_ARM # verbose bootstraping messages
-options        DIAGNOSTIC      # internally consistency checks
+#options       DIAGNOSTIC      # internally consistency checks
                                # XXX to be commented out on release branch/
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/ARMADILLO9
--- a/sys/arch/evbarm/conf/ARMADILLO9   Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/ARMADILLO9   Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ARMADILLO9,v 1.60 2018/08/01 20:04:10 maxv Exp $
+#      $NetBSD: ARMADILLO9,v 1.60.4.1 2019/11/21 18:17:59 martin Exp $
 #
 #      ARMADILLO9 -- Atmark Techno, Armadillo-9
 #
@@ -104,7 +104,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 #options       VERBOSE_INIT_ARM # verbose bootstraping messages
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/CP3100
--- a/sys/arch/evbarm/conf/CP3100       Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/CP3100       Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CP3100,v 1.48 2018/08/01 20:04:10 maxv Exp $
+#      $NetBSD: CP3100,v 1.48.4.1 2019/11/21 18:17:59 martin Exp $
 #
 #      CP3100 -- Certance CP3100 Kernel
 #
@@ -107,7 +107,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 #options       VERBOSE_INIT_ARM # verbose bootstraping messages
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/CUBOX
--- a/sys/arch/evbarm/conf/CUBOX        Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/CUBOX        Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CUBOX,v 1.14 2019/04/26 22:46:03 sevan Exp $
+# $NetBSD: CUBOX,v 1.14.2.1 2019/11/21 18:17:59 martin Exp $
 #
 #      CUBOX -- SolidRun Ltd. Cubox kernel
 #
@@ -48,7 +48,7 @@
 
 # Diagnostic/debugging support options
 #options       VERBOSE_INIT_ARM # verbose bootstraping messages
-options        DIAGNOSTIC      # internally consistency checks
+#options       DIAGNOSTIC      # internally consistency checks
 
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/CUBOX-I
--- a/sys/arch/evbarm/conf/CUBOX-I      Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/CUBOX-I      Thu Nov 21 18:17:58 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CUBOX-I,v 1.22.2.1 2019/08/15 09:49:49 martin Exp $
+# $NetBSD: CUBOX-I,v 1.22.2.2 2019/11/21 18:17:59 martin Exp $
 #
 # CuBox-i
 # - http://www.solid-run.com/products/cubox-i-mini-computer/
@@ -47,7 +47,7 @@
 
 # Diagnostic/debugging support options
 options        VERBOSE_INIT_ARM # verbose bootstraping messages
-options        DIAGNOSTIC      # internally consistency checks
+#options       DIAGNOSTIC      # internally consistency checks
 
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/GEMINI
--- a/sys/arch/evbarm/conf/GEMINI       Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/GEMINI       Thu Nov 21 18:17:58 2019 +0000
@@ -97,7 +97,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 options        VERBOSE_INIT_ARM # verbose bootstraping messages
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/GEMINI_MASTER
--- a/sys/arch/evbarm/conf/GEMINI_MASTER        Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/GEMINI_MASTER        Thu Nov 21 18:17:58 2019 +0000
@@ -98,7 +98,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 options        VERBOSE_INIT_ARM # verbose bootstraping messages
diff -r d2c195419e8f -r 113c2ae84b41 sys/arch/evbarm/conf/GEMINI_SLAVE
--- a/sys/arch/evbarm/conf/GEMINI_SLAVE Thu Nov 21 14:03:29 2019 +0000
+++ b/sys/arch/evbarm/conf/GEMINI_SLAVE Thu Nov 21 18:17:58 2019 +0000
@@ -97,7 +97,7 @@
 
 # Development and Debugging options
 
-options        DIAGNOSTIC      # internal consistency checks
+#options       DIAGNOSTIC      # internal consistency checks
 #options       DEBUG
 #options       PMAP_DEBUG      # Enable pmap_debug_level code
 #options       VERBOSE_INIT_ARM # verbose bootstraping messages



Home | Main Index | Thread Index | Old Index