[distcc] gcc bootstraps with distcc
Martin Pool
mbp at samba.org
Mon Jul 14 02:37:24 GMT 2003
[tridge cc'd]
On 11 Jul 2003, Mike Stump <mrs at apple.com> wrote:
> On Friday, July 11, 2003, at 09:24 AM, Alexandre Oliva wrote:
> >I.e., whenever debugging is enabled. This will still defeat ccache,
>
> ccache should solve their own problems. Hitting when -g is used means
> avoiding cksmming the dir/ line and rewritting the result to change the
> dir to be the dir of the input file:
>
> cache['# 1 "dir/"\nint i;'] = '.stab "dir/"\nstab "file.c"\ni: .word
> 0\n'
>
> lookup ('#1 "dir2/"\nint i;') finds the above entry, and then rewrites
> it as
> '.stab "dir2/"\nstab "file.c"\ni: .word 0\n'
>
> Papering over it for them doesn't help it be a nice tool. In the short
> term, they can pass -gno-pwd, if they feel the need and if their users
> like it.
I agree.
tridge pointed out that ccache recently gained a CCACHE_HASHDIR option
to include the directory in matching cached entries, which allows
people to get the correct debug information. It is off by default.
--
Martin
More information about the distcc
mailing list