pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang go*: Disable SSP support completely.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64e496858e03
branches:  trunk
changeset: 374878:64e496858e03
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jan 30 17:05:21 2018 +0000

description:
go*: Disable SSP support completely.

It's not supported by the go linker, and can cause issues when building
third-party modules if the SSP libraries are handled by pkgsrc.

diffstat:

 lang/go/Makefile   |  4 +---
 lang/go/version.mk |  4 +++-
 lang/go14/Makefile |  4 +---
 3 files changed, 5 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r e224e0762d9f -r 64e496858e03 lang/go/Makefile
--- a/lang/go/Makefile  Tue Jan 30 16:40:23 2018 +0000
+++ b/lang/go/Makefile  Tue Jan 30 17:05:21 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2018/01/28 11:31:03 bsiegert Exp $
+# $NetBSD: Makefile,v 1.61 2018/01/30 17:05:21 jperkin Exp $
 
 .include "version.mk"
 
@@ -71,8 +71,6 @@
 CHECK_RELRO_SKIP+=             go/pkg/bootstrap/bin/asm
 CHECK_RELRO_SKIP+=             go/pkg/bootstrap/bin/compile
 CHECK_RELRO_SKIP+=             go/pkg/bootstrap/bin/link
-# also does not support SSP at this time
-CHECK_SSP_SKIP=                        ${CHECK_RELRO_SKIP}
 
 # uses /bin/rc (for Plan 9)
 CHECK_INTERPRETER_SKIP+=       go/include/plan9/mklibc.rc
diff -r e224e0762d9f -r 64e496858e03 lang/go/version.mk
--- a/lang/go/version.mk        Tue Jan 30 16:40:23 2018 +0000
+++ b/lang/go/version.mk        Tue Jan 30 17:05:21 2018 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: version.mk,v 1.32 2018/01/28 11:31:03 bsiegert Exp $
+# $NetBSD: version.mk,v 1.33 2018/01/30 17:05:21 jperkin Exp $
+
+SSP_SUPPORTED= no
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r e224e0762d9f -r 64e496858e03 lang/go14/Makefile
--- a/lang/go14/Makefile        Tue Jan 30 16:40:23 2018 +0000
+++ b/lang/go14/Makefile        Tue Jan 30 17:05:21 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2018/01/20 16:55:25 christos Exp $
+# $NetBSD: Makefile,v 1.16 2018/01/30 17:05:22 jperkin Exp $
 
 .include "../../lang/go/version.mk"
 
@@ -70,8 +70,6 @@
 # uses its own linker which does not support relro in 1.4.x
 CHECK_RELRO_SKIP=      go14/bin/go
 CHECK_RELRO_SKIP+=     go14/bin/gofmt
-# also does not support SSP at this time
-CHECK_SSP_SKIP=                ${CHECK_RELRO_SKIP}
 
 # uses /bin/rc (for Plan 9)
 CHECK_INTERPRETER_SKIP+=       go14/include/plan9/mklibc.rc



Home | Main Index | Thread Index | Old Index