[distcc] Re: PATH problem 2
Leif Huhn
leif at dkstat.com
Tue Jul 8 06:09:47 GMT 2003
On Mon, Jul 07, 2003 at 10:53:36PM -0700, Wayne Davison wrote:
> On Tue, Jul 08, 2003 at 01:28:16PM +1000, Martin Pool wrote:
> > On 4 Jul 2003, Leif Huhn <leif at dkstat.com> wrote:
> > > Ok...this is the problem. Maybe dcc_trim_path should just remove
> > > the ccache-masq directory instead of it and everything before it?
> >
> > Wayne, do you think that would work?
>
> That would be an acceptable change for dealing with a ccache masquerade
> dir, but not for dealing with a distcc masquerade dir.
Why wouldn't this work for the distcc masquerade dir? Why
wouldn't removing all directories that contain symlinks to gcc work?
I don't want to use ccache. I just expected distccd to work if I
put the directories that 'gcc' and 'as' were in at the front. The
fact that it didn't work surprised me and cost me an hour
figuring out why.
> If you still want actual trimming, I'd like to see a part of the patch
> that Dimitri sent back in May applied to the path-trimming code:
> making it stop if it finds a NON-symlink on the path before finding a
> masquerade dir would make it work a little better in the case where the
> compiler is early in the path (before the ccache masquerade dir for
> some strange reason).
I didn't find it strange when I tried putting gcc before ccache
:)
Leif
More information about the distcc
mailing list