Gentoo Archives: gentoo-amd64

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: glibc-2.12.1-r1 failure
Date: Mon, 27 Sep 2010 18:05:29
Message-Id: i7qlsq$bpv$1@dough.gmane.org
In Reply to: Re: [gentoo-amd64] glibc-2.12.1-r1 failure by Frank Peters
1 On 09/27/2010 07:10 PM, Frank Peters wrote:
2 > On Mon, 27 Sep 2010 13:33:22 +0100
3 > "Paul Stear"<gentoo@××××××××××××.com> wrote:
4 >
5 >> Hi all,
6 >> I think I have a symbolic link problem. Any thought on how to solve this
7 >> error.
8 >>
9 >> CFLAGS="-Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3 -pipe
10 >> -fomit-frame-pointer"
11 >> LDFLAGS="-Wl,--as-needed,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
12 >>
13 >
14 > See the link:
15 >
16 > http://forums.gentoo.org/viewtopic-p-6394901.html?sid=9a5afd453e6039723b2d0842a53c2d5c
17 >
18 > Basically, the advice is to simplify the CFLAGS and LDFLAGS:
19 >
20 > CFLAGS="-O2 --march=native --pipe"
21 > LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
22
23 Wouldn't this:
24
25 LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"
26
27 be more correct? --as-needed and -O1 is enabled by default anyway
28 (${LDFLAGS} makes sure not to lose those defaults.)