From: Ryan Burn <rnickb731@gmail.com>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: Ryan Burn via Libc-help <libc-help@sourceware.org>
Subject: Re: Trouble with portable linking
Date: Thu, 17 Dec 2020 12:47:44 -0800 [thread overview]
Message-ID: <CACqP_wwR2zeXZgtwASAXQ7+HFXz85DeLA8zZH2RGJKGwkiC8vA@mail.gmail.com> (raw)
In-Reply-To: <87lfdwdwb4.fsf@mid.deneb.enyo.de>
On Thu, Dec 17, 2020 at 12:14 PM Florian Weimer <fw@deneb.enyo.de> wrote:
>
> If you want to be compatible with glibc versions that check the
> embedded soname in symbol versions (which is not visible in the @
> syntax), you need to build a stub library that defines the required
> symbol versions in the right shared object. There is no way to
> achieve this with .symver directives.
Thanks for the response! Could you elaborate a little more on how I
can build the stub library?
If I understand correctly, newer versions of glibc will resolve a
versioned symbol even if the embedded soname doesn't match. Is there a
way to explicitly define the soname so that I can specify it to
libpthread? Then it would work with both newer and older versions of
glibc, right?
next prev parent reply other threads:[~2020-12-17 20:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-17 19:57 Ryan Burn
2020-12-17 20:14 ` Florian Weimer
2020-12-17 20:47 ` Ryan Burn [this message]
2020-12-17 20:55 ` Florian Weimer
2020-12-17 21:08 ` Ryan Burn
2020-12-18 7:48 ` Florian Weimer
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=CACqP_wwR2zeXZgtwASAXQ7+HFXz85DeLA8zZH2RGJKGwkiC8vA@mail.gmail.com \
--to=rnickb731@gmail.com \
--cc=fw@deneb.enyo.de \
--cc=libc-help@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).