Re: [ccache] ccache - .d files with absolute system header paths

2017-09-16 Thread Anders Björklund via ccache
Karanam Suryanarayana Rao Venkata Krishna wrote: > Hello, > I think I discovered a scenario that results in cache misses in spite of > using CCACHE_BASEDIR. > Consider the following command: > > CCACHE_BASEDIR=$PWD /bin/bash -c "ccache clang++ > -fdebug-prefix-map=/proc/self/cwd= -g -c -MD -MF

Re: [ccache] base_dir and symbolic links

2017-09-16 Thread Anders Björklund via ccache
Andreas Wettstein wrote: > In function `make_relative_path` (file `ccache.c`), the given > path is made "canonic" before it is converted to a path relative > to the current working directory. In particular, "canonic" means > that symbolic links are removed. I understand that it makes > sense to