This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [distcc] gcc bootstraps with distcc
- From: Martin Pool <mbp at samba dot org>
- To: Mike Stump <mrs at apple dot com>
- Cc: Alexandre Oliva <aoliva at redhat dot com>,Zack Weinberg <zack at codesourcery dot com>,Thomas Walker <Thomas dot Walker at morganstanley dot com>,Dara Hazeghi <dhazeghi at yahoo dot com>, gcc-patches at gcc dot gnu dot org,distcc at lists dot samba dot org, Neil Booth <neil at daikokuya dot co dot uk>,tridge at samba dot org
- Date: Mon, 14 Jul 2003 12:37:24 +1000
- Subject: Re: [distcc] gcc bootstraps with distcc
- References: <orhe5tt4kd.fsf@livre.redhat.lsd.ic.unicamp.br> <6AB5E31A-B3D4-11D7-BDE9-003065A77310@apple.com>
[tridge cc'd]
On 11 Jul 2003, Mike Stump <mrs@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