Package: golang-1.11 / 1.11.4-4

Metadata

Package Version Patches format
golang-1.11 1.11.4-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Reproducible BUILD_PATH_PREFIX_MAP.patch | (download)

src/cmd/go/internal/work/gc.go | 5 4 + 1 - 0 !
src/cmd/link/internal/ld/buildpathprefix.go | 56 56 + 0 - 0 !
src/cmd/link/internal/ld/dwarf.go | 4 2 + 2 - 0 !
src/cmd/link/internal/ld/pcln.go | 4 2 + 2 - 0 !
4 files changed, 64 insertions(+), 5 deletions(-)

 reproducible build_path_prefix_map

Make builds reproducible by honoring BUILD_PATH_PREFIX_MAP
Upstream has rejected the patch in this form and promised to implement an
alternative they are happy with instead. That hasn't happened yet though.

Bug: https://github.com/golang/go/issues/22491, https://github.com/golang/go/issues/16860
0002 Fix Lintian warnings about wrong interpreter path.patch | (download)

src/cmd/vendor/golang.org/x/sys/unix/mksyscall.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksyscall_solaris.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksysnum_darwin.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl | 2 1 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl | 2 1 + 1 - 0 !
src/syscall/mksyscall.pl | 2 1 + 1 - 0 !
src/syscall/mksyscall_solaris.pl | 2 1 + 1 - 0 !
src/syscall/mksysctl_openbsd.pl | 2 1 + 1 - 0 !
src/syscall/mksysnum_darwin.pl | 2 1 + 1 - 0 !
src/syscall/mksysnum_dragonfly.pl | 2 1 + 1 - 0 !
src/syscall/mksysnum_freebsd.pl | 2 1 + 1 - 0 !
src/syscall/mksysnum_linux.pl | 2 1 + 1 - 0 !
src/syscall/mksysnum_netbsd.pl | 2 1 + 1 - 0 !
src/syscall/mksysnum_openbsd.pl | 2 1 + 1 - 0 !
test/errchk | 2 1 + 1 - 0 !
18 files changed, 18 insertions(+), 18 deletions(-)

 fix lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

0003 arm64 arm64asm recognise new ssbb pssbb mnemonics fr.patch | (download)

src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/objdump_test.go | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 arm64/arm64asm: recognise new ssbb/pssbb mnemonics from objdump

Fixes golang/go#27754

0004 fix Fstatat by using fillStat_t on linux mips64x.patch | (download)

src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go | 9 8 + 1 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go | 30 15 + 15 - 0 !
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go | 30 15 + 15 - 0 !
3 files changed, 38 insertions(+), 31 deletions(-)

 [patch] unix: fix fstatat by using fillstat_t on linux/mips64x

0005 fix MIPS SGTconst with shift rules.patch | (download)

src/cmd/compile/internal/ssa/gen/MIPS.rules | 4 2 + 2 - 0 !
src/cmd/compile/internal/ssa/gen/MIPS64.rules | 4 2 + 2 - 0 !
src/cmd/compile/internal/ssa/rewriteMIPS.go | 8 4 + 4 - 0 !
src/cmd/compile/internal/ssa/rewriteMIPS64.go | 8 4 + 4 - 0 !
test/fixedbugs/issue29402.go | 23 23 + 0 - 0 !
5 files changed, 35 insertions(+), 12 deletions(-)

 [patch] cmd/compile: fix mips sgtconst-with-shift rules

(SGTconst [c] (SRLconst _ [d])) && 0 <= int32(c) && uint32(d) <= 31 && 1<<(32-uint32(d)) <= int32(c) -> (MOVWconst [1])

This rule is problematic. 1<<(32-uint32(d)) <= int32(c) meant to
say that it is true if c is greater than the largest possible
value of the right shift. But when d==1, 1<<(32-1) is negative
and results in the wrong comparison.

Rewrite the rules in a more direct way.

Fixes #29402.