diff options
author | Mike Crowe <mac@mcrowe.com> | 2017-03-15 12:29:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-17 16:52:44 +0000 |
commit | fb7a5cdcff19bb44a25a51e20de0440c1ebcc057 (patch) | |
tree | ccd5532c73d0d30dc1cb3be551023b18c40d637d /meta/recipes-core/systemd/systemd-serialgetty.bb | |
parent | 2815f819c1a620949213fa952557c03f7d594ed6 (diff) | |
download | openembedded-core-fb7a5cdcff19bb44a25a51e20de0440c1ebcc057.tar.gz openembedded-core-fb7a5cdcff19bb44a25a51e20de0440c1ebcc057.tar.bz2 openembedded-core-fb7a5cdcff19bb44a25a51e20de0440c1ebcc057.zip |
ccache: Disable CCACHE_HASHDIR by default
As of ccache-3.3, ccache tries to ensure that the paths in the debug
information are always correct. It does this by including the current
directory in the hash if debug output is enabled. It includes support for
detecting remapping via a single -fdebug-prefix-map argument uses the
remapped directory in the hash instead.
The DEBUG_PREFIX_MAP in bitbake.conf remaps the source directory, target
sysroot and native sysroot separately which results in multiple
-fdebug-prefix-map arguments. Although ccache passes all these arguments
through to the compiler, it only enables the special behaviour described
above if the last one matches the current directory. (See
https://github.com/ccache/ccache/issues/163 )
Even if ccache did correctly honour each of the remapping arguments, the
hashes would still be different every time ${PV} or ${PR} change because
the default DEBUG_PREFIX_MAP contains maps to paths including them.
So it seems that for ccache to be of any use with this configuration,
CCACHE_NOHASHDIR needs to be set.
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Helped-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-serialgetty.bb')
0 files changed, 0 insertions, 0 deletions