1 |
-original message- |
2 |
Subject: Re: [gentoo-user] New computer and Gentoo |
3 |
From: Bill Kenworthy <billk@×××××××××.au> |
4 |
Date: 2011-07-21 12:54 |
5 |
|
6 |
>On Thu, 2011-07-21 at 06:26 +0100, Mick wrote: |
7 |
>> On Thursday 21 Jul 2011 03:29:17 Adam Carter wrote: |
8 |
>> > amd64 means any x86 64bit platform, so Intel too. |
9 |
>> > |
10 |
>> > march=native is good if you're not using distcc, or if you're only |
11 |
>> > using distcc on core2 boxes. Otherwise be specific. |
12 |
>> |
13 |
>> I recommend using the "64 bit profile (amd64) for >= GCC 4.3" which shows - |
14 |
>> march=core2. This is what I use here with multilib and had no problems. |
15 |
> |
16 |
>Ive just stumbled on something weird with march=native: |
17 |
> |
18 |
>At some point I had march=prescott on a core2 E4600 running 32bit - |
19 |
>worked well. Changed to march=native and did some upgrades with a few |
20 |
>odd things like asterisk segfaulting in a glibc library afterwards, and |
21 |
>some things not building. Then to add confusion, I changed to an |
22 |
>pentium Duo E6600 (flies!) and added another stick of ram. More odd |
23 |
>things happening such as reiserfs oopsing on shutdown. |
24 |
> |
25 |
>Last night the penny dropped and I looked the new processor up and |
26 |
>changed to march=core2 and have mostly corrected (recompiled) the |
27 |
>damage. |
28 |
> |
29 |
>So not sure about march=native now as it is only what was built with |
30 |
>native thats been problematic. With 20-20 hindsight it was perhaps |
31 |
>predictable ... |
32 |
|
33 |
IMO you're not supposed to compile part of the system with -march=<something> and the rest with -march=native. The instructions (and optimizations) emitted by -march=native might not be compatible with your previous -march. |
34 |
|
35 |
I had deployed more than 10 Gentoo servers using -march=native without any problem. |
36 |
|
37 |
CMIIW |
38 |
|
39 |
Rgds, |
40 |
-- |
41 |
FdS Pandu E Poluan |
42 |
~ IT Optimizer ~ |
43 |
|
44 |
Sent from Nokia E72-1 |