Gentoo Archives: gentoo-dev

From: "Diego Elio “Flameeyes” Pettenò" <flameeyes@×××××.com>
To: Markos Chandras <hwoarang@g.o>
Cc: gentoo-dev@l.g.o, qa@g.o
Subject: [gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS
Date: Sat, 07 Aug 2010 17:18:38
Message-Id: 1281201535.29176.45.camel@yamato.local
In Reply to: [gentoo-dev] Add --hash-style=gnu to LDFLAGS by Markos Chandras
1 Il giorno sab, 07/08/2010 alle 19.32 +0300, Markos Chandras ha scritto:
2 >
3 > It seems like few of our fellow developers don't know how to track
4 > down
5 > packages that don't respect LDFLAGS. Adding -Wl,--hash-style=gnu is a
6 > good way
7 > to do that. I would like to see this linker flag enabled by default on
8 > LDFLAGS
9 > (or at least for the dev/ profiles for now). Do you agree?
10 >
11 It really depends on which glibc the profiles have been using:
12
13 - >= 2.5 -> force --hash-style=gnu, reduced link time and smaller
14 files;
15 - < 2.5 -> force --hash-style=sysv, as above, but gnu would make lose
16 the hash entirely.
17
18 Somebody who works with uclibc should let us know which one of the two
19 is actually supported by which uclibc.
20 >
21 --
22 Diego Elio Pettenò — “Flameeyes”
23 http://blog.flameeyes.eu/
24
25 If you found a .asc file in this mail and know not what it is,
26 it's a GnuPG digital signature: http://www.gnupg.org/

Replies

Subject Author
[gentoo-dev] Re: Add --hash-style=gnu to LDFLAGS Markos Chandras <hwoarang@g.o>