-
Notifications
You must be signed in to change notification settings - Fork 43
[RTLD] Dynamic linker #990
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
base: master
Are you sure you want to change the base?
Conversation
b38309a to
ef2ca8f
Compare
|
[CURRENT STATUS] Currently linking dynamically is only supported on ia32. Dynamic linker is adaptation of dynamic linker used by NetBSD. Locally I run nightly test campaign with all binaries linked dynamically and all tests passed but TODO:
Things to consider:
|
40a8682 to
6d6c02a
Compare
f345526 to
cc65c5e
Compare
2e6fb7a to
368ff5c
Compare
db87a7d to
b577676
Compare
|
Host tests fails due to devel image used being based on ubuntu 24 and having newer version of |
5a37a97 to
0456019
Compare
da8d746 to
2bd81ef
Compare
99de363 to
701db57
Compare
|
TODO: Remove need for ldconfig. Migrate to creating symlinks on host. ldconfig was needed as both ext2 and rofs did not support symlinks created on host. The issue in ext2 has been fixed, on rofs this can also be done. |
701db57 to
3fe1b7f
Compare
3fe1b7f to
ab204d1
Compare
JIRA: RTOS-664
ab204d1 to
adbc592
Compare
Description
This change contains all changes needed for shared libraries support.
Toolchain needs to be rebuild.
Small example showing how to create a shared library and link dynamically is added
sharedlibMotivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment
This PR needs additional PRs to work (list the PRs, preferably in merge-order).
[RTLD]Adapt build env to shared libs phoenix-rtos-build#177
[RTLD] Add support for PIC and being build as shared library libphoenix#334
[RTLD] Add interpreter support phoenix-rtos-kernel#511
[RTLD] Dynamic linker phoenix-rtos-utils#214
I will merge this PR by myself when appropriate.