Re: How to handle breakages when the size of a class in a shared lib increases?

2023-07-12 Thread Paul Wise
On Wed, 2023-07-12 at 06:49 +, Sune Vuorela wrote: > Either you need to do a packagename change (and debian specific SONAME > iwth all that entails; or maybe there is a way to restore the old abi. > Can you provide a full diff of header,implementation of the relevant > classes ? You can also

Re: How to handle breakages when the size of a class in a shared lib increases?

2023-07-12 Thread Sune Vuorela
On 2023-07-11, Pierre Gruet wrote: > Unfortunately, it turns out fields were added to some class (of which > size thus increased) in the shared library, so that binaries built > against a previous version of it now segfault as they are not allocating > enough space. Either you need to do a

Re: How to handle breakages when the size of a class in a shared lib increases?

2023-07-11 Thread Pierre Gruet
Hi tobi, Le 11/07/2023 à 16:52, Tobias Frost a écrit : Hi Pierre, On Tue, Jul 11, 2023 at 04:10:49PM +0200, Pierre Gruet wrote: Dear Mentors, I maintain a package that builds a shared library. I uploaded a new upstream version of it to Debian, with no removed symbols, no ABI change... Fine.

Re: How to handle breakages when the size of a class in a shared lib increases?

2023-07-11 Thread Andrey Rakhmatullin
On Tue, Jul 11, 2023 at 04:10:49PM +0200, Pierre Gruet wrote: > I maintain a package that builds a shared library. I uploaded a new upstream > version of it to Debian, with no removed symbols, no ABI change... Fine. Tobias already explained that there was actually an ABI change, but... > How

Re: How to handle breakages when the size of a class in a shared lib increases?

2023-07-11 Thread Tobias Frost
Hi Pierre, On Tue, Jul 11, 2023 at 04:10:49PM +0200, Pierre Gruet wrote: > Dear Mentors, > > I maintain a package that builds a shared library. I uploaded a new upstream > version of it to Debian, with no removed symbols, no ABI change... Fine. > Unfortunately, it turns out fields were added to

How to handle breakages when the size of a class in a shared lib increases?

2023-07-11 Thread Pierre Gruet
Dear Mentors, I maintain a package that builds a shared library. I uploaded a new upstream version of it to Debian, with no removed symbols, no ABI change... Fine. Unfortunately, it turns out fields were added to some class (of which size thus increased) in the shared library, so that