[patch] libcc1: dynamic load versioned library
Mike Frysinger
vapier@gentoo.org
Tue Mar 24 19:46:00 GMT 2015
On 24 Mar 2015 17:33, Mark Kettenis wrote:
> From: Hector Oron <hector.oron@gmail.com>
> > I believe libcc1 is versioned library therefore, it should dlopen on
> > libcc1.so.0 instead libcc1.so.
> > The patch should be applied to master and 7.9 branch.
>
> And what happens if the major version of the library is bumped?
then we need to handle it ? there's no guarantee the ABI is compatible ...
if it was, then it probably wouldn't have changed SONAMEs.
usually the libxxx.so symlink isn't generated on runtime systems. you need
to install extra dev packages to get it. so loading the SONAME directly is
almost always the right thing.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20150324/d7c368b1/attachment.sig>
More information about the Gdb-patches
mailing list