Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[gentoo-user-fr] make.conf

6 réponses
Avatar
olinuxx
bonsoir,
donc, voulant faire très attention à make.conf, je me suis mis à lire
plusieurs tutos et autres informations.

J'ai un petit soucis avec l'option -march de la variable CFLAGS ( et de
CXXFLAGS aussi :o )

Le problème, c'est que le programme *info2flags* du paquet *genflags* me
conseille "-march=pentium4" mais,
http://gentoo-wiki.com/Safe_Cflags me conseille "-march=pentium-m".
Sachant que le proc en question est un pentium M, j'aurais tendance à
mettre celui-ci.

Vous y comprenez quelque chose ?

Amicalement,
Olivier
--
gentoo-user-fr@gentoo.org mailing list

6 réponses

Avatar
Nico
------=_Part_193870_9490699.1157502682216
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Content-Disposition: inline

TWV0IHBlbnRpdW0tbSwgaidhaSDDp2EgYXVzc2kgZXQgw6dhIG1hcmNoZSB0csOocyBiaWVuLiBT
aSBsZXMgMiBleGlzdGVudCBjJ2VzdApiaWVuIHF1J2lsIHkgYSBkZXMgZGlmZsOpcmVuY2VzLCBk
b25jIHV0aWxpc2UgY2VsdWkgcXVpIGNvcnJlc3BvbmQgw6AgdG9uCnByb2Nlc3NldXIuCkF0dGVu
dGlvbiwgcGVudGl1bS1tIG5lIGNvbnZpZW50IHBhcyBhdXggUGVudGl1bTQgTW9iaWxlIG91IFA0
LU0gcXVpIHNvbnQKZGVzIFA0IGRlIGJ1cmVhdXggYWRwYXTDqXMgYXV4IHBvcnRhYmxlcyAoZXhp
c3RhaWVudCBqdXN0ZSBhdmFudCBsZXMKcGVudGl1bS1tKS4K
------=_Part_193870_9490699.1157502682216
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64
Content-Disposition: inline

TWV0IHBlbnRpdW0tbSwgaidhaSDDp2EgYXVzc2kgZXQgw6dhIG1hcmNoZSB0csOocyBiaWVuLiBT
aSBsZXMgMiBleGlzdGVudCBjJ2VzdCBiaWVuIHF1J2lsIHkgYSBkZXMgZGlmZsOpcmVuY2VzLCBk
b25jIHV0aWxpc2UgY2VsdWkgcXVpIGNvcnJlc3BvbmQgw6AgdG9uIHByb2Nlc3NldXIuPGJyPkF0
dGVudGlvbiwgcGVudGl1bS1tIG5lIGNvbnZpZW50IHBhcyBhdXggUGVudGl1bTQgTW9iaWxlIG91
IFA0LU0gcXVpIHNvbnQgZGVzIFA0IGRlIGJ1cmVhdXggYWRwYXTDqXMgYXV4IHBvcnRhYmxlcyAo
ZXhpc3RhaWVudCBqdXN0ZSBhdmFudCBsZXMgcGVudGl1bS1tKS4KPGJyPgo ------=_Part_193870_9490699.1157502682216--
--
mailing list
Avatar
Christophe PEREZ
Le Wed, 06 Sep 2006 02:00:13 +0200, olinuxx a écrit :

Le problème, c'est que le programme *info2flags* du paquet *genflags* me
conseille "-march=pentium4" mais,
http://gentoo-wiki.com/Safe_Cflags me conseille "-march=pentium-m".



Non seulement je n'y comprends rien et ne peux t'aider, mais quand je fais
moi même les tests sur mon serveur (sur lequel réside un problème très
spécial depuis plus d'un an), c'est encore pire :
# info2flags
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -O3 -pipe"

et :
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Celeron(R) CPU 2.66GHz
stepping : 1
cpu MHz : 2667.945
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
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
bogomips : 5336.90

me ferait pencher pour :
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
selon :
http://gentoo-wiki.com/Safe_Cflags#Pentium_4_.28Prescott.29_.28Intel.29

Franchement, ça laisse perplexe tout ça, et quand on avait déjà un
doute, il devient un gouffre :-)

--
Christophe PEREZ
--
mailing list
Avatar
olinuxx
Nico a écrit :
Met pentium-m, j'ai ça aussi et ça marche très bien. Si les 2 existent
c'est
bien qu'il y a des différences, donc utilise celui qui correspond à ton
processeur.


oui bien entendu, c'est celui que j'ai sélectionné ;)

Attention, pentium-m ne convient pas aux Pentium4 Mobile ou P4-M qui sont
des P4 de bureaux adpatés aux portables (existaient juste avant les
pentium-m).


pas de soucis pour ça, j'ai un portable tout neuf d'il y a un mois et un
vrai pentium M centrino dessus.

Merci pour les infos :)

Amicalement,
Olivier

--
mailing list
Avatar
olinuxx
Christophe PEREZ a écrit :
Franchement, ça laisse perplexe tout ça, et quand on avait déjà un
doute, il devient un gouffre :-)



pareil :)

Moi j'ai mis ça sur le dos de genflags en me disant qu'il était
peut-être moins à jour que le wiki.
C'est sûrement pas la bonne méthode, mais ça soulage ma conscience :)

Amicalement
Olivier

PS: après vérification (une histoire de conscience ....), ça s'avère
plausible:
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/app-portage/genflags/ChangeLog
*genflags-0.96 (18 Jan 2004)
Le gouffre redevient un doute qui s'évapore :)

--
mailing list
Avatar
Cedric Godin
Christophe PEREZ wrote:
Le Wed, 06 Sep 2006 02:00:13 +0200, olinuxx a écrit :


Le problème, c'est que le programme *info2flags* du paquet *genflags* me
conseille "-march=pentium4" mais,
http://gentoo-wiki.com/Safe_Cflags me conseille "-march=pentium-m".




Non seulement je n'y comprends rien et ne peux t'aider, mais quand je fais
moi même les tests sur mon serveur (sur lequel réside un problème très
spécial depuis plus d'un an), c'est encore pire :
# info2flags
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -O3 -pipe"

et :
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Celeron(R) CPU 2.66GHz
stepping : 1
cpu MHz : 2667.945
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
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
bogomips : 5336.90

me ferait pencher pour :
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
selon :
http://gentoo-wiki.com/Safe_Cflags#Pentium_4_.28Prescott.29_.28Intel.29

Franchement, ça laisse perplexe tout ça, et quand on avait déjà un
doute, il devient un gouffre :-)




ben moi, il trouve pas l'arch :(
mais j'étais prévenu

ewarn "This program does currently NOT detect all AMD chips
correctly."
ewarn "It CANNOT identify athlon-tbirds. It also gets confused
between"
ewarn "AMD-K6{,-2,-3} and Athlon vs. Athlon-4."

il me donne:
CFLAGS="-m64 -O3 -pipe -fPIC"

le -m64 est déconseillé (à chaque ebuild j'ai un message)
et en plus, le -fPIC fait que la glibc ne compile plus :((


donc, (à mon avis) il vaut mieux suivre le wiki
--
mailing list
Avatar
Nico
------=_Part_10655_15373069.1157578400514
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

le wiki et son instinct (+ 2 ans de sa vie)

------=_Part_10655_15373069.1157578400514
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

le wiki et son instinct (+ 2 ans de sa vie)<br>

------=_Part_10655_15373069.1157578400514--
--
mailing list