-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: go install -buildmode=pie fails with permission denied #15433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In order to run |
Could you please keep this issue open? I do think this issue can be fixed. Now I have a slightly better understanding of the problem. The Debian package What would be the recommended way to install the Go compiler including both static and position-independent shared variants of the standard and runtime libraries? Debian uses |
Debian can run At this point I don't see a reason to reopen this issue. I don't see anything we can do on the Go side to fix this; any fix has to be on the Debian side. I'm happy to reopen if you have a suggestion for what we can do. |
I've been meaning to talk on golang-dev about this for a while, so I finally posted https://groups.google.com/d/msg/golang-dev/BcSBfR2CVo8/ArTy2n7WCAAJ |
I am trying to compile and install a position-independent executable (PIE) of a minimal Go program:
I am using Go 1.6.1 on Debian unstable amd64:
Compiling the executable works fine:
Compiling and installing the executable fails with this error:
The text was updated successfully, but these errors were encountered: