generic-poky/meta
Mike Crowe e987f62009 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.

(From OE-Core rev: fb7a5cdcff19bb44a25a51e20de0440c1ebcc057)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17 16:53:06 +00:00
..
classes ccache: Disable CCACHE_HASHDIR by default 2017-03-17 16:53:06 +00:00
conf bitbake.conf: Add few more binaries to HOSTTOOLS_NONFATAL 2017-03-17 16:53:05 +00:00
files fs-perms.txt: Two cleanup tweaks for consistency. 2017-03-17 16:53:05 +00:00
lib oe/path.py: fix for "Argument list too long" 2017-03-17 16:53:05 +00:00
recipes-bsp u-boot-fw-utils: reuse the same override HOSTCC patch as u-boot-mkimage 2017-03-17 16:53:06 +00:00
recipes-connectivity openssl: Disable make's -e flag without breaking ${AR} 2017-03-17 16:53:05 +00:00
recipes-core gettext: split recipe's description 2017-03-17 16:53:06 +00:00
recipes-devtools autogen-native: config/libopts.m4 2017-03-17 16:53:05 +00:00
recipes-extended shadow: 'useradd' copies root's extended attributes 2017-03-17 16:53:05 +00:00
recipes-gnome nativesdk-packagegroup-sdk-host: replace smartpm with dnf 2017-03-14 14:42:17 +00:00
recipes-graphics xserver-xf86-config: Remove X server module preload 2017-03-17 16:53:05 +00:00
recipes-kernel kexec-tools: Add patches to enable format-security 2017-03-17 16:53:04 +00:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia gstreamer1.0-vaapi: Remove unused patch 2017-03-16 22:11:32 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support which: fix it so the manpage will respect alternatives 2017-03-17 16:53:04 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00