gnutls-devel
[Top][All Lists]
Advanced

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

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


From: Andreas Metzler
Subject: [gnutls-dev] Symbol versioning in gnutls 1.5.x
Date: Sun, 24 Sep 2006 12:10:10 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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