From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3351 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Broken silent glibc-specific assumptions uncovered by musl Date: Mon, 20 May 2013 02:17:05 +0200 Message-ID: <20130520001705.GB1075@port70.net> References: <20130517173710.GA14240@brightrain.aerifal.cx> <20130518091820.GA6309@port70.net> <20130518141551.GD20323@brightrain.aerifal.cx> <20130518225147.GB6309@port70.net> <20130519220832.GI20323@brightrain.aerifal.cx> 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 1369009038 14524 80.91.229.3 (20 May 2013 00:17:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 00:17:18 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3355-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 20 02:17:18 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UeDmv-0002mz-Ta for gllmg-musl@plane.gmane.org; Mon, 20 May 2013 02:17:18 +0200 Original-Received: (qmail 18172 invoked by uid 550); 20 May 2013 00:17:17 -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 18164 invoked from network); 20 May 2013 00:17:16 -0000 Content-Disposition: inline In-Reply-To: <20130519220832.GI20323@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3351 Archived-At: * Rich Felker [2013-05-19 18:08:32 -0400]: > On Sun, May 19, 2013 at 12:51:47AM +0200, Szabolcs Nagy wrote: > > CHARSET (toutf8) > > What is toutf8? (Just curious) > it is in libidn "toutf8.c --- Convert strings from system locale into UTF-8." > > here (i386) constructors are put into .ctors.* sections > > which get sorted by the linker > > How does this work for dynamic linking? Is priority only respected > within a single DSO, and not between multiple DSOs? > i think ordering is only guaranteed within a single dso and this is not clearly documented ld -verbose shows the actual linker script that merges the relevant sections