Source-Changes-HG archive

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

[src/trunk]: src/share/mk switch mips* and i386 to GCC 10.



details:   https://anonhg.NetBSD.org/src/rev/51570e7a8ceb
branches:  trunk
changeset: 1021340:51570e7a8ceb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu May 27 06:58:27 2021 +0000

description:
switch mips* and i386 to GCC 10.

arm32 (significant issues remaining), m68k (seems fine, but x68k
needs to reduce support in loadbsd), and sh3 remaining.

diffstat:

 external/gpl3/gcc/README.gcc10 |  14 +++++++-------
 share/mk/bsd.own.mk            |   4 +++-
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r 9c1e5021635c -r 51570e7a8ceb external/gpl3/gcc/README.gcc10
--- a/external/gpl3/gcc/README.gcc10    Thu May 27 06:54:44 2021 +0000
+++ b/external/gpl3/gcc/README.gcc10    Thu May 27 06:58:27 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc10,v 1.20 2021/04/25 15:32:24 rin Exp $
+$NetBSD: README.gcc10,v 1.21 2021/05/27 06:58:27 mrg Exp $
 
 
 new stuff:
@@ -48,14 +48,14 @@
 earmv7hf       y       y       y       y               y               y       y       n
 earmv7hfeb     y       b       y       y               y               y       y       n
 hppa           y       y       y       y               y               y       y       y
-i386           y       y       y       y               y               y       n[8]    ?
+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
-mipseb         y       y       y       y               y               y       ?       ?
-mipsel         y       y       y       y               y               y       ?       ?
-mips64eb       y       y       y       y               y               y       y       ?
-mips64el       y       b       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
+mips64el       y       b       y       y               y               y       ?       y
 powerpc                y       b       y       y               y               y       y       y
 powerpc64      y       b       y       y               y               N/A     N/A     y
 sh3eb          y       b       y       y               y               ?       ?       ?
@@ -85,7 +85,7 @@
 [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.
+      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
diff -r 9c1e5021635c -r 51570e7a8ceb share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu May 27 06:54:44 2021 +0000
+++ b/share/mk/bsd.own.mk       Thu May 27 06:58:27 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1248 2021/05/26 20:21:25 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1249 2021/05/27 06:58:27 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -74,12 +74,14 @@
 #
 .if ${MACHINE} == "alpha" || \
     ${MACHINE} == "hppa" || \
+    ${MACHINE} == "i386" || \
     ${MACHINE} == "ia64" || \
     ${MACHINE} == "sparc" || \
     ${MACHINE} == "sparc64" || \
     ${MACHINE} == "vax" || \
     ${MACHINE_ARCH} == "x86_64" || \
     ${MACHINE_CPU} == "aarch64" || \
+    ${MACHINE_CPU} == "mips" || \
     ${MACHINE_CPU} == "powerpc" || \
     ${MACHINE_CPU} == "riscv"
 HAVE_GCC?=     10



Home | Main Index | Thread Index | Old Index