Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Distcc] Probleme de config (résolue)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 2:56 pm    Post subject: [Distcc] Probleme de config (résolue) Reply with quote

Bonjour

Voila j'ai installer il y a peu distcc sur mes deux pc sous gentoo j'ai fair un emerge --update system affin que mes deux version de gcc soi les meme sur mes deux pc.
J'ai donc configurer Distccd a l'aide du tuto sur http://www.gentoo.org/doc/fr/distcc.xml et aussi a l'aide de http://linuxmecanic.frlinux.net/fr/distcc.html
J'ai bien suivi ces deux tuto a la letre et donc j'ai ensuite tester de compiler sur mon premier pc mais il me retourne toujour cette ereur

cc1: error: invalid option `tune=i686'
distcc[32147] ERROR: compile sha512.c on 192.168.0.3 failed
make: *** [sha512.o] Erreur 1
make: *** Attente des tâches non terminées....
cc1: error: invalid option `tune=i686'
distcc[32152] ERROR: compile rmd160.c on 192.168.0.3 failed
make: *** [rmd160.o] Erreur 1

!!! ERROR: app-crypt/hashalot-0.3-r2 failed.
!!! Function src_compile, Line 566, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Evidement j'ai bien regarder la config de Distcc sur mes deux pc mais je ne trouve rien d'anormal

Ce serait gentil de m'aider car compiler avec un celeron 500mhz c'est un peu laborieu et si mon 1.6ghz pouvait l'aider je serais bien content :)


Last edited by Ne0watcha on Sun Mar 05, 2006 4:01 pm; edited 2 times in total
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Mar 05, 2006 3:02 pm    Post subject: Reply with quote

Fait voir tes make.conf, je pense que tu n'a pas les même architecture sur les 2 pc.

Ensuite tu as oublié de suivre les regles du forum : étite ton titre.
Back to top
View user's profile Send private message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 3:06 pm    Post subject: Reply with quote

Pc n°1 celeron 500mhz

CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="-O2 -mtune=i686 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ov$
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="-gnome -kde -alsa -gtk -xorg -ipv6 -dvd -cdr apache proftpd"
FEATURES="distcc"
MAKEOPTS="-j7"

Pc n°2 Ahtlon 2000+

CFLAGS="-O2 -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/ge$
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="alsa samba -apm -arts -berkdb - ipv6 -curl -directfb -eds fortran -gdbm -g$
USE="${USE} alsa font-server network nodrm nomotif nptl oggvorbis openal opengl$
ALSA_CARDS="emu10k1 via8233A"
VIDEO_CARDS="3dfx"
LINGUAS="fr"
FEATURES="distcc"
MAKEOPTS="-j7"

Je suis dsl pour les regle du forum :s comment je fait pour editer mon titre ?
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 914
Location: France

PostPosted: Sun Mar 05, 2006 3:31 pm    Post subject: Reply with quote

que donne gcc-config -l ?
Back to top
View user's profile Send private message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 3:35 pm    Post subject: Reply with quote

Pc n°1

gentoo-server ne0watcha # gcc-config -l
[1] i386-pc-linux-gnu-3.4.5 *
[2] i386-pc-linux-gnu-3.4.5-hardened
[3] i386-pc-linux-gnu-3.4.5-hardenednopie
[4] i386-pc-linux-gnu-3.4.5-hardenednopiessp
[5] i386-pc-linux-gnu-3.4.5-hardenednossp

Pc n°2

localhost ne0watcha # gcc-config -l
[1] i386-pc-linux-gnu-3.3.6 *
[2] i386-pc-linux-gnu-3.3.6-hardened
[3] i386-pc-linux-gnu-3.3.6-hardenednopie
[4] i386-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i386-pc-linux-gnu-3.3.6-hardenednossp
[6] i386-pc-linux-gnu-3.4.5
[7] i386-pc-linux-gnu-3.4.5-hardened
[8] i386-pc-linux-gnu-3.4.5-hardenednopie
[9] i386-pc-linux-gnu-3.4.5-hardenednopiessp
[10] i386-pc-linux-gnu-3.4.5-hardenednossp

Je suis en train de regarder http://www.gentoo.org/doc/fr/cross-compiling-distcc.xml
Qui a été poster il ya 5min par une autre personne posant une question en raport avec mon probleme :-)
Back to top
View user's profile Send private message
babykart
Guru
Guru


Joined: 08 Oct 2004
Posts: 415

PostPosted: Sun Mar 05, 2006 3:39 pm    Post subject: Reply with quote

Ne0watcha wrote:
Pc n°1 celeron 500mhz

CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="-O2 -mtune=i686 -pipe"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ov$
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="-gnome -kde -alsa -gtk -xorg -ipv6 -dvd -cdr apache proftpd"
FEATURES="distcc"
MAKEOPTS="-j7"

Pc n°2 Ahtlon 2000+

CFLAGS="-O2 -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/ge$
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="alsa samba -apm -arts -berkdb - ipv6 -curl -directfb -eds fortran -gdbm -g$
USE="${USE} alsa font-server network nodrm nomotif nptl oggvorbis openal opengl$
ALSA_CARDS="emu10k1 via8233A"
VIDEO_CARDS="3dfx"
LINGUAS="fr"
FEATURES="distcc"
MAKEOPTS="-j7"

Je suis dsl pour les regle du forum :s comment je fait pour editer mon titre ?


Déjà j'enleverai MAKEOPTS="-j2" sur ton Pc n°2 car tu as, plus bas, MAKEOPTS="-j7"...
Mais je pense que compte-tenu du fait que ce sont deux machines uni-processeur, la bonne option serait MAKEOPTS="-j4", ce qui donnera deux opérations simultanées par machine...
En revanche, je pense que ton message d'érreur vient plus du fait que tu n'as pas la même branche de gcc d'une machine à l'autre: la branche gcc-3.3.* ne reconnait pas l'option mtune qui n'est supportée qu'à partir de la branche gcc-3.4.*.
Donc à grand coup de
Code:
# gcc-config -l
 [1] i686-pc-linux-gnu-3.4.5
 [2] i686-pc-linux-gnu-3.4.5-hardenednopie
 [3] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [4] i686-pc-linux-gnu-3.4.5-hardenednossp
 [5] i686-pc-linux-gnu-3.4.5-vanilla
 [6] i686-pc-linux-gnu-4.0.2
 [7] i686-pc-linux-gnu-4.1.0 *

et
Code:
# gcc-config 1 && env-update && source /etc/profile

en espérant que cela t'aidera...

[EDIT] pas assez rapide... :wink:
_________________
>> Gentoo-FR <<
-----
Back to top
View user's profile Send private message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 3:40 pm    Post subject: Reply with quote

non la compîlation croisé me sert a rien vu que mes deux pc sont des X86 je suis bete parfois :s

Je test des config differente pour distcc mais sa ne marche toujours pas tien moi au courant au cas ou tu ai une solution ou si quelqu'un a eu le meme probleme que moi
Back to top
View user's profile Send private message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 3:45 pm    Post subject: Reply with quote

Merci babykart pour ton aide j'ai suivi ce que tu m'a dit mais sa ne marche toujours pas :s

il me ressort

cc1: error: invalid option `tune=i686'
distcc[3776] ERROR: compile sha512.c on 192.168.0.3/2 failed
make: *** [sha512.o] Erreur 1
make: *** Attente des tâches non terminées....
cc1: error: invalid option `tune=i686'
distcc[3771] ERROR: compile hashalot.c on 192.168.0.3/2 failed
make: *** [hashalot.o] Erreur 1
cc1: error: invalid option `tune=i686'
distcc[3780] ERROR: compile rmd160.c on 192.168.0.3/2 failed
make: *** [rmd160.o] Erreur 1

!!! ERROR: app-crypt/hashalot-0.3-r2 failed.
!!! Function src_compile, Line 566, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

=/
Back to top
View user's profile Send private message
babykart
Guru
Guru


Joined: 08 Oct 2004
Posts: 415

PostPosted: Sun Mar 05, 2006 3:48 pm    Post subject: Reply with quote

Ne0watcha wrote:
non la compîlation croisé me sert a rien vu que mes deux pc sont des X86 je suis bete parfois :s

Je test des config differente pour distcc mais sa ne marche toujours pas tien moi au courant au cas ou tu ai une solution ou si quelqu'un a eu le meme probleme que moi


Je pense que tu as la solution puisque que tu as Pc n°1 --> [1] i386-pc-linux-gnu-3.4.5 *, et Pc n°2 --> [1] i386-pc-linux-gnu-3.3.6 *...
donc execute sur le Pc n°2
Code:
# gcc-config 6 && env-update && source /etc/profile

_________________
>> Gentoo-FR <<
-----
Back to top
View user's profile Send private message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 3:53 pm    Post subject: Reply with quote

Pc n°1

gentoo-server ne0watcha # gcc-config -l
[1] i386-pc-linux-gnu-3.4.5 *
[2] i386-pc-linux-gnu-3.4.5-hardened

[3] i386-pc-linux-gnu-3.4.5-hardenednopie
[4] i386-pc-linux-gnu-3.4.5-hardenednopiessp
[5] i386-pc-linux-gnu-3.4.5-hardenednossp

Pc n°2

localhost ne0watcha # gcc-config -l
[1] i386-pc-linux-gnu-3.3.6
[2] i386-pc-linux-gnu-3.3.6-hardened
[3] i386-pc-linux-gnu-3.3.6-hardenednopie
[4] i386-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i386-pc-linux-gnu-3.3.6-hardenednossp
[6] i386-pc-linux-gnu-3.4.5 *
[7] i386-pc-linux-gnu-3.4.5-hardened
[8] i386-pc-linux-gnu-3.4.5-hardenednopie
[9] i386-pc-linux-gnu-3.4.5-hardenednopiessp
[10] i386-pc-linux-gnu-3.4.5-hardenednossp

Maintenan j'ai sa avec gcc-config -l les deux version sont bien les meme pourtant :(

cc1: error: invalid option `tune=i686'
distcc[8365] ERROR: compile sha512.c on 192.168.0.3/2 failed
make: *** [sha512.o] Erreur 1
make: *** Attente des tâches non terminées....
cc1: error: invalid option `tune=i686'
distcc[8370] ERROR: compile rmd160.c on 192.168.0.3/2 failed
make: *** [rmd160.o] Erreur 1

!!! ERROR: app-crypt/hashalot-0.3-r2 failed.
!!! Function src_compile, Line 566, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Pc n°1 =192.168.0.4 (celeron 500mhz)
Pc n°2 = 192.168.0.3 (ahtlon 2000+)

j'ai toute la config de distcc exactement pareil =/


Last edited by Ne0watcha on Sun Mar 05, 2006 3:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
babykart
Guru
Guru


Joined: 08 Oct 2004
Posts: 415

PostPosted: Sun Mar 05, 2006 3:55 pm    Post subject: Reply with quote

redemarre distccd à tout hasard...
_________________
>> Gentoo-FR <<
-----
Back to top
View user's profile Send private message
Ne0watcha
n00b
n00b


Joined: 05 Mar 2006
Posts: 17

PostPosted: Sun Mar 05, 2006 4:00 pm    Post subject: Reply with quote

Sa marche :) :) :) :)

Merci babykart il falait bien tout simplement rebooter distccd

Merci beaucoup pour la rapidité de ce forum et au personne aussi sympa et compétente qui y reponde :)
Back to top
View user's profile Send private message
babykart
Guru
Guru


Joined: 08 Oct 2004
Posts: 415

PostPosted: Sun Mar 05, 2006 4:06 pm    Post subject: Reply with quote

bonne compilation... :wink:
_________________
>> Gentoo-FR <<
-----
Back to top
View user's profile Send private message
boozo
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3193

PostPosted: Mon Mar 06, 2006 10:28 am    Post subject: Reply with quote

'alute

juste une remarque... tu viens de changer de slot à l'improviste là donc avant d'avoir qqes ennuis... je te conseille vivement de suivre les recommandations pour l'upgrade de gcc :wink:
_________________
" Un psychotique, c'est quelqu'un qui croit dur comme fer que 2 et 2 font 5, et qui en est pleinement satisfait.
Un névrosé, c'est quelqu'un qui sait pertinemment que 2 et 2 font 4, et ça le rend malade ! "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum