Skip to content

Add metadata to the SDL ELF libraries to track dynamically opened libraries #12971

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

Open
madebr opened this issue May 6, 2025 · 2 comments · May be fixed by #13078
Open

Add metadata to the SDL ELF libraries to track dynamically opened libraries #12971

madebr opened this issue May 6, 2025 · 2 comments · May be fixed by #13078
Assignees

Comments

@madebr
Copy link
Contributor

madebr commented May 6, 2025

https://systemd.io/ELF_DLOPEN_METADATA/

This would allow utilities to track SDL's dynamically loaded libraries, and act upon this.
This is useful for packagers.

@madebr madebr self-assigned this May 6, 2025
@icculus
Copy link
Collaborator

icculus commented May 6, 2025

It has "required" "recommended" and "suggested" as options, but we really need a "what on earth do you even want this for?!" option for some of our audio backends. 🤣

@smcv
Copy link
Contributor

smcv commented May 14, 2025

I'd find this useful for the Debian packaging (even though we link many of the libraries as a mandatory dependency, we do use FOO_SHARED to make some of the less-key features optional).

It has "required" "recommended" and "suggested" as options, but we really need a "what on earth do you even want this for?!" option for some of our audio backends. 🤣

I would assume that's either "suggested", or intentionally omitting the metadata, or deleting the code path altogether (either by making it a compile-time option that's off by default, or by deleting it completely if we're confident that nobody should be using it).

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

Successfully merging a pull request may close this issue.

3 participants