Gentoo Archives: gentoo-amd64

From: Samir Mishra <sqmishra@×××.ae>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] gcc 4.1 + CFLAGS
Date: Fri, 09 Jun 2006 13:25:14
Message-Id: 448975C8.9070800@eim.ae
In Reply to: Re: [gentoo-amd64] gcc 4.1 + CFLAGS by "Vladimir G. Ivanovic"
1 Vladimir G. Ivanovic wrote:
2 > On Fri, 2006-06-09 at 13:40 +0200, Simon Stelling wrote:
3 >
4 >> man ld
5 >>
6 >>
7 > Nope. Not on my system. Neither -Bdirect nor -hashvals is listed.
8 >
9 > (I have sys-devel/binutils-2.16.1-r2 installed.)
10 >
11 > --- Vladimir
12 >
13 > Vladimir G. Ivanovic
14 > Palo Alto, CA 94306
15 > +1 650 678 8014
16 >
17 The 2 above are GCC 4 specific and only valid with the new binutils. You
18 also have to obtain a custom ebuild to turn these options on in
19 GCC/glibc. I don't remember what I did any more. Also not sure where I
20 got the information on these from, this was some time ago, but try
21 Google. See gentoo-wiki to start off with.
22
23 As Mike A. says in response to another message -
24
25 It's the mindless optimisation, that will eventually break a package, that
26 gives Gentoo a very bad name, and which is why many creators of packages hate
27 us.
28
29 I have to concur here and recommend that one always do the necessary
30 research on the flags and what they mean. Many of the flags may actually
31 slow the system down. Or even have unwanted side effects. -Bdirect is a
32 good example. It's why I try and keep my flags to a minimum.
33
34 BTW, I intended to run Xen on my system, that's why I have
35 -mno-tls-direct-seg-refs in there.
36
37 Samir.
38 --
39 gentoo-amd64@g.o mailing list