- Update to 1.6

This commit is contained in:
Julien Laffaye 2016-02-26 19:22:23 +00:00
parent f2c91b47f1
commit ada5686a1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409632
6 changed files with 472 additions and 226 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= go
PORTVERSION= 1.5.3
PORTVERSION= 1.6
PORTEPOCH= 1
CATEGORIES= lang
MASTER_SITES= http://golang.org/dl/
@ -18,8 +18,7 @@ BUILD_DEPENDS= go14>=1.4:${PORTSDIR}/lang/go14
USES= shebangfix
SHEBANG_LANG= sh
SHEBANG_FILES= ${WRKSRC}/src/*.bash \
${WRKSRC}/doc/articles/wiki/*.bash \
${WRKSRC}/test/bench/shootout/timing.sh
${WRKSRC}/doc/articles/wiki/*.bash
sh_OLD_CMD= "/usr/bin/env bash"
sh_CMD= ${SH}

View file

@ -1,2 +1,2 @@
SHA256 (go1.5.3.src.tar.gz) = 754e06dab1c31ab168fc9db9e32596734015ea9e24bc44cae7f237f417ce4efe
SIZE (go1.5.3.src.tar.gz) = 12057623
SHA256 (go1.6.src.tar.gz) = a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146
SIZE (go1.6.src.tar.gz) = 12613308

View file

@ -1,16 +0,0 @@
--- src/cmd/link/internal/ld/ldelf.go.orig 2015-09-09 01:24:01 UTC
+++ src/cmd/link/internal/ld/ldelf.go
@@ -629,6 +629,13 @@ func ldelf(f *obj.Biobuf, pkg string, le
if strings.HasPrefix(sym.name, ".Linfo_string") { // clang does this
continue
}
+
+ if sym.name == "" && sym.type_ == 0 && sect.name == ".debug_str" {
+ // This reportedly happens with clang 3.7 on ARM.
+ // See issue 13139.
+ continue
+ }
+
Diag("%s: sym#%d: ignoring %s in section %d (type %d)", pn, i, sym.name, sym.shndx, sym.type_)
continue
}

View file

@ -1,11 +0,0 @@
--- src/cmd/link/internal/ld/lib.go.orig 2015-09-09 01:24:02 UTC
+++ src/cmd/link/internal/ld/lib.go
@@ -1765,7 +1765,7 @@ func genasmsym(put func(*LSym, string, i
}
for s := Ctxt.Allsym; s != nil; s = s.Allsym {
- if s.Hide != 0 || (s.Name[0] == '.' && s.Version == 0 && s.Name != ".rathole") {
+ if s.Hide != 0 || ((s.Name == "" || s.Name[0] == '.') && s.Version == 0 && s.Name != ".rathole") {
continue
}
switch s.Type & obj.SMASK {

View file

@ -1,11 +0,0 @@
--- ./test/bench/shootout/timing.sh.orig 2013-06-09 23:33:01.405924747 +1000
+++ ./test/bench/shootout/timing.sh 2013-06-09 23:33:16.526347653 +1000
@@ -81,7 +81,7 @@
$1
shift
- echo $((time -p $* >/dev/null) 2>&1) | awk '{print $4 "u " $6 "s " $2 "r"}'
+ echo $( (time -p $* >/dev/null) 2>&1) | awk '{print $4 "u " $6 "s " $2 "r"}'
}
fasta() {

File diff suppressed because it is too large Load diff