Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Doktor Notor <notordoktor@×××××.com>
Subject: Re: [gentoo-dev] Add LDFLAGS="-Wl,--hash-style=gnu" to developer profile's make.defaults
Date: Sun, 21 Mar 2010 17:04:43
Message-Id: 201003211304.02255.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Add LDFLAGS="-Wl,--hash-style=gnu" to developer profile's make.defaults by Doktor Notor
1 On Sunday 21 March 2010 02:15:17 Doktor Notor wrote:
2 > On Sun, 21 Mar 2010 00:52:36 -0400 Mike Frysinger wrote:
3 > > remind me again why this matters ? binutils has been defaulting to
4 > > hash- style=both for quite a while now.
5 >
6 > Well, I already tried in my P.S. but let me try again: I'm not
7 > suggesting that devs should have more optimized binaries
8 > - it matters b/c of this in misc-functions.sh:
9 >
10 > if [[ "${LDFLAGS}" == *--hash-style=gnu* ]] && [[ "${PN}" != *-bin ]] ;
11 > then;
12 > <do some magic here to detect ignored LDFLAGS>
13 > fi
14 >
15 > Good candidate to test is net-fs/mount-cifs (tiny, fast)
16 >
17 > You *only* get the following QA notice w/ LDFLAGS="-Wl,--hash-style=gnu"
18 > set:
19
20 forcing gnu-only hashes breaks some systems, and is a relatively "newish"
21 flag, so it isnt a candidate for global enabling.
22 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies