From: Joel Rosdahl Date: Tue, 18 May 2010 06:13:47 +0000 (+0200) Subject: Some reformulations about corrupt object files X-Git-Tag: v3.0~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39a7f839d9367e581ae4892080611bbc44968b4f;p=thirdparty%2Fccache.git Some reformulations about corrupt object files --- diff --git a/manual.txt b/manual.txt index 3afc881ca..77c68eed0 100644 --- a/manual.txt +++ b/manual.txt @@ -643,21 +643,21 @@ correctly. A workaround that may work is to set *CCACHE_CPP2*. This will make cache misses slower, though, so it is better to find and fix the root cause. -ERRONEOUS OBJECT FILES -~~~~~~~~~~~~~~~~~~~~~~ - -There are no reported issues about ccache producing broken object files. That -doesn't mean it can't happen, so if you find a repeatable case, please report -it. - -That said, it should be noted that ccache is susceptible to general storage -problems. If a bad object file sneaks into the cache for some reason, it will -of course stay bad. Some possible reasons for erroneous object files are bad -hardware (disk drive, disk controller, memory, etc), buggy drivers or file -systems, a bad *CCACHE_PREFIX* command or compiler wrapper. If this happens, -you can either find out which object file is broken by reading the debug log -and then delete the bad object file from the cache, or you can simply clear the -whole cache with *ccache -C* if you don't mind losing other cached results. +CORRUPT OBJECT FILES +~~~~~~~~~~~~~~~~~~~~ + +It should be noted that ccache is susceptible to general storage problems. If a +bad object file sneaks into the cache for some reason, it will of course stay +bad. Some possible reasons for erroneous object files are bad hardware (disk +drive, disk controller, memory, etc), buggy drivers or file systems, a bad +*CCACHE_PREFIX* command or compiler wrapper. If this happens, you can either +find out which object file is broken by reading the debug log and then delete +the bad object file from the cache, or you can simply clear the whole cache +with *ccache -C* if you don't mind losing other cached results. + +There are no reported issues about ccache producing broken object files +reproducibly. That doesn't mean it can't happen, so if you find a repeatable +case, please report it. MORE INFORMATION