From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OT97q-0005Lp-H8 for garchives@archives.gentoo.org; Mon, 28 Jun 2010 07:51:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B2CDE0FB4; Mon, 28 Jun 2010 07:51:29 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 760F4E0E44 for ; Mon, 28 Jun 2010 07:51:26 +0000 (UTC) Received: by wwb24 with SMTP id 24so379180wwb.40 for ; Mon, 28 Jun 2010 00:51:26 -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=H5uuN2+ZprMMCySo4FIPHPCKenHiqgDoVo4ZzOgdL2Q=; b=vfgcolL+qCN8MMpnGsGZ48Sdi1EESwN8cpHNQR7N0WmLn3G0uEnMBUNBK6CgntvETz Wiiiz8dVlfZwoWvoMRWiaVjdR5tbXjoyj5Fc8FLNdiMpBfKLdT45VF/UZUn66R0OzOQs TiGhSi7JbY0iIGYwqtiHWLYxeJCzJ5eAvi8rk= 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=IQjaVH3mF1tWL5pDvZUkJXOP5RanQais8C8OiLSJrdugJtoszeH//wB7qwOpJkzQ8a N4+VLA+TjwFzgfI2EEwrRVw6Y21iVoGX7SAP4/618pTaH7cIkJZfoRIqUnJzm2QqShzZ bulMuKq5EqfbpPPaX/GQ4azUq/sVSp2zFxItM= Received: by 10.216.91.15 with SMTP id g15mr3351889wef.15.1277711485819; Mon, 28 Jun 2010 00:51:25 -0700 (PDT) Received: from snowcone ([92.16.56.192]) by mx.google.com with ESMTPS id l70sm3324552weq.24.2010.06.28.00.51.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Jun 2010 00:51:25 -0700 (PDT) Date: Mon, 28 Jun 2010 08:51:19 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Adding --as-needed to LDFLAGS in profiles/default/linux/make.defaults Message-ID: <20100628085119.1631337d@snowcone> In-Reply-To: <4C2852F6.30003@gentoo.org> References: <20100628083559.2c810fda@snowcone> <4C2852F6.30003@gentoo.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; 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; micalg=PGP-SHA1; boundary="Sig_/D2Kt3JL2u=osjWs6NmW9e=q"; protocol="application/pgp-signature" X-Archives-Salt: 08fa191c-7274-4d96-99ab-d4b83f6e8ec2 X-Archives-Hash: 56834c2130f74b1e755ed52b327496e6 --Sig_/D2Kt3JL2u=osjWs6NmW9e=q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 28 Jun 2010 10:44:54 +0300 Samuli Suominen wrote: > > You've forgotten "make --as-needed not break correct code by making > > the linker ignore explicit instructions from a program author to > > link two things together". Until you do that, --as-needed is in the > > same category as -ffast-math. >=20 > And we can't be held hostage by few packages (marginal cases), that's > why we have function called $(no-as-needed) in flag-o-matic.eclass to > disable the behavior for these packages. Will Gentoo be doing the same for -Ofast and its flags then? After all, most packages work with them, and you can't let the few packages that require standard-compliant behaviour from a compiler hold Gentoo hostage. --=20 Ciaran McCreesh --Sig_/D2Kt3JL2u=osjWs6NmW9e=q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAkwoVHsACgkQ96zL6DUtXhH5OwCffQ5DyNs1XxL1JjcCfIA1IwPy zqMAoJH7gnJ4GyvFEXDlPhA+rvOsiqQG =HrHC -----END PGP SIGNATURE----- --Sig_/D2Kt3JL2u=osjWs6NmW9e=q--