summary refs log tree commit diff
path: root/pkgs/development/compilers/go/remove-test-pie.patch
blob: fb8e116af76f48b98b54d6ef42ea59b48df41ad1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- 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",