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

Re: Symbols files for C++ libraries



Andrey Rahmatullin <wrar@debian.org> writes:
> On Fri, Dec 06, 2019 at 05:37:25PM +0100, Ole Streicher wrote:
>> for the "casacore" package (written in C++), we wanted to introduce
>> symbols files for the shared libraries it produces. However, this
>> somehow does not work, as they seem to depend on the architecture and/or
>> the C++ compiler version:
>> 
>> https://buildd.debian.org/status/logs.php?pkg=casacore&ver=3.2.1-1
>> 
>> shows the build failures for the same package that compiled well on
>> x86_64 caused by differences in the symbols table.
>> 
>> How should one handle this?
> My favorite answer for that is in the Policy section 8.6:
>
> """
> For most C libraries, the additional detail required by symbols files is
> not too difficult to maintain. However, maintaining exhaustive symbols
> information for a C++ library can be quite onerous, so shlibs files may be
> more appropriate for most C++ libraries. 
> """

OK, I think I will just omit symbols file. Casacore anyway changes the
ABI quite often, making these files of limited use only.

Thank you

Ole


Reply to: