From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14845 invoked from network); 26 May 2020 18:27:41 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 26 May 2020 18:27:41 -0000 Received: (qmail 29831 invoked by uid 550); 26 May 2020 18:27:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 29804 invoked from network); 26 May 2020 18:27:36 -0000 Date: Tue, 26 May 2020 14:27:23 -0400 From: Rich Felker To: Alexander Scherbatiy Cc: musl@lists.openwall.com Message-ID: <20200526182723.GS1079@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] dlvsym 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