From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8873 Path: news.gmane.org!not-for-mail From: u-uy74@aetey.se Newsgroups: gmane.linux.lib.musl.general Subject: Re: some odd library loading errors Date: Tue, 17 Nov 2015 16:42:48 +0100 Message-ID: <20151117154248.GJ26951@example.net> References: <20151117121429.GI26951@example.net> <20151117152355.GF18372@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1447774999 29465 80.91.229.3 (17 Nov 2015 15:43:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 15:43:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8886-gllmg-musl=m.gmane.org@lists.openwall.com Tue Nov 17 16:43:16 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZyiPb-0002Uc-Ob for gllmg-musl@m.gmane.org; Tue, 17 Nov 2015 16:43:15 +0100 Original-Received: (qmail 32212 invoked by uid 550); 17 Nov 2015 15:43:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32187 invoked from network); 17 Nov 2015 15:43:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date; s=20140703; t=1447774982; x=1449589383; bh=NavTO3Q2V bVqytasOoncOIOXy/wm0oMLvtRc4k+di14=; b=FwH49B9elSWE00zVgFEfCjZMw 7ityhKqT0xlUQhTpjvEhEusfW9Xbzv7pFFACDYGMUxvu1NyauXpwIDAAIQPJhJ8a D/aC0VZYKOiApAIViWRx/QmXdf6wduA8jOIB8yzoYKqbiX0UuW8gEvd/TG8tTvoy MldkSZHcypoGQ4TvSk= X-Virus-Scanned: Debian amavisd-new at fripost.org Content-Disposition: inline In-Reply-To: <20151117152355.GF18372@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:8873 Archived-At: On Tue, Nov 17, 2015 at 04:23:56PM +0100, Szabolcs Nagy wrote: > > $ LD_LIBRARY_PATH= ./a > > Error relocating /libatomic.so.1: __atomic_store_8: symbol not found > > Error relocating /libatomic.so.1: __atomic_exchange_8: symbol not found > > Error relocating /libatomic.so.1: __atomic_load_8: symbol not found > > Error relocating /libatomic.so.1: __atomic_compare_exchange_8: symbol not found > > > > this is a known issue, they use the gnu ifunc extension of > elf to dispatch between different implementations based on > the machine at library loadtime. Oh. Now I see. Indeed you mentioned this earlier. Bad style gcc. > build gcc with --disable-gnu-indirect-function > (then i guess libatomic will always use the > portable implementation.) Sigh. Thanks Szabolcs! Rune