Source-Changes-HG archive

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

[src/trunk]: src/share/mk Switch alpha and sparc64 back to gcc 4.8 and old bi...



details:   https://anonhg.NetBSD.org/src/rev/a247e79de003
branches:  trunk
changeset: 345174:a247e79de003
user:      martin <martin%NetBSD.org@localhost>
date:      Wed May 11 13:41:56 2016 +0000

description:
Switch alpha and sparc64 back to gcc 4.8 and old binutils for now - too much
fallout from gcc 5.3 and no quick solution, it needs more work.
Binutils 2.26 does not play well with old gcc and causes random fallout
when building pkgs (e.g. /usr/pkg/lib/libgthread-2.0.so.0:
Trying to call undefined weak symbol `__deregister_frame_info' when
build gstremeer0.10)

diffstat:

 share/mk/bsd.own.mk |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 221e471ecc92 -r a247e79de003 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Wed May 11 10:39:31 2016 +0000
+++ b/share/mk/bsd.own.mk       Wed May 11 13:41:56 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.922 2016/04/28 18:29:20 martin Exp $
+#      $NetBSD: bsd.own.mk,v 1.923 2016/05/11 13:41:56 martin Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -68,12 +68,10 @@
 HAVE_GCC?=     0
 .elif \
     ${MACHINE} == "amd64" || \
-    ${MACHINE} == "alpha" || \
     ${MACHINE} == "hppa" || \
     ${MACHINE} == "i386" || \
     ${MACHINE} == "playstation2" || \
     ${MACHINE_ARCH} == "powerpc" || \
-    ${MACHINE_ARCH} == "sparc64" || \
     ${MACHINE_ARCH} == "vax"
 HAVE_GCC?=     53
 .else
@@ -164,14 +162,12 @@
 #
 # What binutils is used?
 #
-.if ${MACHINE} == "alpha" || \
-    ${MACHINE} == "amd64" || \
+.if ${MACHINE} == "amd64" || \
     ${MACHINE} == "evbarm" || \
     ${MACHINE} == "hppa" || \
     ${MACHINE} == "i386" || \
     ${MACHINE} == "playstation2" || \
     ${MACHINE} == "sparc" || \
-    ${MACHINE} == "sparc64" || \
     ${MACHINE} == "vax" || \
     ${MACHINE_CPU} == "sh3" || \
     ${MACHINE_ARCH} == "powerpc"



Home | Main Index | Thread Index | Old Index