summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lynn Boger [Fri, 27 Oct 2017 14:06:40 +0000 (10:06 -0400)]
runtime: use -buildmode=pie in testCgoPprofPIE instead of -extldflags=-pie
Errors occur in runtime test testCgoPprofPIE when the test
is built by passing -pie to the external linker with code
that was not built as PIC. This occurs on ppc64le because
non-PIC is the default, and fails only on newer distros
where the address range used for programs is high enough
to cause relocation overflow. This test should be built
with -buildmode=pie since that correctly generates PIC
with -pie.
Related issues are #21954 and #22126.
Updates #22459
Change-Id: Ib641440bc9f94ad2b97efcda14a4b482647be8f7
Reviewed-on: https://go-review.googlesource.com/73970
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Gbp-Pq: Name 0005-runtime-use-buildmode-pie-in-testCgoPprofPIE-instead.patch
Lynn Boger [Thu, 28 Sep 2017 14:26:39 +0000 (10:26 -0400)]
cmd/dist: use -buildmode=pie for pie testing
Some tests in misc/cgo/test are run with various options including
'-linkmode=external "-extldflags=-pie"'. On ppc64x passing -pie to
the external linker with code that was not compiled as position
independent is incorrect. This works by luck in many cases but is
not guaranteed to work. I suspect it is an issue on other targets
as well.
This will now run the tests using -buildmode=pie for the platforms
that support that buildmode option.
Fixes #21954
Change-Id: I25fc7573f2d3cb5b0d1c691a0ac91aef7715404f
Reviewed-on: https://go-review.googlesource.com/66870
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Gbp-Pq: Name 0004-cmd-dist-use-buildmode-pie-for-pie-testing.patch
Go Compiler Team [Wed, 7 Feb 2018 21:38:27 +0000 (21:38 +0000)]
reproducible-BUILD_PATH_PREFIX_MAP
Gbp-Pq: Name 0002-reproducible-BUILD_PATH_PREFIX_MAP.patch
Michael Hudson-Doyle [Wed, 7 Feb 2018 21:38:27 +0000 (21:38 +0000)]
golang-1.9 (1.9.4-1) unstable; urgency=medium
* New upstream version, fixing CVE-2018-6574.
[dgit import unpatched golang-1.9 1.9.4-1]
Michael Hudson-Doyle [Wed, 7 Feb 2018 21:38:27 +0000 (21:38 +0000)]
Import golang-1.9_1.9.4.orig.tar.gz
[dgit import orig golang-1.9_1.9.4.orig.tar.gz]
Michael Hudson-Doyle [Wed, 7 Feb 2018 21:38:27 +0000 (21:38 +0000)]
Import golang-1.9_1.9.4-1.debian.tar.xz
[dgit import tarball golang-1.9 1.9.4-1 golang-1.9_1.9.4-1.debian.tar.xz]