From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26104 invoked by alias); 25 Nov 2014 14:10:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 26056 invoked by uid 48); 25 Nov 2014 14:10:17 -0000 From: "paulo.cesar.pereira.de.andrade at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/17645] RFE: Improve performance of dynamic loader for deeply nested DSO dependencies. Date: Tue, 25 Nov 2014 14:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: paulo.cesar.pereira.de.andrade at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg00196.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17645 --- Comment #2 from Paulo Andrade --- The change to elf/Makefile is to make the test case have only one valid result. The expected result is: start_a1 start_a2 start_b1 start_b2 start_a3 start_a4 main finish_a4 finish_a3 finish_b2 finish_b1 finish_a2 finish_a1 but "a1" and "b1" do not have any dependencies, and without the elf/Makefile patch it would result in: start_a1 start_b1 start_a2 start_b2 start_a3 start_a4 main finish_a4 finish_a3 finish_b2 finish_b1 finish_a2 finish_a1 The "input" of that test case, wihtout the patch is: [0] = "" () [1] = a4 (a4 a3 libc.so) [2] = a1 (a1 libc.so) [3] = b2 (b2 b1 a2 libc.so) [4] = libc.so (libc.so ld.so) [5] = a3 (a3 b2 b1 libc.so) [6] = b1 (b1 libc.so) [7] = a2 (a2 a1 libc.so) [8] = ld.so () where items in () are the dependencies of an object, and [] is the input order. -- You are receiving this mail because: You are on the CC list for the bug.