-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Stripping a Linux binary built with raco exe --orig-exe
gives a contract violation
#3831
Comments
The issue here is that |
mflatt
added a commit
to mflatt/racket
that referenced
this issue
May 15, 2021
Clean up tangled and partly repeated code, and normalize ELF use for boot files and embedded modules. Also, repair Unix-style Mac OS builds. With these changes, `raco exe` should always produce a well-formed ELF, Mach-O, or PE excutable. The mode that just appends to the end of the executable should happen only platforms that don't use one of those three --- which are very rare and unlikely supported, anyway. Closes racket#3831
maueroats
pushed a commit
to maueroats/racket
that referenced
this issue
Jun 17, 2021
Clean up tangled and partly repeated code, and normalize ELF use for boot files and embedded modules. Also, repair Unix-style Mac OS builds. With these changes, `raco exe` should always produce a well-formed ELF, Mach-O, or PE excutable. The mode that just appends to the end of the executable should happen only platforms that don't use one of those three --- which are very rare and unlikely supported, anyway. Closes racket#3831
maueroats
pushed a commit
to maueroats/racket
that referenced
this issue
Jun 17, 2021
Clean up tangled and partly repeated code, and normalize ELF use for boot files and embedded modules. Also, repair Unix-style Mac OS builds. With these changes, `raco exe` should always produce a well-formed ELF, Mach-O, or PE excutable. The mode that just appends to the end of the executable should happen only platforms that don't use one of those three --- which are very rare and unlikely supported, anyway. Closes racket#3831
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Racket are you using?
8.1 [cs]
What program did you run?
I compiled a Racket program on Fedora Linux 33 with
(Actually the program source is in a different directory and is named differently.)
If I run the program with
./myprogram --help
, I get the help output as expected.If I run
strip myprogram
and then./myprogram --help
, I getWhat should have happened?
The output of the program should be the same as before stripping.
If you got an error message, please include it here.
See above
Please include any other relevant details
racket-8.1-x86_64-linux-cs.sh
.The text was updated successfully, but these errors were encountered: