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

Support stripping binaries to further reduce size #31

Closed
3 tasks
JonathonReinhart opened this issue Jun 15, 2017 · 1 comment
Closed
3 tasks

Support stripping binaries to further reduce size #31

JonathonReinhart opened this issue Jun 15, 2017 · 1 comment

Comments

@JonathonReinhart
Copy link
Owner

  • Strip bootloader
  • Strip app
  • Strip all libraries
@JonathonReinhart
Copy link
Owner Author

When attempting to strip the app (which was modified by patchelf), I get the following error:

strip: /tmp/staticx-archive-np8ygy/styE6ckV: Not enough room for program headers, try linking with -N
strip:/tmp/staticx-archive-np8ygy/styE6ckV[.note.ABI-tag]: Bad value

It appears that I can simply ignore the error, and proceed with the unstripped binary.

NixOS/patchelf#117 supposedly fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant