Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 428246 Details for
Bug 577098
dev-lang/go packages fail on amd64-musl when built with external linker
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from Alpine linux for dev-lang/go fixing the issue
no-pic.patch (text/plain), 567 bytes, created by
Felix Janda
on 2016-03-14 19:33:29 UTC
(
hide
)
Description:
Patch from Alpine linux for dev-lang/go fixing the issue
Filename:
MIME Type:
Creator:
Felix Janda
Created:
2016-03-14 19:33:29 UTC
Size:
567 bytes
patch
obsolete
>diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go >index 8ccbec9dd634..4e96bfadc260 100644 >--- a/src/cmd/link/internal/ld/lib.go >+++ b/src/cmd/link/internal/ld/lib.go >@@ -1194,6 +1194,11 @@ func hostlink() { > argv = append(argv, peimporteddlls()...) > } > >+ // The Go linker does not currently support building PIE >+ // executables when using the external linker. See: >+ // https://github.com/golang/go/issues/6940 >+ argv = append(argv, "-fno-PIC") >+ > if Debug['v'] != 0 { > fmt.Fprintf(&Bso, "host link:") > for _, v := range argv {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 577098
:
427996
|
427998
|
428000
|
428094
|
428096
|
428116
|
428228
| 428246