Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33834

Summary: CCACHE is using full paths for storing hints to speed up compilation (was: glibc calls compiler with full path for sources)
Product: Gentoo Linux Reporter: jan kuipers <bokkepoot>
Component: New packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED INVALID    
Severity: enhancement CC: lisa, mholzer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jan kuipers 2003-11-19 08:10:01 UTC
Upon strolling through my ccache log files i noticed numerous entries like:   
Placed /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/stdlib/dbl2mpn.os 
into cache 
 
ccache is using this (full) filename to compute the hash which determines a hit/miss, so 
even small revisionbumps will never generate hits from ccache.  
 
 

Reproducible: Always
Steps to Reproduce:
emerge a new glibc 
Actual Results:  
compiler results are freshly generated	 

Expected Results:  
use the results from previous compile runs.
Comment 1 jan kuipers 2004-07-11 02:44:41 UTC
Indeed, this is neither a gcc bug nor a ccache issue. 

A solution is being provided by cachecc1.