From: Mike Frysinger <vapier@gentoo.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: hector.oron@gmail.com, gdb-patches@sourceware.org
Subject: Re: [patch] libcc1: dynamic load versioned library
Date: Tue, 24 Mar 2015 19:46:00 -0000 [thread overview]
Message-ID: <20150324194642.GG10761@vapier> (raw)
In-Reply-To: <201503241633.t2OGX6aO002810@glazunov.sibelius.xs4all.nl>
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-03-24 19:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-24 16:07 Hector Oron
2015-03-24 16:33 ` Mark Kettenis
2015-03-24 17:06 ` Hector Oron
2015-03-24 19:46 ` Mike Frysinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150324194642.GG10761@vapier \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
--cc=hector.oron@gmail.com \
--cc=mark.kettenis@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox