How to use PROPERTIES VERSION and SOVERSION?

Thiago Macieira thiago at kde.org
Tue Apr 15 00:57:54 CEST 2008


Dirk Mueller wrote:
>On Friday 11 April 2008, Thiago Macieira wrote:
>> > Yet GENERIC_LIB_SOVERSION is just set to "4". I miss something,
>> > obviously.
>>
>> ELF doesn't support that. It should support two numbers: the minimum
>> version and the current. That is, kdelibs 4.1 is backwards compatible
>> with 4.0; Qt 4.4 is backwards compatible with 4.0 as well (including
>> all in-between).
>
>Of course it does support that. It is called symbol versioning. It is
> quite a lot of manual maintenance overhead, and quite difficult to do
> for C++ (because it is hard to predict the mangled name). You'd need a
> good tool for that. I don't know one.

It gets increasingly difficult when dealing with virtual tables and the 
sort. To the point that symbol versioning in C++ is impossible to use.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080414/10092447/attachment.pgp 


More information about the Kde-buildsystem mailing list