Gentoo Archives: gentoo-user

From: Matthias Langer <mlangc@×××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenOffice build failed.
Date: Mon, 29 May 2006 21:46:34
Message-Id: 1148938432.9761.22.camel@sputnik886.ruz-net
In Reply to: Re: [gentoo-user] OpenOffice build failed. by Meino Christian Cramer
1 On Mon, 2006-05-29 at 21:31 +0200, Meino Christian Cramer wrote:
2 > From: Matthias Langer <mlangc@×××.at>
3 > Subject: Re: [gentoo-user] OpenOffice build failed.
4 > Date: Mon, 29 May 2006 21:14:25 +0200
5 >
6 > > <snip>
7 > > > CFLAGS="-O3 -m3dnow -march=athlon-xp -mtune=athlon64 -msse -msse2 -msse3 -m3dnow -mfpmath=sse -funroll-loops -fomit-frame-pointer -finline-functions -falign-functions=4 -mpreferred-stack-boundary=2"
8 > > <snip>
9 > >
10 > > Before doing anything else, please clean up your CFLAGS and do
11 > > "# emerge -e system; emerge -e world"
12 > >
13 > > If you realy want x86 (with your cpu i would reinstall an amd64 system
14 > > http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml) then use:
15 > >
16 > > CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer"
17 > >
18 > > because, mostly all of your flags are redundant and the combination
19 > > "-march=athlon-xp -mtune=athlon64" will give you nothing but maybe
20 > > broken compiler output.
21 > >
22 > > You may also be interested in these pages:
23 > > http://gentoo-wiki.com/Safe_Cflags
24 > > http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html#Optimize-Options
25 > > http://gentoo-wiki.com/CFLAGS
26 > > http://gentoo-wiki.com/CFLAGS_matrix
27 > >
28 > > HTH,
29 > > Matthias
30 > >
31 > >
32 > >
33 > >
34 > > --
35 > > gentoo-user@g.o mailing list
36 > >
37 >
38 > My decision against 64 bit and pro 32 was done, cause 64 bit gives me
39 > a performance gain only in some special cirumstances (beside only a
40 > few others: when rendering with 64 Bit aware Raytracers) but gives me
41 > for sure trouble with software, which isn't 64Bit-ready (according to
42 > different articles of the german c't computer magazine (Heise press).
43 >
44 > When changing CFLAGs on half the way...do I have to recompile my whole
45 > system? And -- only from the logical point of view -- redundancy may
46 > be not a sign of cleverness not a sign of cleverness but it does not
47 > hurt does not hurt the overall context since it instructs the compiler
48 > twice to do the same?!
49 >
50 > Bad compiler output is another thing.
51 >
52 > Keep hacking!
53 > mcc
54
55 --
56 gentoo-user@g.o mailing list