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
Milestone

Comments

@OneOfOne
Copy link
Contributor

@OneOfOne OneOfOne commented Jan 15, 2016

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

This comment has been minimized.

Copy link
Contributor Author

@OneOfOne OneOfOne commented Jan 15, 2016

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

This comment has been minimized.

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented Jan 15, 2016

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

@gopherbot gopherbot closed this in 5e7110b Jan 19, 2016
petrosagg added a commit to balena-io/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-io/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-io/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-io/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-io/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-io/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-io/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-io/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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.