AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.01.22 16:53 "[Tiff] update on tiff 4.x in debian", by Jay Berkenbilt
2012.01.22 17:17 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.22 18:18 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.22 18:51 "Re: [Tiff] update on tiff 4.x in debian", by Olivier Paquet
2012.01.22 19:33 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.22 19:56 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.22 19:54 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.22 20:42 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.23 01:48 "Re: [Tiff] update on tiff 4.x in debian", by Jay Berkenbilt
2012.01.23 05:24 "Re: [Tiff] update on tiff 4.x in debian", by Tom Lane
2012.01.23 14:04 "Re: [Tiff] update on tiff 4.x in debian", by Edward Lam
2012.01.23 14:53 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.23 15:13 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.23 15:52 "Re: [Tiff] update on tiff 4.x in debian", by Jay Berkenbilt
2012.01.23 16:26 "Re: [Tiff] update on tiff 4.x in debian", by Tom Lane
2012.01.23 17:05 "Re: [Tiff] update on tiff 4.x in debian", by Olivier Paquet
2012.01.23 17:50 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.24 23:24 "Re: [Tiff] update on tiff 4.x in debian", by Jay Berkenbilt
2012.01.25 00:11 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.25 14:28 "Re: [Tiff] update on tiff 4.x in debian", by Jay Berkenbilt
2012.01.28 17:38 "Re: [Tiff] update on tiff 4.x in debian", by Jay Berkenbilt
2012.01.28 19:59 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn
2012.01.23 17:48 "Re: [Tiff] update on tiff 4.x in debian", by Jürgen_Buchmüller
2012.01.23 18:15 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn

2012.01.22 18:18 "Re: [Tiff] update on tiff 4.x in debian", by Bob Friesenhahn

Bummer. I will look into doing this based on the approach used for libjpeg. It would have been good if this had been implemented prior to the 4.0.0 release. Now we are faced with the situation that an application built against a libtiff which does not use versioned symbols will stop working if a libtiff which uses versioned symbols is inserted in its place. A defense against that is to increment 'current' and leave 'age' set to zero for the newer library since the whole interface has changed. I am not particularly religious about library file names but others may be disturbed by such changes.

We have the option to make versioned symbols optional, and defaulting to off. Libjpeg 8 enabled them by default, but it started off using versioned symbols. We also have the option to add versioned symbols by default, and warn that libjpeg 4.0.0 users will need to relink existing applications. This would cause problems for any distributions already using 4.0.0.

It is a bit of a problem/annoyance that creating the library with versioned symbols depends on the GNU linker. A system might have both the GNU linker, and a system-provided (non-GNU) linker. If the GNU linker is used, then the library happens to have versioned symbols, otherwise not.

Between Linux and FreeBSD, 'objdump --dynamic-syms' shows the same versioning information (for libjpeg) even though the library file names are dramatically different.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/