Source-Changes-HG archive

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

[src/trunk]: src switch to GCC 9 on arm and x86.



details:   https://anonhg.NetBSD.org/src/rev/c8ea95760da0
branches:  trunk
changeset: 943844:c8ea95760da0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Sep 12 08:31:39 2020 +0000

description:
switch to GCC 9 on arm and x86.

note GCC 8.3, 8.4 and 9.3 import dates.  add an UPDATING entry.

diffstat:

 UPDATING            |  6 +++++-
 doc/CHANGES         |  5 ++++-
 share/mk/bsd.own.mk |  7 ++++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diffs (75 lines):

diff -r 5fa2cf2b631a -r c8ea95760da0 UPDATING
--- a/UPDATING  Sat Sep 12 07:04:51 2020 +0000
+++ b/UPDATING  Sat Sep 12 08:31:39 2020 +0000
@@ -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 @@
 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.
diff -r 5fa2cf2b631a -r c8ea95760da0 doc/CHANGES
--- a/doc/CHANGES       Sat Sep 12 07:04:51 2020 +0000
+++ b/doc/CHANGES       Sat Sep 12 08:31:39 2020 +0000
@@ -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 @@
                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 @@
        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 @@
        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]
diff -r 5fa2cf2b631a -r c8ea95760da0 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Sep 12 07:04:51 2020 +0000
+++ b/share/mk/bsd.own.mk       Sat Sep 12 08:31:39 2020 +0000
@@ -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 @@
 #
 # 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



Home | Main Index | Thread Index | Old Index