From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17998 invoked by alias); 28 Mar 2013 08:19:17 -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 17931 invoked by uid 89); 28 Mar 2013 08:19:11 -0000 X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_NEUTRAL autolearn=no version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from popelka.ms.mff.cuni.cz (HELO popelka.ms.mff.cuni.cz) (195.113.20.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 28 Mar 2013 08:19:09 +0000 Received: from domone.kolej.mff.cuni.cz (popelka.ms.mff.cuni.cz [195.113.20.131]) by popelka.ms.mff.cuni.cz (Postfix) with ESMTPS id 318D645378; Thu, 28 Mar 2013 09:19:05 +0100 (CET) Received: by domone.kolej.mff.cuni.cz (Postfix, from userid 1000) id 21A746045C; Thu, 28 Mar 2013 09:14:34 +0100 (CET) Date: Thu, 28 Mar 2013 08:19:00 -0000 From: =?utf-8?B?T25kxZllaiBCw61sa2E=?= To: neleai at seznam dot cz Cc: glibc-bugs@sourceware.org Subject: Re: [Bug dynamic-link/15311] _dl_sort_fini static deps can be violated by dynamic ones Message-ID: <20130328081433.GA6597@domone.kolej.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2013-03/txt/msg00166.txt.bz2 I realized it matters in which order we consider dependencies. Naturaly dynamic deps come after static. Why should we simply add timestamp when object is created and use it to call destructors in reverse order.