diff options
author | Charles Strahan <charles@cstrahan.com> | 2017-09-05 16:24:41 -0400 |
---|---|---|
committer | Charles Strahan <charles@cstrahan.com> | 2017-09-05 16:44:13 -0400 |
commit | 3189b016470f68ccae2b76d0a15a5ccd4c60b523 (patch) | |
tree | fe44fc86fcad9398d3fb90496c87cb7fc311f60d /pkgs/development/compilers/go/remove-test-pie-1.9.patch | |
parent | 8706664ff69444ed1d576250901a4d45cb17c690 (diff) | |
download | nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.tar nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.tar.gz nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.tar.bz2 nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.tar.lz nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.tar.xz nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.tar.zst nixlib-3189b016470f68ccae2b76d0a15a5ccd4c60b523.zip |
go: init 1.9 (and set as default)
Diffstat (limited to 'pkgs/development/compilers/go/remove-test-pie-1.9.patch')
-rw-r--r-- | pkgs/development/compilers/go/remove-test-pie-1.9.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/compilers/go/remove-test-pie-1.9.patch b/pkgs/development/compilers/go/remove-test-pie-1.9.patch new file mode 100644 index 000000000000..46f94f29df20 --- /dev/null +++ b/pkgs/development/compilers/go/remove-test-pie-1.9.patch @@ -0,0 +1,26 @@ +diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go +index 73432d31ea..3310f5298d 100644 +--- a/src/cmd/dist/test.go ++++ b/src/cmd/dist/test.go +@@ -510,21 +510,6 @@ func (t *tester) registerTests() { + }) + } + +- // Test internal linking of PIE binaries where it is supported. +- if t.goos == "linux" && t.goarch == "amd64" && !isAlpineLinux() { +- // Issue 18243: We don't have a way to set the default +- // dynamic linker used in internal linking mode. So +- // this test is skipped on Alpine. +- t.tests = append(t.tests, distTest{ +- name: "pie_internal", +- heading: "internal linking of -buildmode=pie", +- fn: func(dt *distTest) error { +- t.addCmd(dt, "src", "go", "test", "reflect", "-short", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60), t.tags(), t.runFlag("")) +- return nil +- }, +- }) +- } +- + // sync tests + t.tests = append(t.tests, distTest{ + name: "sync_cpu", |