1 |
Christophe PEREZ wrote: |
2 |
> Le Wed, 06 Sep 2006 02:00:13 +0200, olinuxx a écrit : |
3 |
> |
4 |
> |
5 |
>> Le problème, c'est que le programme *info2flags* du paquet *genflags* me |
6 |
>> conseille "-march=pentium4" mais, |
7 |
>> http://gentoo-wiki.com/Safe_Cflags me conseille "-march=pentium-m". |
8 |
>> |
9 |
> |
10 |
> Non seulement je n'y comprends rien et ne peux t'aider, mais quand je fais |
11 |
> moi même les tests sur mon serveur (sur lequel réside un problème très |
12 |
> spécial depuis plus d'un an), c'est encore pire : |
13 |
> # info2flags |
14 |
> CHOST="i686-pc-linux-gnu" |
15 |
> CFLAGS="-march=pentium2 -O3 -pipe" |
16 |
> CXXFLAGS="-march=pentium2 -O3 -pipe" |
17 |
> |
18 |
> et : |
19 |
> # cat /proc/cpuinfo |
20 |
> processor : 0 |
21 |
> vendor_id : GenuineIntel |
22 |
> cpu family : 15 |
23 |
> model : 4 |
24 |
> model name : Intel(R) Celeron(R) CPU 2.66GHz |
25 |
> stepping : 1 |
26 |
> cpu MHz : 2667.945 |
27 |
> cache size : 256 KB |
28 |
> fdiv_bug : no |
29 |
> hlt_bug : no |
30 |
> f00f_bug : no |
31 |
> coma_bug : no |
32 |
> fpu : yes |
33 |
> fpu_exception : yes |
34 |
> cpuid level : 5 |
35 |
> wp : yes |
36 |
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pni monitor ds_cpl cid xtpr |
37 |
> bogomips : 5336.90 |
38 |
> |
39 |
> me ferait pencher pour : |
40 |
> CHOST="i686-pc-linux-gnu" |
41 |
> CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" |
42 |
> CXXFLAGS="${CFLAGS}" |
43 |
> selon : |
44 |
> http://gentoo-wiki.com/Safe_Cflags#Pentium_4_.28Prescott.29_.28Intel.29 |
45 |
> |
46 |
> Franchement, ça laisse perplexe tout ça, et quand on avait déjà un |
47 |
> doute, il devient un gouffre :-) |
48 |
> |
49 |
> |
50 |
ben moi, il trouve pas l'arch :( |
51 |
mais j'étais prévenu |
52 |
|
53 |
ewarn "This program does currently NOT detect all AMD chips |
54 |
correctly." |
55 |
ewarn "It CANNOT identify athlon-tbirds. It also gets confused |
56 |
between" |
57 |
ewarn "AMD-K6{,-2,-3} and Athlon vs. Athlon-4." |
58 |
|
59 |
il me donne: |
60 |
CFLAGS="-m64 -O3 -pipe -fPIC" |
61 |
|
62 |
le -m64 est déconseillé (à chaque ebuild j'ai un message) |
63 |
et en plus, le -fPIC fait que la glibc ne compile plus :(( |
64 |
|
65 |
|
66 |
donc, (à mon avis) il vaut mieux suivre le wiki |
67 |
-- |
68 |
gentoo-user-fr@g.o mailing list |