-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
System shared-library dependencies are not lazily loaded in single-file on Linux #54347
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @vitek-karas, @agocke, @CoffeeFlux, @VSadov Issue DetailsSee #45720 for an example. It looks like the default runtime deployment avoids this by loading libSystem.Net.Security.Native.so lazily, which will only then load many of the system libraries. Since that library is not statically compiled into the host, its dependencies are loaded eagerly. Unfortunately the only way to implement this may be to call dlopen ourselves, since I don't know a way of getting the Linux linker to automatically insert the stub.
|
Tagging subscribers to this area: @agocke, @vitek-karas, @VSadov Issue DetailsSee #45720 for an example. It looks like the default runtime deployment avoids this by loading libSystem.Net.Security.Native.so lazily, which will only then load many of the system libraries. Since that library is not statically compiled into the host, its dependencies are loaded eagerly. Unfortunately the only way to implement this may be to call dlopen ourselves, since I don't know a way of getting the Linux linker to automatically insert the stub.
|
This should be fixed in #55037 |
See #45720 for an example.
It looks like the default runtime deployment avoids this by loading libSystem.Net.Security.Native.so lazily, which will only then load many of the system libraries. Since that library is not statically compiled into the host, its dependencies are loaded eagerly.
Unfortunately the only way to implement this may be to call dlopen ourselves, since I don't know a way of getting the Linux linker to automatically insert the stub.
The text was updated successfully, but these errors were encountered: