[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Massive symbol file changes in dpkg-gensymbols



Hi Xuanteng,

Exposing internal interface sounds like something to fix for the upstream.
And keeping those internal interface in the symbols file could be pointless.

We can potentially patch the upstream code with version script to hide
those internal interfaces with a wildcard. An example is here [1][2].

[1] https://salsa.debian.org/science-team/blis/-/blob/master/debian/version_script.lds?ref_type=heads [2] https://salsa.debian.org/science-team/blis/-/blob/master/debian/patches/libblas-provider.patch?ref_type=heads

On 11/20/24 18:23, Xuanteng Huang wrote:
Hi developers,

I’m giving an attempt to upgrade rocm-smi-lib [1] from 5.7.0 to 6.1.2 [2], however, there are massive symbol file diffs printed when building the package. This is because this library exposes internal interfaces without management [3].

I’m stuck on this for a while, and I want to ask is there any tool that can help us to generate a new file from current symbol file in 5.7.0 and the build diff. If not, should we consider generate the symbol file for 6.1.2 from scratch?


Best,
Xuanteng

[1]: https://salsa.debian.org/rocm-team/rocm-smi-lib
[2]: https://salsa.debian.org/rocm-team/rocm-smi-lib/-/merge_requests/5
[3]: https://salsa.debian.org/rocm-team/rocm-smi-lib/-/blob/master/debian/librocm-smi64-1.symbols.amd64?ref_type=heads


Reply to: