mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] dlvsym
@ 2020-05-26 17:37 Alexander Scherbatiy
  2020-05-26 18:27 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Scherbatiy @ 2020-05-26 17:37 UTC (permalink / raw)
  To: musl

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?

Thanks,
Alexander.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [musl] dlvsym
  2020-05-26 17:37 [musl] dlvsym Alexander Scherbatiy
@ 2020-05-26 18:27 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2020-05-26 18:27 UTC (permalink / raw)
  To: Alexander Scherbatiy; +Cc: musl

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-26 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 17:37 [musl] dlvsym Alexander Scherbatiy
2020-05-26 18:27 ` Rich Felker

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).