Skip to content

Recover from corrupt ccache

Sometimes the cache gets corrupted leading to non-obvious symptoms such as linker errors (see below). We should

  1. See if we can use CCACHE_RECACHE instead of cleaning the entire .ccache/$BINARY_TAG or even .ccache
  2. Document the recipe in the README.
UTTruthTool.cpp:(.text._ZNK4LHCb11MCUTDeposit10fillStreamERSo[_ZNK4LHCb11MCUTDeposit10fillStreamERSo]+0xa7): undefined reference to `LHCb::UTChannelID::fillStream(std::ostream&) const'
collect2: error: ld returned 1 exit status