[gnutls-dev] Symbol versioning in gnutls 1.5.x

Andreas Metzler ametzler at downhill.at.eu.org
Sun Sep 24 12:10:10 CEST 2006


Hello,
I have just taken a first look at packaging gnuntls 1.5.x and stumbled
upon this one:

/usr/lib/libgnutls.so.14.0.1: 
Version definitions:
1 0x01 0x0ebdb884 libgnutls.so.14
2 0x00 0x091de683 GNUTLS_1_3

/usr/lib/libgnutls.so.13.0.9: 
Version definitions:
1 0x01 0x0ebdb883 libgnutls.so.13
2 0x00 0x091de683 GNUTLS_1_3

i.e. gnutls 1.5 uses a different soname than gnutls 1.4.x but the
symbols are still versioned with GNUTLS_1_3.

Afaiu, this is going to cause exactly the breakage symbol versioning
is supposed to protect us against: If a binary links against both 1.5
and 1.4 an runtime (e.g. mutt: linking directly against 1.5 for TLS
and indirectly against 1.4 though libldap) then symbol clashes happen
and segfaults might be caused.

Both gnutls-1.5.1/libextra/libgnutls-extra.vers and
gnutls-1.5.1/lib/libgnutls.vers should be bumped.

thanks, cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: </pipermail/attachments/20060924/25a90cc7/attachment.pgp>


More information about the Gnutls-devel mailing list