Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33834 - CCACHE is using full paths for storing hints to speed up compilation (was: glibc calls compiler with full path for sources)
Summary: CCACHE is using full paths for storing hints to speed up compilation (was: gl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 08:10 UTC by jan kuipers
Modified: 2004-07-11 02:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.