Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 577098
Collapse All | Expand All

(-)a/src/cmd/link/internal/ld/lib.go (+5 lines)
Lines 1194-1199 func hostlink() { Link Here
1194
		argv = append(argv, peimporteddlls()...)
1194
		argv = append(argv, peimporteddlls()...)
1195
	}
1195
	}
1196
1196
1197
	// The Go linker does not currently support building PIE
1198
	// executables when using the external linker. See:
1199
	// https://github.com/golang/go/issues/6940
1200
	argv = append(argv, "-fno-PIC")
1201
1197
	if Debug['v'] != 0 {
1202
	if Debug['v'] != 0 {
1198
		fmt.Fprintf(&Bso, "host link:")
1203
		fmt.Fprintf(&Bso, "host link:")
1199
		for _, v := range argv {
1204
		for _, v := range argv {

Return to bug 577098