Skip to content
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

cmd/link: UPX doesn't run on 64bit elf binaries #13974

Closed
OneOfOne opened this issue Jan 15, 2016 · 3 comments
Closed

cmd/link: UPX doesn't run on 64bit elf binaries #13974

OneOfOne opened this issue Jan 15, 2016 · 3 comments

Comments

@OneOfOne
Copy link
Contributor

As the title says, upx does't run on Go 64bit elf binaries and exits with:

upx: exe-name: EOFException: premature end of file 
@ianlancetaylor ianlancetaylor changed the title UPX doesn't run on 64bit elf binaries. cmd/link: UPX doesn't run on 64bit elf binaries Jan 15, 2016
@ianlancetaylor ianlancetaylor added this to the Unplanned milestone Jan 15, 2016
@OneOfOne
Copy link
Contributor Author

I submited a patch @ https://go-review.googlesource.com/18690 (first time using the new Gerrit).

The linker already handles ELF32 headers, so I extended it to ELF64.

@ebfe
Copy link
Contributor

ebfe commented Jan 15, 2016

@gopherbot
Copy link

CL https://golang.org/cl/18690 mentions this issue.

petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Jul 6, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Jul 7, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Jul 28, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Sep 6, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Sep 7, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Sep 9, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Sep 14, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
petrosagg added a commit to balena-os/balena-supervisor that referenced this issue Sep 14, 2016
golang/go#13974
golang/go@5e7110b

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
@golang golang locked and limited conversation to collaborators Jan 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants