View previous topic :: View next topic |
Author |
Message |
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Sun Apr 04, 2004 1:40 pm Post subject: Bad experiences with distcc and ccache |
|
|
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 |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sun Apr 04, 2004 3:37 pm Post subject: |
|
|
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 |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Sun Apr 04, 2004 4:14 pm Post subject: |
|
|
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 |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sun Apr 04, 2004 4:21 pm Post subject: |
|
|
You can find the emerge log file at /var/log/emerge.log |
|
Back to top |
|
|
Lori Guru
Joined: 30 Mar 2004 Posts: 338 Location: Barcelona, Spain
|
Posted: Sun Apr 04, 2004 5:03 pm Post subject: |
|
|
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 |
|
|
|