-
-
Notifications
You must be signed in to change notification settings - Fork 498
warning working around a Linux kernel bug by creating a hole #92
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
Comments
Was the result binary usable or you complained about the waning message? |
Hi xiaosuo, I am also facing similar issue for setting interpreter and rpath for libpthread.so.0, Warning message as shown below
I would like to understand the significance of creating a hole of X bytes in the library. Thanks in advance. |
In fact, nothing bad will happen except for size bloating, because patchelf handles it for you. Just take it easy and ignore these warning messages. I submitted a PR for these annoying messages. See #111 |
Hi xiaosuo, Thanks for the quick response. I would like to know some additional information. I am curious to know why the file bloating is required for dynamic libraries which is happening in the function rewriteSectionsLibrary(). Thanks in advance. |
This appears to be obsolete, as the message is no longer present in current |
Yes. |
Is it time to tag a stable release that includes c4deb5e? |
Is this fixed? |
My understanding is that it's fixed in |
Ubuntu 18.04 has EDIT: And the executable isn't runnable anymore |
patchelf 0.10 was released on 2019-03-28: https://github.com/NixOS/patchelf/releases/tag/0.10 |
patchelf --set-rpath /opt/lib /opt/lib/libQtCore.so.4.8.7
warning: working around a Linux kernel bug by creating a hole of 2088960 bytes in ‘/opt/lib//libQtCore.so.4.8.7’
I am using patchelf 0.9
I saw a related bug here: #47 and its fix f6886c2
But that didn't solved my issue.
size of libQtCore.so.4.8.7 is only 3.1 M
The text was updated successfully, but these errors were encountered: