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 1KBMRU-0007z1-Vy for garchives@archives.gentoo.org; Wed, 25 Jun 2008 04:17:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A1C4E03FD; Wed, 25 Jun 2008 04:17:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E2E73E03FD for ; Wed, 25 Jun 2008 04:17:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 776D3678BA for ; Wed, 25 Jun 2008 04:17:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.517 X-Spam-Level: X-Spam-Status: No, score=-2.517 required=5.5 tests=[AWL=1.082, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Hf-UrTEOhTd for ; Wed, 25 Jun 2008 04:17:04 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 826A76707D for ; Wed, 25 Jun 2008 04:17:03 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KBMRD-0000lU-Kp for gentoo-dev@gentoo.org; Wed, 25 Jun 2008 04:16:55 +0000 Received: from static24-72-115-196.yorkton.accesscomm.ca ([24.72.115.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 04:16:55 +0000 Received: from dirtyepic by static24-72-115-196.yorkton.accesscomm.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jun 2008 04:16:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Ryan Hill Subject: [gentoo-dev] Re: Suggested default LDFLAGS+="-Wl,-O1,--hash-style=gnu,--sort-common" Date: Tue, 24 Jun 2008 22:16:38 -0600 Message-ID: <20080624221638.448292e7@halo.dirtyepic.sk.ca> References: <71ac8a310806240515r4e0e6934wa8e7a5f2468e8152@mail.gmail.com> <20080624121748.GI4714@gentoo.org> 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_/pIyoI4xLPkvyL2ff9ULlBZv"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: static24-72-115-196.yorkton.accesscomm.ca X-Newsreader: Claws Mail 3.4.0 (GTK+ 2.12.10; x86_64-pc-linux-gnu) Sender: news X-Archives-Salt: 776d28db-86e5-4e94-9278-e7535a269279 X-Archives-Hash: 41ce2420dc8b7ba75ef27dc959f01e41 --Sig_/pIyoI4xLPkvyL2ff9ULlBZv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 24 Jun 2008 14:17:48 +0200 Fabian Groffen wrote: > On 24-06-2008 14:15:10 +0200, Arfrever Frehtes Taifersar Arahesis > wrote: > > I would like to suggest that default LDFLAGS in Gentoo contain the > > following flags: "-Wl,-O1,--hash-style=3Dgnu,--sort-common". > >=20 > > -O1 enables some basic optimizations. > > --hash-style=3Dgnu causes that ld creates only new GNU-style hash > > tables. --sort-common causes that ld sorts the common symbols by > > size when it places them in the appropriate output sections. > >=20 > > These options don't cause any problems, so they should be less > > controversial than --as-needed. > > (These options don't conflict with --as-needed, so --as-needed can > > be still added to default LDFLAGS, but this thread isn't about > > --as-needed.) >=20 > as long as it doesn't go in /base, but in the linux/freebsd profiles > instead, it's fine with me. Ditto. mips doesn't have support for .gnu.hash. Currently --hash-style=3Dboth is set in the binutils patchset, not the profiles so it's kind of a global setting. Can the profiles override it? --=20 gcc-porting, by design, by neglect treecleaner, for a fact or just for effect wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662 --Sig_/pIyoI4xLPkvyL2ff9ULlBZv Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhhxqYACgkQiqiDRvmkBmJxXgCg4iO75akGABi9BbXZ6u+pwIYs 1rgAoMqbBWasym7r6mdfo5P/Ya/nvhEq =C7lG -----END PGP SIGNATURE----- --Sig_/pIyoI4xLPkvyL2ff9ULlBZv-- -- gentoo-dev@lists.gentoo.org mailing list