Module Name: src
Committed By: mrg
Date: Sat Sep 12 08:31:39 UTC 2020
Modified Files:
src: UPDATING
src/doc: CHANGES
src/share/mk: bsd.own.mk
Log Message:
switch to GCC 9 on arm and x86.
note GCC 8.3, 8.4 and 9.3 import dates. add an UPDATING entry.
To generate a diff of this commit:
cvs rdiff -u -r1.313 -r1.314 src/UPDATING
cvs rdiff -u -r1.2735 -r1.2736 src/doc/CHANGES
cvs rdiff -u -r1.1208 -r1.1209 src/share/mk/bsd.own.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/UPDATING
diff -u src/UPDATING:1.313 src/UPDATING:1.314
--- src/UPDATING:1.313 Mon Sep 7 10:19:02 2020
+++ src/UPDATING Sat Sep 12 08:31:39 2020
@@ -1,4 +1,4 @@
-$NetBSD: UPDATING,v 1.313 2020/09/07 10:19:02 mrg Exp $
+$NetBSD: UPDATING,v 1.314 2020/09/12 08:31:39 mrg Exp $
This file (UPDATING) is intended to be a brief reference to recent
changes that might cause problems in the build process, and a guide for
@@ -19,6 +19,10 @@ See also: BUILDING, build.sh, Makefile.
Recent changes:
^^^^^^^^^^^^^^^
+20200912:
+ GCC 9 has arrived for Arm and x86 platforms, and will be coming
+ for several more, as will binutils 2.34. Clean as required.
+
20200907:
GCC 9 is coming, and binutils has been updated for MIPS. This
probably requires cleaning the tools/binutils.
Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2735 src/doc/CHANGES:1.2736
--- src/doc/CHANGES:1.2735 Wed Sep 9 05:16:01 2020
+++ src/doc/CHANGES Sat Sep 12 08:31:39 2020
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2735 $>
+# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2736 $>
#
#
# [Note: This file does not mention every change made to the NetBSD source tree.
@@ -40,6 +40,7 @@ Changes from NetBSD 9.0 to NetBSD 10.0:
packets from userland. [maxv 20190914]
mos(4): Ported driver for MosChip MCS7730/7830/7832 USB ethernet.
[mrg 20190920]
+ gcc(1): Import GCC 8.3. [mrg 20191001]
libpcap: Import 1.9.1. [christos 20191001]
tcpdump(8): Import 4.9.3. [christos 20191001]
rescue(8): Moved into a separate, rescue-only set. [maya 20191001]
@@ -153,6 +154,7 @@ Changes from NetBSD 9.0 to NetBSD 10.0:
libcbor: Import for libfido2 support [christos 20200302]
libfido2: Import for pam-u2f support [christos 20200302]
pam-u2f: Import token authenticator [christos 20200302]
+ gcc(1): Import GCC 8.4. [mrg 20200311]
terminfo: Support numeric parameters as int [roy 20200313]
postfix(1): Import version 3.5.0. [christos 20200318]
OpenSSL: Imported 1.1.1e. [christos 20200321]
@@ -274,6 +276,7 @@ Changes from NetBSD 9.0 to NetBSD 10.0:
kernel: Disable COMPAT_LINUX by default [jdolecek 20200816]
mips: Port crash(8) to mips. [mrg 20200816]
wg(4): Add implementation of WireGuard protocol. [ozaki-r 20200820]
+ gcc(1): Import GCC 8.4. [mrg 20200904]
dhcpcd: Update to version 9.2.0. [roy 20200906]
iavf(4): Add driver for Intel Ethernet Adaptive Virtual Function
[yamaguchi 20200908]
Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.1208 src/share/mk/bsd.own.mk:1.1209
--- src/share/mk/bsd.own.mk:1.1208 Thu Sep 10 06:02:30 2020
+++ src/share/mk/bsd.own.mk Sat Sep 12 08:31:39 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1208 2020/09/10 06:02:30 mrg Exp $
+# $NetBSD: bsd.own.mk,v 1.1209 2020/09/12 08:31:39 mrg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -63,7 +63,12 @@ TOOLCHAIN_MISSING?= no
#
# What GCC is used?
#
+.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_CPU} == "aarch64" || ${MACHINE_CPU} == "arm"
+HAVE_GCC?= 9
+.else
HAVE_GCC?= 8
+.endif
#
# Platforms that can't run a modern GCC natively