Wind River Support Network

HomeDefectsLIN6-3254
Fixed

LIN6-3254 : [BBS] CCACHE can't be enabled with --enalbe-ccache=yes

Created: Mar 25, 2013    Updated: Mar 5, 2016
Resolved Date: Sep 24, 2013
Previous ID: LIN5-5113, LIN6-2746
Found In Version: 6.0
Fix Version: 6.0
Severity: Critical
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

Problem Description
====================== 
CCACHE can't be enabled with configure options:
    --enable-ccache=yes
    --with-ccache-dir=/path/to/ccache-dir

Expected Behavior
====================== 
Generate cache data in the ccache-dir

Observed Behavior
====================== 
Nothing is there

Logs(Key error logs)
====================== 

Workaround

Add those to local.conf:

+ CCACHE="/usr/bin/ccache"
+ CCACHE_DISABLE[unexport] = "1"

Or add this to local.conf:
+ INHERIT += "ccache"

Steps to Reproduce

1) configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc_small --enable-ccache=yes --with-ccache-dir=/path/to/ccache-dir

2) make -C build acl

3) Check the ccache-dir
Live chat
Online