-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Regression in 0.18.0: --set-rpath creates broken header alignment #528
Comments
Might be related to #475 |
I can see a very similar issue in the latest Ubuntu Focal with In the meantime, here is my minimal example that you can try e.g. in a Docker container:
I am attaching a side-by-side diff of |
Still an issue with HEAD... |
https: //github.com/NixOS/patchelf/issues/528 Committed from host : Bola
Describe the bug
Using
--set-rpath
with 0.18.0 creates a broken header alignment. Using the patched library leads toerror while loading shared libraries: libcudart.so.11.0: ELF load command address/offset not properly aligned
. 0.17.2 works fineSteps To Reproduce
patchelf-regression.zip
Note that VirtAddr-Offset does is not aligned by Align
Expected behavior
0.17.2 produces
Note that VirtAddr-Offset does is aligned by Align
patchelf --version
outputpatchelf 0.18.0
The text was updated successfully, but these errors were encountered: