From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11108 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Reviving planned ldso changes Date: Mon, 6 Mar 2017 11:25:56 -0500 Message-ID: <20170306162556.GO1520@brightrain.aerifal.cx> References: <20170104193627.GO1555@brightrain.aerifal.cx> <587A988A.50105@Wilcox-Tech.com> <20170115174438.GD1533@brightrain.aerifal.cx> <20170226010429.GQ12395@port70.net> <20170226013926.GY1520@brightrain.aerifal.cx> <20170226102830.GR12395@port70.net> <20170226152016.GZ1520@brightrain.aerifal.cx> <20170226153436.GA2082@port70.net> <20170226213925.GB1520@brightrain.aerifal.cx> <20170303013026.GJ1520@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1488817575 26297 195.159.176.226 (6 Mar 2017 16:26:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Mar 2017 16:26:15 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-11123-gllmg-musl=m.gmane.org@lists.openwall.com Mon Mar 06 17:26:11 2017 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.84_2) (envelope-from ) id 1ckvSX-0005rc-V2 for gllmg-musl@m.gmane.org; Mon, 06 Mar 2017 17:26:06 +0100 Original-Received: (qmail 5652 invoked by uid 550); 6 Mar 2017 16:26:10 -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 5634 invoked from network); 6 Mar 2017 16:26:09 -0000 Content-Disposition: inline In-Reply-To: <20170303013026.GJ1520@brightrain.aerifal.cx> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11108 Archived-At: On Thu, Mar 02, 2017 at 08:30:26PM -0500, Rich Felker wrote: > Here's a v4 of the patch that saves the "init parent" we descended > from so that it can return where it left off. There are a couple > gratuitous hunks left over adding setting of "needed_by" where it made > sense to be set, but it's not actually used anymore. They could be > dropped if desired but are probably nice to keep for the sake of > consistency of data, even thoough it's data we don't use. Upon further review I think these additions to needed_by should be dropped, or moved to a separate change if deemed correct. They alter rpath processing. For ldso it doesn't matter since ldso has no deps, but for LD_PRELOAD libs, the change causes them to use the main app's rpath for finding their deps, which may or may not be reasonable, but is a functional change unrelated to dependency-order ctor execution. Rich