Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bad experiences with distcc and ccache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Lori
Apprentice
Apprentice


Joined: 30 Mar 2004
Posts: 265
Location: Barcelona, Spain

PostPosted: Sun Apr 04, 2004 1:40 pm    Post subject: Bad experiences with distcc and ccache Reply with quote

Hi! I use two Ultra 10s in a university lab, on one of them I have gentoo, being the only administrator, but the other unfortunately runs Debian, and I have shared root access. I tried to speed up my compiles on the gentoo box by installing distcc on both. Compilation worked, but when the gentoo box tried to link the object files together it stopped with an error. Is it because of this?
Code:

$ gcc --version
gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)

and

$ gcc --version
gcc (GCC) 3.2.3 (Debian)

So I unmerged distcc and tried ccache instead... well not much luck there either... Debian was not interfearing and still emerge failed. Anyone having more luck with these apps?
_________________
"The hunt is sweeter then the kill."
Registered Linux User #176911
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sun Apr 04, 2004 3:37 pm    Post subject: Reply with quote

It's possible that your error is the result of using distcc with mixed versions of GCC. Typically it is recommended that you have the same major version of GCC on each box (i.e. 3.3).

If you've removed distcc and the problem still exists, it may be an actual bug. What application are you testing with?
Back to top
View user's profile Send private message
Lori
Apprentice
Apprentice


Joined: 30 Mar 2004
Posts: 265
Location: Barcelona, Spain

PostPosted: Sun Apr 04, 2004 4:14 pm    Post subject: Reply with quote

The problem is that I don't remember now exactly which ebuild I tried with ccache, because I was very disappointed after distcc didn't work this didn't work either. At the time I instantly unmerged ccache and installed that application... Now I reemerged it, to see if it happens again. If there is a portage history somewhere I might determine which package it was. I suspected mutt, reemerged it today, but it worked fine. I'll be watching...
_________________
"The hunt is sweeter then the kill."
Registered Linux User #176911
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sun Apr 04, 2004 4:21 pm    Post subject: Reply with quote

You can find the emerge log file at /var/log/emerge.log
Back to top
View user's profile Send private message
Lori
Apprentice
Apprentice


Joined: 30 Mar 2004
Posts: 265
Location: Barcelona, Spain

PostPosted: Sun Apr 04, 2004 5:03 pm    Post subject: Reply with quote

The ebuild that didn't compile was cups, but now it works. I hope that problem was caused by something else, and ccache will work as expected from now on. I surely could use any compile time improvement, since I only have 64MB of RAM and a very slow 4 GB HDD. :(
_________________
"The hunt is sweeter then the kill."
Registered Linux User #176911
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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