From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K2KHF-0007yl-Et for garchives@archives.gentoo.org; Sat, 31 May 2008 06:09:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F30CE03A9; Sat, 31 May 2008 06:09:15 +0000 (UTC) Received: from smtp.pewny.pl (v99.rev.tld.pl [195.149.224.99]) by pigeon.gentoo.org (Postfix) with ESMTP id 1DD80E03A9 for ; Sat, 31 May 2008 06:09:14 +0000 (UTC) Received: (qmail 26972 invoked by uid 99007); 31 May 2008 06:09:12 -0000 X-clamdmail: clamdmail 0.18a Received: from 195.149.224.99 (HELO localhost) (moloh@moloh.net@195.149.224.99) by 195.149.224.99 with ESMTPA; 31 May 2008 06:09:12 -0000 Date: Sat, 31 May 2008 00:09:08 -0600 From: Michal Kurgan To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: --as-needed to default LDFLAGS (Was: RFC: Should preserve-libs be enabled by default?) Message-ID: <20080531000908.095603a9@gentoo.org> In-Reply-To: <20080531021748.4dd0b78e@snowcone> References: <20080529011316.54f0f1f6@sheridan.genone.homeip.net> <200805301657.46861.levertond@googlemail.com> <200805301743.15555.levertond@googlemail.com> <484051DC.6090409@gentoo.org> <20080530202034.1b147946@snowcone> <1212183082.13925.2.camel@localhost> <20080530223700.12cd7bcd@snowcone> <1212184064.13925.15.camel@localhost> <20080530225351.3fc023cb@snowcone> <20080530220743.GH17201@comet> <20080530231429.24970398@snowcone> <48408A36.2070608@gentoo.org> <20080531002644.41d9b7bf@snowcone> <484093C5.90902@gentoo.org> <20080531010259.52b8c105@snowcone> <4840990B.9040909@gentoo.org> <20080531013016.4aceedbb@snowcone> <4840A3EE.30708@gentoo.org> <20080531021748.4dd0b78e@snowcone> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.8; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 782b35b8-0e0a-49ce-9a58-26efc3aa61a7 X-Archives-Hash: a65b464047b17e425c2af672f7dc0d87 On Sat, 31 May 2008 02:17:48 +0100 Ciaran McCreesh wrote: > On Sat, 31 May 2008 03:03:42 +0200 > Luca Barbato wrote: > > Ciaran McCreesh wrote: > > > Which is where the design flaw is -- as-needed incorrectly assumes > > > that the only type of dependency between shared objects is a name > > > dependency. This isn't true with C++ static initialisers. > > > > I don't see why should be different than abusing .init in any other > > language that let you do (ok, C, C++, asm mostly). > > In C++ it's not abuse. It's using the language as specified and > designed. > Would that be possible for you (or anyone else) to point or provide example of code that breaks after use of as-needed? -- Michal Kurgan http://dev.gentoo.org/~moloh -- gentoo-dev@lists.gentoo.org mailing list