Gentoo Archives: gentoo-dev

From: Markos Chandras <hwoarang@g.o>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-dev@l.g.o, qa@g.o
Subject: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS
Date: Sun, 08 Aug 2010 00:11:45
Message-Id: 20100808001142.GA7077@Mystical
In Reply to: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS by Mike Frysinger
1 On Sat, Aug 07, 2010 at 05:32:42PM -0400, Mike Frysinger wrote:
2 > On Saturday, August 07, 2010 12:32:31 Markos Chandras wrote:
3 > > It seems like few of our fellow developers don't know how to track down
4 > > packages that don't respect LDFLAGS. Adding -Wl,--hash-style=gnu is a good
5 > > way to do that. I would like to see this linker flag enabled by default on
6 > > LDFLAGS (or at least for the dev/ profiles for now). Do you agree?
7 >
8 > it isnt a valid flag for everyone. it requires a new enough binutils (not too
9 > big of a deal), a new enough glibc (also not too big of a deal), and you cant
10 > be a mips target (glibc support is broken). support does exist in uClibc, but
11 > only in recent versions (this is an issue), and hasnt been widely tested for
12 > many targets.
13 >
14 We could at least enable that on x86/amd64 dev profiles (since only devs are
15 supposed to use them and they are the most used arches among us) just to get some more
16 feedback and fix the packages before they reach the end users. This will
17 reduce the bug # and make sure that --as-needed is respected in a broader
18 range of packages
19 >
20 > considering the only real benefit is that it automates a QA check, i dont
21 > think it's worth the hassle. newer Gentoo binutils already enables .gnu.hash
22 > support by default, so people get the speed increase transparently.
23 Agreed
24
25
26 --
27 Markos Chandras (hwoarang)
28 Gentoo Linux Developer
29 Web: http://hwoarang.silverarrow.org
30 Key ID: 441AC410
31 Key FP: AAD0 8591 E3CD 445D 6411 3477 F7F7 1E8E 441A C410

Replies

Subject Author
Re: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS Alec Warner <antarus@g.o>
[gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS "Diego Elio Pettenò" <flameeyes@×××××.com>
[gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS Mike Frysinger <vapier@g.o>