From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13731 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: dlsym(handle) may search in unrelated libraries Date: Fri, 8 Feb 2019 04:19:32 -0600 Message-ID: <4B0996EC-3EE5-438E-8BFA-245644408109@adelielinux.org> References: <20190206160248.GB5469@voyager> <20190206202518.GC5469@voyager> <96c367533236e3e203f04a994ee65c47@ispras.ru> <20190207053327.GD5469@voyager> <20190207165447.GP23599@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-9D7E3E70-6121-4D5A-B1BD-018ABF5A3985 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="163312"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-13747-gllmg-musl=m.gmane.org@lists.openwall.com Fri Feb 08 11:19:54 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1gs3GB-000gIv-0C for gllmg-musl@m.gmane.org; Fri, 08 Feb 2019 11:19:51 +0100 Original-Received: (qmail 11993 invoked by uid 550); 8 Feb 2019 10:19:48 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 11975 invoked from network); 8 Feb 2019 10:19:48 -0000 In-Reply-To: <20190207165447.GP23599@brightrain.aerifal.cx> X-Mailer: iPhone Mail (15E302) Xref: news.gmane.org gmane.linux.lib.musl.general:13731 Archived-At: --Apple-Mail-9D7E3E70-6121-4D5A-B1BD-018ABF5A3985 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Feb 7, 2019, at 10:54 AM, Rich Felker wrote: >=20 > However, a depth-first list of dependencies is also needed to solve the lo= ngstanding ctor-order issue discussed in several past threads (which I can l= ook up if search doesn't turn them up for you). This is not a requirement of= POSIX (which doesn't even have ctors), but it's a reasonable expectation we= currently get wrong and I think it might be specified in ELF or some relate= d sysv "standards". It is part of the ELF 1.2 standard and is not only required by GLib, but als= o Nouveau, gtk-doc, some Qt apps, and others. More info, including the spec citation, example failures, and the musl ML th= read, can be found on our BTS: https://bts.adelielinux.org/show_bug.cgi?id=3D11 Best, =E2=80=94arw=20 -- A. Wilcox (Sent from my iPhone - not signed) Project Lead, Ad=C3=A9lie Linux https://adelielinux.org= --Apple-Mail-9D7E3E70-6121-4D5A-B1BD-018ABF5A3985 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Feb 7, 2019, at 10:54 AM, Rich Felk= er <dalias@libc.org> wrote:

However, a depth-first= list of dependencies is also needed to solve the longstan= ding ctor-order issue discussed in several past threads (w= hich I can look up if search doesn't turn them up for you). This is not a requirement of POSIX (which doesn't even have ctors), but it= 's a reasonable expectation we currently get wrong and I t= hink it might be specified in ELF or some related sysv "st= andards".


It is part of the= ELF 1.2 standard and is not only required by GLib, but also Nouveau, gtk-do= c, some Qt apps, and others.

More info, including t= he spec citation, example failures, and the musl ML thread, can be found on o= ur BTS:

=

Best,
=E2=80=94arw 


--
A. Wilcox (Sent from my iPhone - not= signed)
Project Lead, Ad=C3=A9lie Linux=
= --Apple-Mail-9D7E3E70-6121-4D5A-B1BD-018ABF5A3985--