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 1K2Crt-0006oA-5D for garchives@archives.gentoo.org; Fri, 30 May 2008 22:14:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78E90E0425; Fri, 30 May 2008 22:14:35 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 28148E0425 for ; Fri, 30 May 2008 22:14:35 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id z27so22516ugc.49 for ; Fri, 30 May 2008 15:14:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=D2Ars+d75DjiLY/h5jshvSTyPbUJUPbTN3uwEtvq0SM=; b=odSpQiNUsmfu+6fm5tH0/oro7Biazb7QkbY13hduAVr9ji+gxyT3jY78T+yAjyqSot dcdjltDjE/9YnGtKaigqtVp7IFv0bqp3D44Ujq4AYTj7PUpwHHEEGCaNgStPu6ITpPk3 zx8qtd03W3nT4hgHJSV0vfF5uBihcQwtxcMsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=QR/K+11W6ej0zSt9oNE/NmfFsXKcNLI7ksl2rUq2o/KXagCGHbpDvWXrT/jxpqHjjm U/FN73zeJ2VVrIXcB1M1D0LODnJ+yQKGj5fq7hMErcB8TotcKpC78LX/DWEv700YtkyH peq7b6ddV36f0a5aI31suB6id2Wfz/cbv0TWU= Received: by 10.66.224.19 with SMTP id w19mr157483ugg.58.1212185674493; Fri, 30 May 2008 15:14:34 -0700 (PDT) Received: from snowcone ( [213.121.151.206]) by mx.google.com with ESMTPS id p34sm94586ugc.27.2008.05.30.15.14.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 May 2008 15:14:34 -0700 (PDT) Date: Fri, 30 May 2008 23:14:29 +0100 From: Ciaran McCreesh 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: <20080530231429.24970398@snowcone> In-Reply-To: <20080530220743.GH17201@comet> 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> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; x86_64-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: multipart/signed; boundary="Sig_/nEfbm51tgJqvvrg5bbcpa3T"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 1a5ec616-774e-4031-b5e3-00e8d1b39fc0 X-Archives-Hash: 473ee6d31ba0b8bfff114d4f15c6117e --Sig_/nEfbm51tgJqvvrg5bbcpa3T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 30 May 2008 15:07:43 -0700 Donnie Berkholz wrote: > On 22:53 Fri 30 May , Ciaran McCreesh wrote: > > On Sat, 31 May 2008 00:47:44 +0300 > > Mart Raudsepp wrote: > > > The story that matters here is, that a C++ corner case that does > > > not work on 0.01% of packages with --as-needed and breaks on > > > non-ELF platforms, should not cause good things for our users to > > > be shot down. > >=20 > > You could say the same thing for -ffast-math... >=20 > When there's a feature that only breaks one package that we know of,=20 > wouldn't it make more sense to enable it globally and add an > exception than to do it the other way around? Both -ffast-math and --as-needed make the compiler / linker violate various standards in ways that can't be used safely unless a package has been explicitly designed to work with it. For packages that have been explicitly designed to work with either, upstream can add the options to the build system themselves. For packages that haven't, it's not Gentoo's place to try to guess whether upstream has designed their software with ricer flags in mind, and whether if it works by fluke now it'll still work in the next version. > I see that a number of packages in the tree explicitly filter=20 > -ffast-math. That's mostly from the bad old days when users were encouraged to use silly CFLAGS... --=20 Ciaran McCreesh --Sig_/nEfbm51tgJqvvrg5bbcpa3T Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhAfEcACgkQ96zL6DUtXhGPWQCdFIVOOWZzBlrAXUMJVjzIWI7I gOkAoIPPKOQDfK2sn1DaNWZTpTZ/V8K5 =NnsM -----END PGP SIGNATURE----- --Sig_/nEfbm51tgJqvvrg5bbcpa3T-- -- gentoo-dev@lists.gentoo.org mailing list