Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92243 - gcc ebuild should inform the user that the ccache is likely to be obsolete after merge
Summary: gcc ebuild should inform the user that the ccache is likely to be obsolete af...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Lowest enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 06:48 UTC by Peter Jensen
Modified: 2005-07-01 07:29 UTC (History)
1 user (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 Peter Jensen 2005-05-11 06:55:48 UTC
Part of the hash for ccache files is composed from the real compilers size and mtime.
After upgrading gcc, it's more or less certain that these would have changed, and hence the entire ccache is obsolete.
This is not immediately obvious to users that aren't experienced with ccache, so it would help if the ebuild informed the user of this fact.
Perhaps something along these lines after merging:
"After gcc has been merged again, all ccache data will be obsolete.
Unless you have taken steps to work around this, you might as well clear the cache with 'ccache -c' to recover disk space."
Of course it would only make sense to print this info if ccache is enabled in FEATURES, and ccache is installed, but that should be easy to check for.
Comment 1 SpanKY gentoo-dev 2005-05-11 10:41:10 UTC
i dont really see this being worthwhile
Comment 2 Brian Harring (RETIRED) gentoo-dev 2005-07-01 07:29:11 UTC
agreed, although down the line *possibly*.