Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2018 16:45:08 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r340841 - in head: . share/mk sys/sys
Message-ID:  <201811231645.wANGj8BW035694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Fri Nov 23 16:45:07 2018
New Revision: 340841
URL: https://svnweb.freebsd.org/changeset/base/340841

Log:
  Enable the BSD crtbegin/crtend by default.
  
  It has passed an exp run on amd64 and i386, and has testing on arm64. On
  other architectures it is expected to run, however it can be disabled by
  building world with -DWITHOUT_BSD_CRTBEGIN.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/UPDATING
  head/share/mk/src.opts.mk
  head/sys/sys/param.h

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Fri Nov 23 16:33:03 2018	(r340840)
+++ head/UPDATING	Fri Nov 23 16:45:07 2018	(r340841)
@@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
 	disable the most expensive debugging functionality run
 	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20181123:
+	The BSD crtbegin and crtend code has been enabled by default. It has
+	had extensive testing on amd64, arm64, and i386. It can be disabled
+	by building a world with -DWITHOUT_BSD_CRTBEGIN.
+
 20181115:
 	The set of CTM commands (ctm, ctm_smail, ctm_rmail, ctm_dequeue)
 	has been converted to a port (misc/ctm) and will be removed from

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Fri Nov 23 16:33:03 2018	(r340840)
+++ head/share/mk/src.opts.mk	Fri Nov 23 16:45:07 2018	(r340841)
@@ -71,6 +71,7 @@ __DEFAULT_YES_OPTIONS = \
     BOOTPARAMD \
     BOOTPD \
     BSD_CPIO \
+    BSD_CRTBEGIN \
     BSDINSTALL \
     BSNMP \
     BZIP2 \
@@ -193,7 +194,6 @@ __DEFAULT_YES_OPTIONS = \
     ZONEINFO
 
 __DEFAULT_NO_OPTIONS = \
-    BSD_CRTBEGIN \
     BSD_GREP \
     CLANG_EXTRAS \
     DTRACE_TESTS \

Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h	Fri Nov 23 16:33:03 2018	(r340840)
+++ head/sys/sys/param.h	Fri Nov 23 16:45:07 2018	(r340841)
@@ -60,7 +60,7 @@
  *		in the range 5 to 9.
  */
 #undef __FreeBSD_version
-#define __FreeBSD_version 1300003	/* Master, propagated to newvers */
+#define __FreeBSD_version 1300004	/* Master, propagated to newvers */
 
 /*
  * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811231645.wANGj8BW035694>