Source-Changes-HG archive

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

[src/trunk]: src/share/mk switch hppa to GCC 7.



details:   https://anonhg.NetBSD.org/src/rev/e41d0913ae67
branches:  trunk
changeset: 998003:e41d0913ae67
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Apr 04 21:31:28 2019 +0000

description:
switch hppa to GCC 7.

note vax atf fails same as GCC 6.  hppa mostly works but has an
atf issue also unrelated to the compiler version

note ia64 mostly builds, but the kernel fails earlier than GCC 6.

diffstat:

 external/gpl3/gcc/README.gcc7 |  11 ++++++-----
 share/mk/bsd.own.mk           |   3 +--
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 58156c7788be -r e41d0913ae67 external/gpl3/gcc/README.gcc7
--- a/external/gpl3/gcc/README.gcc7     Thu Apr 04 21:00:19 2019 +0000
+++ b/external/gpl3/gcc/README.gcc7     Thu Apr 04 21:31:28 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc7,v 1.14 2019/04/02 21:29:46 mrg Exp $
+$NetBSD: README.gcc7,v 1.15 2019/04/04 21:31:28 mrg Exp $
 
 new stuff (from gcc 5):
        cc1objcplus
@@ -39,9 +39,9 @@
 earmv7eb       y       ?       y       y               ?               ?       ?       y
 earmv7hf       y       ?       y       y               ?               ?       ?       y
 earmv7hfeb     y       ?       y       y               ?               ?       ?       y
-hppa           y       y       y       y               y               ?       ?       ?
+hppa           y       y       y       y               y               y       y       y
 i386           y       y       y       y               y               y       y       y
-ia64           y       y       y       y               y               ?       ?       ?
+ia64           y       y       y       y               y               [2]     ?       ?
 m68000         y       y       y       y               y               ?       ?       y
 m68k           y       y       y       y               y               y       ?       y
 mipseb         y       y       y       y               y               ?       ?       y
@@ -54,7 +54,7 @@
 sh3el          y       y       y       y               y               y       ?       y
 sparc          y       y       y       y               y               y       ?       y
 sparc64                y       y       y       y               y               y       ?       y
-vax            y       y       y       y               y               n[3]    ?       ?
+vax            y       y       y       y               y               y       n[1]    y
 x86_64         y       y       y       y               y               y       y       y
 --
 or1k           
@@ -64,7 +64,8 @@
 ------------   -----   ------- ------  ----------      ------------    ----    ---
 architecture   tools   kernels libgcc  native-gcc      make release    runs    atf
 
-[3] - vax dynamic seems busted, but /rescue works
+[1] - vax atf is busted due to c++ exceptions not working
+[2] - kernel fails earlier than gcc6 kernel.
 [9] - /usr/src6/external/gpl3/gcc/dist/libgcc/libgcc2.c:2036:1: error: unrecognizable insn:
 
 CPU vs platform test table (for CPUs with multiple ports).  this is "make release" or just kernels.
diff -r 58156c7788be -r e41d0913ae67 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Thu Apr 04 21:00:19 2019 +0000
+++ b/share/mk/bsd.own.mk       Thu Apr 04 21:31:28 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1123 2019/04/03 21:41:21 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.1124 2019/04/04 21:31:28 mrg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -59,7 +59,6 @@
 # What GCC is used?
 #
 .if \
-    ${MACHINE_CPU} == "hppa"   || \
     ${MACHINE_CPU} == "ia64"   || \
     ${MACHINE_ARCH} == "powerpc64"
 HAVE_GCC?=     6



Home | Main Index | Thread Index | Old Index