Re: Massive symbol file changes in dpkg-gensymbols
Hi Xuanteng, Mo,
On 2024-11-23 09:48, Xuanteng Huang wrote:
>> On Nov 21, 2024, at 10:52, Mo Zhou <lumin@debian.org> wrote:
>>
>> We can potentially patch the upstream code with version script to hide
>> those internal interfaces with a wildcard.
>
> Thansk for your suggestions, and I’ve followed this to hide all unnecessary symbols for librocm-smi [4].
>
> [4]: https://salsa.debian.org/rocm-team/rocm-smi-lib/-/merge_requests/5
I like this a lot. Concise and effective. We have other libraries that
would benefit from this as well.
Just to double-check: this only filters out local symbols and has no
other side effects, and that's what we want, right?
With this implying that, should symbols change between versions, our
dpkg-gensymbols would catch this, and an incompatible change would
trigger a SOVER bump.
I ask as I usually see version scripts use more to actively manage
symbols and versions, sidestep SOVER bumps, etc.
If we're all in agreement, then this is good and should also be
submitted upstream.
Best,
Christian
Reply to: