[Rpm-maint] [rpm-software-management/rpm] Introduce symbol versioning to all rpm libraries (PR #4255)
Michal Domonkos
notifications at github.com
Tue Aug 4 09:59:53 UTC 2026
dmnks left a comment (rpm-software-management/rpm#4255)
I'm still not super excited about scattering the visibility info across header files when we have it neatly packed in a set of text files already. If versioning being an ELF-only (non-musl) thing is the sole reason for that duplication, I'm thinking: Couldn't we pre-process the version files at configure time by only inserting a version label conditionally? A version file without a version label seems to [fulfill the same role](https://stackoverflow.com/a/21845178) as the per-symbol visibility attributes. Something like:
```
@VERSION_LABEL@ {
global:
...
local:
...
}
```
where `@VERSION_LABEL@` would be replaced with e.g. `LIBRPMBUILD_6.2` if enabled in the cmake config?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4255#issuecomment-5177448591
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/4255/c5177448591 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260804/b61d26e4/attachment.htm>
More information about the Rpm-maint
mailing list