mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: Alexander Scherbatiy <alexander.scherbatiy@bell-sw.com>
Cc: musl@lists.openwall.com
Subject: Re: [musl] dlvsym
Date: Tue, 26 May 2020 14:27:23 -0400	[thread overview]
Message-ID: <20200526182723.GS1079@brightrain.aerifal.cx> (raw)
In-Reply-To: <c7881e40-3723-005b-0bdb-ee5558aa5b72@bell-sw.com>

On Tue, May 26, 2020 at 08:37:50PM +0300, Alexander Scherbatiy wrote:
> Hello,
> 
> I have not found dlvsym in musl. dlvsym function has a description
> that it is not described by POSIX.
> 
> What is a right way to load a symbol with a version in musl?
> For example, load libnuma symbol version 1.1 or 1.2?

musl presently does not support symbol versioning at all, except to
work around code that was built with it by always resolving dynamic
symbol references to the default version (the @@ one, the one ld would
use).

This was an intentional decision at the time, but may have been the
wrong one and might change in the future.

Rich

      reply	other threads:[~2020-05-26 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 17:37 Alexander Scherbatiy
2020-05-26 18:27 ` Rich Felker [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=20200526182723.GS1079@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=alexander.scherbatiy@bell-sw.com \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).