Gentoo Archives: gentoo-dev

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com>
To: Gentoo Development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] LDFLAGS=-Wl,--hash-style=gnu
Date: Wed, 16 Jul 2008 16:58:42
Message-Id: 200807161856.43223.Arfrever.FTA@gmail.com
In Reply to: Re: [gentoo-dev] LDFLAGS=-Wl,--hash-style=gnu by Doug Goldstein
1 2008-07-16 18:38:47 Doug Goldstein napisał(a):
2 > Doug Goldstein wrote:
3 > > all,
4 > >
5 > > I'm at the point that -Wl,-O1 appears to be successful. It's time to
6 > > toss on -Wl,--hash-style=gnu. The issue is that we need glibc 2.5 or
7 > > higher and not mips. So one solution is to put the following:
8 > >
9 > > default/linux: LDFLAGS="-Wl,-O1,--hash-style=gnu"
10 > > default/linux/mips: LDFLAGS="-Wl,-O1"
11 > >
12 > > However, this means we'll have to put a has_version check in
13 > > profile.bashrc of default/linux, which seems a bit cludgy..
14 > >
15 > > Any suggestions? Comments?
16 > Given the benefits vs the annoyances of not all platforms supporting it
17
18 There's only one platform not supporting -Wl,--hash-style=gnu and putting
19 LDFLAGS="-Wl,-O1" in default/linux/mips/make.defaults doesn't cause any
20 problems.
21
22 > and requiring 2 has_version checks in profile.bashrc.
23
24 IMO 1-second has_version checks aren't annoying.
25
26 --
27 Arfrever Frehtes Taifersar Arahesis

Attachments

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