ccache Changelog

What's new in ccache 3.1.9

Jan 7, 2013
  • Bug fixes:
  • The EAGAIN signal is now handled correctly when emitting cached stderr output. This fixes a problem triggered by large error outputs from the compiler.
  • Subdirectories in the cache are no longer created in read-only mode.
  • Fixed so that ccache’s log file descriptor is not made available to the compiler.
  • Improved error reporting when failing to create temporary stdout/stderr files when executing the compiler.
  • Disappearing temporary stdout/stderr files are now handled gracefully.
  • Other:
  • Fixed test suite to work on ecryptfs.

New in ccache 3.1.7 (Jan 8, 2012)

  • Several minor bugs have been fixed: failure when creating files in the cache directory has been made fatal.
  • Recognition and hashing of GCC plugins specified with -fplugin=file has been added. CPATH, C_INCLUDE_PATH, and similar environment variables are now added to the hash to avoid false cache hits when such variables have changed.
  • The GCC bug compatibility introduced in ccache 3.1.5 for -MT/-MQ options with concatenated arguments has been reverted.

New in ccache 3.1.5 (May 30, 2011)

  • New features and improvements:
  • Added a new statistics counter named “called for preprocessing”.
  • The original command line is now logged to the file specified with CCACHE_LOGFILE.
  • Improved error logging when system calls fail.
  • Added support for rewriting absolute paths in -F/-iframework GCC options.
  • Improved order of statistics counters in ccache -s output.
  • Bug fixes:
  • The -MF/-MT/-MQ options with concatenated argument are now handled correctly when they are last on the commandline.
  • ccache is now bug compatible with GCC for the -MT/-MQ options with concatenated arguments.
  • Fixed a minor memory leak.
  • Systems that lack (and don’t need to be linked with) libm are now supported.

New in ccache 3.1.4 (Jan 10, 2011)

  • A bug fix release

New in ccache 3.1.3 (Nov 29, 2010)

  • The -MFarg, -MTarg, and -MQarg compiler options (i.e., without a space between the option and argument) are now handled correctly.

New in ccache 3.1.2 (Nov 22, 2010)

  • The compiler options -fdump-* are now correctly detected as too hard to cache.
  • NULL return values from malloc/calloc of zero bytes are now handled correctly.
  • An issue when parsing precompiler output on AIX has been fixed.
  • Documentation on which information is included in the hash sum has been improved.
  • The test suite portability has been improved.

New in ccache 3.1.1 (Nov 8, 2010)

  • Non-regular include files are now handled correctly.
  • CRC errors are detected when decompressing compressed files in the cache.
  • A potential object file corruption race on NFS has been fixed.
  • Documentation has been corrected.
  • Configure detection of ar is now done properly.

New in ccache 3.1 (Sep 17, 2010)

  • Support has been added for hashing the output of a custom command to identify the compiler.
  • Compilations that use precompiled headers are now supported.
  • Behaviour on NFS mounts has been improved.
  • Some bugs have been fixed.

New in ccache 3.0.1 (Jul 16, 2010)

  • The statistics counter "called for link" is now correctly updated when linking with a single object file.
  • A problem with out-of-source builds has been fixed.

New in ccache 3.0 (Jun 21, 2010)

  • Version 3.0 is a major upgrade of the previous 2.4 release. The most notable new features are the direct mode, which speeds up ccache several times, and the basedir support, which helps to improve cache hit rate when compiling in different directories using absolute paths. More details can be found in the ccache 3.0 news file and the manual.