Source-Changes-HG archive

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

[src/trunk]: src switch m68000, m68k and 32 bit arm to GCC 10. just sh3 left!



details:   https://anonhg.NetBSD.org/src/rev/a3a370a85dc2
branches:  trunk
changeset: 379775:a3a370a85dc2
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jun 19 06:19:35 2021 +0000

description:
switch m68000, m68k and 32 bit arm to GCC 10.  just sh3 left!

special thanks to rin for fixing arm32.

diffstat:

 doc/CHANGES                    |   8 ++++--
 external/gpl3/gcc/README.gcc10 |  48 ++++++++++++++++-------------------------
 share/mk/bsd.own.mk            |  15 +-----------
 3 files changed, 26 insertions(+), 45 deletions(-)

diffs (134 lines):

diff -r c11c745aa1af -r a3a370a85dc2 doc/CHANGES
--- a/doc/CHANGES       Sat Jun 19 05:50:48 2021 +0000
+++ b/doc/CHANGES       Sat Jun 19 06:19:35 2021 +0000
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:                   <$Revision: 1.2811 $>
+# LIST OF CHANGES FROM LAST RELEASE:                   <$Revision: 1.2812 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -378,6 +378,8 @@ Changes from NetBSD 9.0 to NetBSD 10.0:
        raid(4): Add support for swapped-endian autoconfiguration.
                [mrg 20210525]
        dhcp: Import version 4.4.2-P1. [christos 20210526]
-       mips: Switch to GCC 10.  [mrg 20210426]
-       i386: Switch to GCC 10.  [mrg 20210426]
+       mips: Switch to GCC 10.  [mrg 20210526]
+       i386: Switch to GCC 10.  [mrg 20210526]
        libfido2: Import 1.7.0 [christos 20210616]
+       m68k: Switch to GCC 10.  [mrg 20210619]
+       arm: Switch to GCC 10.  [mrg 20210619]
diff -r c11c745aa1af -r a3a370a85dc2 external/gpl3/gcc/README.gcc10
--- a/external/gpl3/gcc/README.gcc10    Sat Jun 19 05:50:48 2021 +0000
+++ b/external/gpl3/gcc/README.gcc10    Sat Jun 19 06:19:35 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc10,v 1.22 2021/06/16 00:56:16 rin Exp $
+$NetBSD: README.gcc10,v 1.23 2021/06/19 06:19:35 mrg Exp $
 
 
 new stuff:
@@ -33,25 +33,25 @@ architecture        tools   kernels libgcc  native
 aarch64                y       y       y       y               y               y       y       y
 aarch64eb      y       y       y       y               y               y       y       y
 alpha          y       y       y       y               y               y       y       y
-earmv4         y       y       y       y               y               y       ?       n
-earmv4eb       y       b       y       y               y               ?       ?       ?
-earmv5         y       b       y       y               y               y       y       n
-earmv5eb       y       b       y       y               y               ?       ?       ?
-earmv5hf       y       y       y       y               y               ?       ?       ?
-earmv5hfeb     y       b       y       y               y               ?       ?       ?
-earmv6         y       b       y       y               y               y       y       n
-earmv6eb       y       b       y       y               y               y       y       n
-earmv6hf       y       y       y       y               y               y       y       n
-earmv6hfeb     y       y       y       y               y               y       y       n
-earmv7         y       b       y       y               y               y       y       n
-earmv7eb       y       b       y       y               y               y       y       n
-earmv7hf       y       y       y       y               y               y       y       n
-earmv7hfeb     y       y       y       y               y               y       y       n
+earmv4         y       y       y       y               y               y       ?       y
+earmv4eb       y       b       y       y               y               ?       ?       y
+earmv5         y       b       y       y               y               y       y       y
+earmv5eb       y       b       y       y               y               ?       ?       y
+earmv5hf       y       y       y       y               y               ?       ?       y
+earmv5hfeb     y       b       y       y               y               ?       ?       y
+earmv6         y       b       y       y               y               y       y       y
+earmv6eb       y       b       y       y               y               y       y       y
+earmv6hf       y       y       y       y               y               y       y       y
+earmv6hfeb     y       y       y       y               y               y       y       y
+earmv7         y       b       y       y               y               y       y       y
+earmv7eb       y       b       y       y               y               y       y       y
+earmv7hf       y       y       y       y               y               y       y       y
+earmv7hfeb     y       y       y       y               y               y       y       y
 hppa           y       y       y       y               y               y       y       y
 i386           y       y       y       y               y               y       n[8]    y
 ia64           y       y       y       y               y               ?       N/A     y
-m68000         y       b       y       y               n[1]            ?       ?       ?
-m68k           y       y       y       y               y[9]            y       ?       n
+m68000         y       b       y       y               y               n[1]    ?       y
+m68k           y       y       y       y               y               y       ?       y
 mipseb         y       y       y       y               y               y       ?       y
 mipsel         y       y       y       y               y               y       ?       y
 mips64eb       y       y       y       y               y               y       y       y
@@ -71,23 +71,13 @@ coldfire    ?       N/A     ?       ?               ?               N/A     N/A
 ------------   -----   ------- ------  ----------      ------------    ----    ---
 architecture   tools   kernels libgcc  native-gcc      make release    runs    atf
 
-[1] - ramdisk.fs is too large, needs fixing.
+[1] - kernel may be too large, does not boot.  GCC 9 is the same, though.
 [6] - vax vs c++ exceptions issue, same as it ever was
 [7] - fails just as poorly in gxemul/landisk as GCC 9
 [8] - i386 seems to have a signal delivery issue.  pthread tests hang and then
       complain with eg:
          threads_and_exec: q[ 627.6700846] sorry, pid 3154 was killed: orphaned traced process
       this problem occurs with GCC 9 as well.  works in qemu?
-[9] - x68k/stand fails with:
-      link  loadbsd/loadbsd.x
-      loadbsd1: program header #1 is not loadable
-      problem is understood (thanks tsutsui@): previously loadbsd was linked
-      against normal userland libc components for m68k, which allows it to
-      detect running on m68000 CPU and sanely fail, instead of an barf error.
-      new gcc built libc includes TLS support, that isn't compatible with this
-      and the conversion process fails.  can be fixed by using libkern instead,
-      and accepting the poor error on m68000.
-
 
 
 CPU vs platform test table (for CPUs with multiple ports).  this is "make release" or just kernels.
@@ -105,7 +95,7 @@ earmv7:                                              y               y
 earmv7hf:                                      y               y
 
                amiga           atari   cesfic  hp300           luna68k         mac68k          mvme68k         news68k         next68k         sun3    x68k
-m68k:          y               y       y       y               y               y               y               y               y               y       n[9]
+m68k:          y               y       y       y               y               y               y               y               y               y       y
 
                evbmips         emips           ews4800mips     mipsco          newsmips        sgimips
 mipseb:                y               y               y               y               y               y
diff -r c11c745aa1af -r a3a370a85dc2 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Jun 19 05:50:48 2021 +0000
+++ b/share/mk/bsd.own.mk       Sat Jun 19 06:19:35 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1256 2021/06/03 07:40:48 rin Exp $
+#      $NetBSD: bsd.own.mk,v 1.1257 2021/06/19 06:19:35 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -72,18 +72,7 @@ TOOLCHAIN_MISSING?=  no
 #
 # What GCC is used?
 #
-.if ${MACHINE} == "alpha" || \
-    ${MACHINE} == "hppa" || \
-    ${MACHINE} == "ia64" || \
-    ${MACHINE} == "sparc" || \
-    ${MACHINE} == "sparc64" || \
-    ${MACHINE} == "vax" || \
-    ${MACHINE_ARCH} == "i386" || \
-    ${MACHINE_ARCH} == "x86_64" || \
-    ${MACHINE_CPU} == "aarch64" || \
-    ${MACHINE_CPU} == "mips" || \
-    ${MACHINE_CPU} == "powerpc" || \
-    ${MACHINE_CPU} == "riscv"
+.if ${MACHINE_CPU} != "sh3"
 HAVE_GCC?=     10
 .else
 HAVE_GCC?=     9



Home | Main Index | Thread Index | Old Index