-
-
Notifications
You must be signed in to change notification settings - Fork 393
WRAPPER] Add missing libc/selinux/ssl symbols #3385
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
Conversation
6d28613 to
6bd94be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some function does not exists. Where did you find them and what needs them?
|
From the description: it's for docker. |
|
Yet, those 2 functions will not exist in most glibc distributions. |
These symbols are missing when running x86_64 binaries inside a docker container on loongarch with box64. |
|
pidfd_send_signal and pidfd_open are using GOM. |
Signed-off-by: Zewei Yang <[email protected]>
|
Creating default falback for the new call also, that's nice. |
Thank you! I'm really interested in improving support for running x86_64 containers on other architectures. I'll be doing more testing, so apologies in advance if I create a bit of noise with more PRs/Issues in the near future! |
|
We appreciate it if you could maintain a document on how to run x86_64 Docker containers with box64 in |
It's still in the debugging stage, and due to the special nature of Loongarch ABI, I'm using the sysroot of ABI2 to run x86 containers on the physical machine of ABI1. I will come up with a standard way of running it as soon as possible (the reason for this is because the glibc version of ABI1 is too low). |
Add missing wrapper entries for libc/selinux/openssl symbols used by docker run (use apt/libsystemd).
Provide weak libc fallbacks for strerrorname_np and open_tree on older glibc.
Regenerate wrapper outputs.
Observed logs (before fix)