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 1OhtXi-00011M-Gd for garchives@archives.gentoo.org; Sun, 08 Aug 2010 00:15:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B48FE086C; Sun, 8 Aug 2010 00:15:09 +0000 (UTC) Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0E1B4E0845 for ; Sun, 8 Aug 2010 00:15:04 +0000 (UTC) Received: by ewy19 with SMTP id 19so3948282ewy.40 for ; Sat, 07 Aug 2010 17:15:04 -0700 (PDT) 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 Received: by 10.213.36.18 with SMTP id r18mr1134941ebd.74.1281226504376; Sat, 07 Aug 2010 17:15:04 -0700 (PDT) Sender: antarus@scriptkitty.com Received: by 10.14.22.15 with HTTP; Sat, 7 Aug 2010 17:15:04 -0700 (PDT) In-Reply-To: <20100808001142.GA7077@Mystical> References: <20100807163230.GA31575@Mystical> <201008071732.43567.vapier@gentoo.org> <20100808001142.GA7077@Mystical> Date: Sat, 7 Aug 2010 17:15:04 -0700 X-Google-Sender-Auth: cM96-zJw_jqYoMDWhwIlV5cDLkU Message-ID: Subject: Re: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS From: Alec Warner To: gentoo-dev@lists.gentoo.org Cc: Mike Frysinger , qa@gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 36761176-2d30-43c8-8599-46d81cc67942 X-Archives-Hash: d5f9af87d43659b5c2239607ba77d94d On Sat, Aug 7, 2010 at 5:11 PM, Markos Chandras wrote= : > On Sat, Aug 07, 2010 at 05:32:42PM -0400, Mike Frysinger wrote: >> On Saturday, August 07, 2010 12:32:31 Markos Chandras wrote: >> > It seems like few of our fellow developers don't know how to track dow= n >> > packages that don't respect LDFLAGS. Adding -Wl,--hash-style=3Dgnu is = a good >> > way to do that. I would like to see this linker flag enabled by defaul= t on >> > LDFLAGS (or at least for the dev/ profiles for now). Do you agree? >> >> it isnt a valid flag for everyone. =C2=A0it requires a new enough binuti= ls (not too >> big of a deal), a new enough glibc (also not too big of a deal), and you= cant >> be a mips target (glibc support is broken). =C2=A0support does exist in = uClibc, but >> only in recent versions (this is an issue), and hasnt been widely tested= for >> many targets. >> > We could at least enable that on x86/amd64 dev profiles (since only devs = are > supposed to use them and they are the most used arches among us) just to = get some more > feedback and fix the packages before they reach the end users. This will > reduce the bug # and make sure that --as-needed is respected in a broader > range of packages Why not just set some LDFLAGS that totally won't work (-Wl, taters) and then assume anything that actually compiles with those flags set does not respect LDFLAGS. Set that up on a tinderbox instead of making users do it. -A >> >> considering the only real benefit is that it automates a QA check, i don= t >> think it's worth the hassle. =C2=A0newer Gentoo binutils already enables= .gnu.hash >> support by default, so people get the speed increase transparently. > Agreed > > > -- > Markos Chandras (hwoarang) > Gentoo Linux Developer > Web: http://hwoarang.silverarrow.org > Key ID: 441AC410 > Key FP: AAD0 8591 E3CD 445D 6411 3477 F7F7 1E8E 441A C410 >