Gentoo Archives: gentoo-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] LDFLAGS=-Wl,--hash-style=gnu
Date: Tue, 15 Jul 2008 19:39:28
Message-Id: 20080715193859.GP941@gentoo.org
In Reply to: [gentoo-dev] LDFLAGS=-Wl,--hash-style=gnu by Doug Goldstein
1 On 15-07-2008 15:32:32 -0400, Doug Goldstein wrote:
2 > all,
3 >
4 > I'm at the point that -Wl,-O1 appears to be successful. It's time to
5 > toss on -Wl,--hash-style=gnu. The issue is that we need glibc 2.5 or
6 > higher and not mips. So one solution is to put the following:
7 >
8 > default/linux: LDFLAGS="-Wl,-O1,--hash-style=gnu"
9 > default/linux/mips: LDFLAGS="-Wl,-O1"
10 >
11 > However, this means we'll have to put a has_version check in
12 > profile.bashrc of default/linux, which seems a bit cludgy..
13 >
14 > Any suggestions? Comments?
15
16 I'm just wondering... unless it has changed since last time I installed
17 Gentoo Linux, but isn't the installation manual on purpose conservative
18 with CFLAGS? make.conf.example also does not much more than
19 "-march -O2 -pipe". -O1 to the linker feels conservative to me. Still,
20 do we really need to go any further? Why not make additional pointers
21 to possible values for LDFLAGS like we do for C(XX)FLAGS in the
22 installation manual?
23
24
25 --
26 Fabian Groffen
27 Gentoo on a different level
28 --
29 gentoo-dev@l.g.o mailing list

Replies

Subject Author
[gentoo-dev] Re: LDFLAGS=-Wl,--hash-style=gnu Ryan Hill <dirtyepic@g.o>
Re: [gentoo-dev] LDFLAGS=-Wl,--hash-style=gnu Josh Saddler <nightmorph@g.o>