bug-libunistring
[Top][All Lists]
Advanced

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

Re: [bug-libunistring] libunistring 1.1 ABI and LTV_... variable values


From: Daiki Ueno
Subject: Re: [bug-libunistring] libunistring 1.1 ABI and LTV_... variable values
Date: Fri, 09 Dec 2022 08:32:32 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hello Bruno, all,

Brian Inglis <Brian.Inglis@SystematicSw.ab.ca> writes:

> Packaging 1.1 on latest Cygwin, DLL version jumps from 2 to 5.

This affects not only Cygwin, but also any other distributions where
libtool supports building shared library.  In my case it was on
Fedora[1]; that means we would need to rebuild all the dependent
packages, some of which might be required by compose bootstrap, so we
might eventually need to provide a compatibility package that provides
both SONAMEs to fix the buildroot.

In the first place, however, is this SONAME bump intentional?

Checking with the abidiff program from libabigail shows only a few, kind
of indirect changes:

--8<---------------cut here---------------start------------->8---
$ abidiff --hd1 /usr/include --hd2 lib /usr/lib64/libunistring.so.2 
lib/.libs/libunistring.so.5

ELF SONAME changed
Functions changes summary: 0 Removed, 1 Changed (337 filtered out), 0 Added 
functions
Variables changes summary: 0 Removed, 3 Changed (45 filtered out), 0 Added 
variables

SONAME changed from 'libunistring.so.2' to 'libunistring.so.5'

1 function with some indirect sub-type change:

  [C] 'function size_t libunistring_xsum(size_t, size_t)' at xsize.h:63:1 has 
some indirect sub-type changes:
    function size_t libunistring_xsum(size_t, size_t) is now declared inline

3 Changed variables:

  [C] 'const unsigned char libunistring_gl_uninorm_decomp_chars_table[]' was 
changed at decomposition-table1.h:20:1:
    size of symbol changed from 25803 to 25989

  [C] 'const decomp_index_table_t libunistring_gl_uninorm_decomp_index_table' 
was changed at decomposition-table1.h:35:1:
    size of symbol changed from 22140 to 22460

  [C] 'const lbrkprop_t libunistring_unilbrkprop' was changed at 
lbrkprop1.h:41:1:
    size of symbol changed from 39740 to 40252
--8<---------------cut here---------------end--------------->8---

If we can go without bumping SONAME, that would be ideal.

Footnotes:
[1]  https://src.fedoraproject.org/rpms/libunistring/pull-request/10

Regards,
-- 
Daiki Ueno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]