This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [distcc] gcc bootstraps with distcc


[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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]