libpthread shared library version number

Alexander Kabaev kabaev at gmail.com
Thu Nov 2 01:09:58 UTC 2006


On Wed, 1 Nov 2006 19:38:41 -0500 (EST)
Daniel Eischen <deischen at freebsd.org> wrote:

> On Wed, 1 Nov 2006, Maxim Sobolev wrote:
> 
> > Guys,
> >
> > I have noticed that libpthread shared library version number in
> > 6-STABLE and 7-CURRENT is the same (.2), which causes all threaded
> > application compiled for 6-STABLE to segfault when executed on
> > 7-CURRENT system, unless libpthread.so.2 is replaced with with its
> > 6-STABLE version which in turn will create problems with threaded
> > apps compiled for 7-CURRENT. IMHO we should increase version number
> > in 7-CURRENT, so that it is in the line of what we have for other
> > system libraries.
> 
> It should be done as part of a larger set of library version bumps.
> All libraries should be bumped.  I believe kan and kensmith were
> suppose to be looking at that.  We wanted to enable symble versioning
> by default, so all libraries would need to be bumped.
> 

I never indicate that I was going to do anything regarding version
bumps and I still have no plans whatsoever to do so. It probably does
not make sense to do anything until we have a new GCC in the tree.
Just a note to someone who is brave enough to volunteer for the task.

Handling of libpthread/libthr is not anyone's idea of fun, as both
librares are exporting different symbol sets under the same version
name, stick their dirty hands into rtld internals, etc.

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20061102/5d2d844b/signature.pgp


More information about the freebsd-current mailing list