8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
24 lines
833 B
Diff
24 lines
833 B
Diff
--- source.org/src/cmd/dist/test.go 2018-02-22 10:40:40.089632339 +0000
|
|
+++ source/src/cmd/dist/test.go 2018-02-22 10:56:53.075193788 +0000
|
|
@@ -526,21 +526,6 @@
|
|
})
|
|
}
|
|
|
|
- // Test internal linking of PIE binaries where it is supported.
|
|
- if goos == "linux" && 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", t.goTest(), "reflect", "-buildmode=pie", "-ldflags=-linkmode=internal", t.timeout(60))
|
|
- return nil
|
|
- },
|
|
- })
|
|
- }
|
|
-
|
|
// sync tests
|
|
t.tests = append(t.tests, distTest{
|
|
name: "sync_cpu",
|