You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: How to get glibc version at runtime? #4863
Do you mean for users to be able to call gnu_get_libc_version, rather than configuring which link names we emit? I think I would need to see the usecase for this.
I still have no idea how you plan to use this. If you want to dlsym then that makes sense, but I think you may as well just define it yourself in that case since you need to define the function signatures anyway. All of that is outside of this crate's scope.
Activity
oech3 commentedon Dec 3, 2025
@tgross35 Not sure is separated issue from #4700 specialized to achieve version at runtime useful.
tgross35 commentedon Dec 3, 2025
Do you mean for users to be able to call
gnu_get_libc_version, rather than configuring which link names we emit? I think I would need to see the usecase for this.oech3 commentedon Dec 3, 2025
Yes. (Ofcause we might abuse it for backword compatibility.)
tgross35 commentedon Dec 4, 2025
Do you just want a binding for
gnu_get_libc_version? Or could you say more about what kind of backcompat hacks you're looking to do?oech3 commentedon Dec 4, 2025
To distribute binary linked with Arch glibc to Ubuntu (or inverse).
tgross35 commentedon Dec 4, 2025
I still have no idea how you plan to use this. If you want to dlsym then that makes sense, but I think you may as well just define it yourself in that case since you need to define the function signatures anyway. All of that is outside of this crate's scope.
oech3 commentedon Dec 4, 2025
OK