summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2018-10-19 00:37:47 +0000
committerGlen Barber <gjb@FreeBSD.org>2018-10-19 00:37:47 +0000
commitb958317950db889c01b5fda1a7feb1202c31760e (patch)
tree93dbcf6ade0b0764412778dd45b8f155ad8f98cc
parent3ade9440198973efee3e6ae9636e1b147c72140b (diff)
downloadsrc-test2-b958317950db889c01b5fda1a7feb1202c31760e.tar.gz
src-test2-b958317950db889c01b5fda1a7feb1202c31760e.zip
Notes
-rw-r--r--Makefile.inc14
-rw-r--r--UPDATING4
-rw-r--r--contrib/gcc/config.gcc2
-rw-r--r--gnu/usr.bin/cc/cc_tools/freebsd-native.h4
-rw-r--r--lib/clang/freebsd_cc_version.h2
-rw-r--r--lib/clang/llvm.build.mk4
-rw-r--r--release/Makefile3
-rw-r--r--sys/conf/newvers.sh4
-rw-r--r--sys/sys/param.h2
9 files changed, 14 insertions, 15 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index f0632112797f..110d3ecb20bd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -126,9 +126,9 @@ TARGET_ABI= gnueabi
.endif
.endif
MACHINE_ABI?= unknown
-MACHINE_TRIPLE?=${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${MACHINE_ABI}-freebsd12.0
+MACHINE_TRIPLE?=${MACHINE_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${MACHINE_ABI}-freebsd13.0
TARGET_ABI?= unknown
-TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd12.0
+TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd13.0
KNOWN_ARCHES?= aarch64/arm64 \
amd64 \
arm \
diff --git a/UPDATING b/UPDATING
index bc0e4879d9d8..f1bc3c69208c 100644
--- a/UPDATING
+++ b/UPDATING
@@ -16,8 +16,8 @@ from older versions of FreeBSD, try WITHOUT_CLANG and WITH_GCC to bootstrap to
the tip of head, and then rebuild without this option. The bootstrap process
from older version of current across the gcc/clang cutover is a bit fragile.
-NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
- FreeBSD 12.x has many debugging features turned on, in both the kernel
+NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW:
+ FreeBSD 13.x has many debugging features turned on, in both the kernel
and userland. These features attempt to detect incorrect use of
system primitives, and encourage loud failure through extra sanity
checking and fail stop semantics. They also substantially impact
diff --git a/contrib/gcc/config.gcc b/contrib/gcc/config.gcc
index e452dfed6fd3..429f8cba40ca 100644
--- a/contrib/gcc/config.gcc
+++ b/contrib/gcc/config.gcc
@@ -434,6 +434,8 @@ case ${target} in
tm_defines="${tm_defines} FBSD_MAJOR=11" ;;
*-*-freebsd12 | *-*-freebsd12.*)
tm_defines="${tm_defines} FBSD_MAJOR=12" ;;
+ *-*-freebsd13 | *-*-freebsd13.*)
+ tm_defines="${tm_defines} FBSD_MAJOR=13" ;;
*)
echo 'Please update *-*-freebsd* in gcc/config.gcc'
exit 1
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
index 7e11bd83537c..375c62f4aa28 100644
--- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h
+++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h
@@ -7,8 +7,8 @@
#define FREEBSD_NATIVE 1
/* Fake out gcc/config/freebsd<version>.h. */
-#define FBSD_MAJOR 12
-#define FBSD_CC_VER 1200001 /* form like __FreeBSD_version */
+#define FBSD_MAJOR 13
+#define FBSD_CC_VER 1300000 /* form like __FreeBSD_version */
#undef SYSTEM_INCLUDE_DIR /* We don't need one for now. */
#undef TOOL_INCLUDE_DIR /* We don't need one for now. */
diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h
index 9096dc913f14..68bad5a453e7 100644
--- a/lib/clang/freebsd_cc_version.h
+++ b/lib/clang/freebsd_cc_version.h
@@ -1,3 +1,3 @@
/* $FreeBSD$ */
-#define FREEBSD_CC_VERSION 1200016
+#define FREEBSD_CC_VERSION 1300000
diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk
index 920c79bb11ae..91b4e4d83aba 100644
--- a/lib/clang/llvm.build.mk
+++ b/lib/clang/llvm.build.mk
@@ -17,7 +17,7 @@ CFLAGS+= -I${LLVM_SRCS}/include
CFLAGS+= -DLLVM_BUILD_GLOBAL_ISEL
CFLAGS+= -D__STDC_LIMIT_MACROS
CFLAGS+= -D__STDC_CONSTANT_MACROS
-#CFLAGS+= -DNDEBUG
+CFLAGS+= -DNDEBUG
TARGET_ARCH?= ${MACHINE_ARCH}
BUILD_ARCH?= ${MACHINE_ARCH}
@@ -33,7 +33,7 @@ TARGET_ABI= -gnueabi
TARGET_ABI=
.endif
VENDOR= unknown
-OS_VERSION= freebsd12.0
+OS_VERSION= freebsd13.0
LLVM_TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-${VENDOR}-${OS_VERSION}${TARGET_ABI}
LLVM_BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-${VENDOR}-${OS_VERSION}
diff --git a/release/Makefile b/release/Makefile
index d563825e2376..c4bbb1e5ae84 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -210,7 +210,6 @@ disc1: packagesystem
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
- echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
@@ -238,7 +237,6 @@ bootonly: packagesystem
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
- echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
@@ -263,7 +261,6 @@ dvd: packagesystem
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
- echo debug.witness.trace=0 >> ${.TARGET}/etc/sysctl.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
echo kernels_autodetect=\"NO\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index d585972b9c77..120b96473166 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -45,8 +45,8 @@
# included if the tree is modified.
TYPE="FreeBSD"
-REVISION="12.0"
-BRANCH="ALPHA10"
+REVISION="13.0"
+BRANCH="CURRENT"
if [ -n "${BRANCH_OVERRIDE}" ]; then
BRANCH=${BRANCH_OVERRIDE}
fi
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 916afc93ec89..3d77aa945c10 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -60,7 +60,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1200085 /* Master, propagated to newvers */
+#define __FreeBSD_version 1300000 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,