From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1844 invoked by alias); 28 Mar 2013 04:36:42 -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 1694 invoked by uid 48); 28 Mar 2013 04:36:24 -0000 From: "dhatch at ilm dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15311] _dl_sort_fini static deps can be violated by dynamic ones Date: Thu, 28 Mar 2013 04:36: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhatch at ilm 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-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-03/txt/msg00159.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15311 --- Comment #5 from Don Hatch 2013-03-28 04:36:23 UTC --- Created attachment 6954 --> http://sourceware.org/bugzilla/attachment.cgi?id=6954 test case for bug Bug 15311 - patch adding new test "order3" to git master at 3a7182a14b /* Test case for bug 15311 "_dl_sort_fini static deps can be violated by dynamic ones". Static dependencies: 1->2->3->4 Dynamic dependencies: 4->2, 4->1, 3->1, 2->21->1, 3->32->2, 4->43->3 The static dependencies are acyclic, so they should all be honored. Every dynamic dependency takes part in contradicting static dependencies, so they should all be ignored. Output should be "4{2{21{1{}}}1{}43{3{1{}32{2{21{1{}}}}}}}0123456" (the curly brace stuff just verifies the test is set up correctly; the 0123456 at the end shows that _dl_sort_fini got the fini right order). */ The current implementation has very little chance of getting it right-- its output ends in 0134256. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.