You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN echo -e "diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go\nindex 14f4fa9..5599307 100644\n--- a/src/cmd/link/internal/ld/lib.go\n+++ b/src/cmd/link/internal/ld/lib.go\n@@ -1272,6 +1272,11 @@ func hostlink() {\n\t\targv = append(argv, peimporteddlls()...)\n\t}\n\n+\t// The Go linker does not currently support building PIE\n+\t// executables when using the external linker. See:\n+\t// https://github.com/golang/go/issues/6940\n+\targv = append(argv, \"-fno-PIC\")\n+\n\tif Debug['v'] != 0 {\n\t\tfmt.Fprintf(Bso, \"host link:\")\n\t\tfor _, v := range argv {" > /no-pic.patch
16
14
# in one step (to prevent creating superfluous layers):
17
15
# 1. fetch and install temporary build programs,
18
16
# 2. fetch chisel from github (avoid ADD to reduce image size)
See [the latest release](https://github.com/jpillora/chisel/releases/latest) or download and install it now with `curl https://i.jpillora.com/chisel! | bash`
0 commit comments