This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
Re: [Bug dynamic-link/15311] _dl_sort_fini static deps can be violated by dynamic ones
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: neleai at seznam dot cz <sourceware-bugzilla at sourceware dot org>
- Cc: glibc-bugs at sourceware dot org
- Date: Thu, 28 Mar 2013 09:14:34 +0100
- Subject: Re: [Bug dynamic-link/15311] _dl_sort_fini static deps can be violated by dynamic ones
- References: <bug-15311-131 at http dot sourceware dot org/bugzilla/> <bug-15311-131-DTVLXKtBlt at http dot sourceware dot org/bugzilla/>
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.