Skip to content
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

Missing _dl_find_object@GLIBC_2.35 (in C++ library with static libstdc++) #11

Open
kkofler opened this issue Oct 30, 2024 · 2 comments
Open

Comments

@kkofler
Copy link

kkofler commented Oct 30, 2024

Apparently, libstdc++ now requires _dl_find_object, which was added in glibc 2.35. The .so I tried to run polyfill-glibc is statically linked with libstdc++ (because, as you know, libstdc++ is also only one-way-compatible). As a result, it has a dependency on _dl_find_object@GLIBC_2.35, so polyfill-glibc cannot make it work with --target-glibc=2.34 or less.

This: https://git.adelielinux.org/adelie/gcompat/-/issues/364 has links to a few implementations of the function.

@kkofler
Copy link
Author

kkofler commented Oct 30, 2024

@kkofler
Copy link
Author

kkofler commented Oct 30, 2024

Here is another one: https://github.com/Qwinci/hzlibc/blob/ac2c8153c185af066df7fa3c026e36a367c44e30/src/rtld/rtld.cpp#L250 (but as most of them, it relies on internal datastructures of that libc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant