Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2015 12:04:10 -0800
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, <threads@freebsd.org>, <arch@freebsd.org>, <sjg@juniper.net>
Subject:   Re: libthr shared locks
Message-ID:  <6581.1451160250@chaos>
In-Reply-To: <567DFF95.70904@freebsd.org>
References:  <20151223172528.GT3625@kib.kiev.ua> <567DFF95.70904@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@freebsd.org> wrote:
> > ABI variant.  But since userspace tends to use the pthread objects in
> > the layouts of the library objects, this causes serious ABI issues
> > when mixing libraries built against different default versions of
> > libthr.
> 
> which is one reason I think symbol versioning is over-rated..

symbol versioning works fine - provided you have opaque structs.

> just make a new library version.

as previously noted, this rarely solves anything since to avoid problems
you need to bump the major version of all shared libs, and you cannot do
that for 3rd party code you don't even know exists.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6581.1451160250>