From ee6ea5f33dd18710730d22416a91ea1e0178bef2 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Mon, 22 Aug 2022 21:10:07 +0200 Subject: chore: Update NEWS --- doc/NEWS.adoc | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/doc/NEWS.adoc b/doc/NEWS.adoc index b789cc4c..e72b6c65 100644 --- a/doc/NEWS.adoc +++ b/doc/NEWS.adoc @@ -1,5 +1,122 @@ = Ccache news +== Ccache 4.6.2 + +Release date: 2022-08-22 + + +=== Bug fixes + +- Fixed a race condition that could lead to a crash if a file in the cache is + removed with unlucky timing, e.g. by another ccache process doing cache + cleanup. + + [small]#_[contributed by Joel Rosdahl]_# + +- Dependency file rewriting will now always be performed if + `base_dir`/`CCACHE_BASEDIR` is active. This fixes a problem with the + dependency file content when Clang is used with `-fsanitize=address`. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed handling of error condition for `--hash-file`/`--checksum-file`. + + [small]#_[contributed by Joel Rosdahl]_# + +- Made sure to enable the inode cache only if subsecond `stat` timestamps are + available. + + [small]#_[contributed by Joel Rosdahl]_# + +- Added a work-around for a Clang bug when writing to a full NFS file system. + + [small]#_[contributed by Joel Rosdahl]_# + +- Made failure writing to the output file increment the "`bad output file`" + counter instead of "`cache miss`". + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed false positive cache hits for code constructions similar to + `__asm__(".incbin" " \"file\"")`. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed false success for `-fcolor-diagnostics` probe with GCC. A side effect of + this is that a compiler type that ccache can't identify from the compiler name + (such as `/usr/bin/cc` where `cc` is not a symlink) from now on won't produce + color diagnostics when used via ccache even if the compiler actually is GCC or + Clang. + + [small]#_[contributed by Joel Rosdahl]_# + +- More cases of invalid secondary storage URLs are now handled gracefully. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed the display of maximum cache size in `ccache -s` if it's 0 (= + unlimited). + + [small]#_[contributed by Joel Rosdahl]_# + +- Removed AsciiDoc markup from help text of `--trim-dir`. + + [small]#_[contributed by Joel Rosdahl]_# + +- The temporary directory is now cleaned up properly even if it's left + unconfigured. + + [small]#_[contributed by Joel Rosdahl]_# + +- Made cleanup of the temporary directory not rely a directory timestamp. + + [small]#_[contributed by Joel Rosdahl]_# + +- Made sure to retain mtime/atime when recompressing cache files with + `-X`/`--recompress`. + + [small]#_[contributed by Joel Rosdahl]_# + +- The correct umask is now used when populating the primary cache from a + secondary cache. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed creation of temporary files on file systems that don't support hard + links (such as FAT32). + + [small]#_[contributed by Joel Rosdahl]_# + +- Added knowledge about `-Wa,...=file` so that ccache then falls back to running + the real compiler. + + [small]#_[contributed by Joel Rosdahl]_# + +- Corrected handling of space in paths when using response file on Windows. + + [small]#_[contributed by Sergey Semushin]_# + +- Fixed crash due to empty include filename in preprocessor output generated by + `f2c`. + + [small]#_[contributed by Oleg Sidorkin]_# + + +=== Build improvements + +- Fixed build problems with a development version of GCC 13. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed build problems with MSVC. + + [small]#_[contributed by Florin Trofin]_# + + +=== Test improvements + +- Clang warnings from the "`-fdebug-prefix-map`" test are now suppressed. + + [small]#_[contributed by Joel Rosdahl]_# + +- Made sure to only run the "`-ftest-coverage + -fprofile-dir`" test with GCC. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed printing of error messages with embedded newlines. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed warning when running the "`inode_cache`" test in isolation. + + [small]#_[contributed by Joel Rosdahl]_# + +- Fixed test failure when the compiler used for testing is an old ccache version + masquerading as the compiler. + + [small]#_[contributed by Joel Rosdahl]_# + + +=== Documentation improvements + +- Mentioned that mtime is used for LRU cleanup. + + [small]#_[contributed by Joel Rosdahl]_# + + == Ccache 4.6.1 Release date: 2022-05-15 @@ -63,7 +180,7 @@ Release date: 2022-05-15 [small]#_[contributed by Alexey Telishev]_# - Check for short reads when reading strings in result/manifest files. + - [small]#_[contributed by Gregor Jasny]_# +< [small]#_[contributed by Gregor Jasny]_# - Log expanded secondary storage URL in put/remove. + [small]#_[contributed by Joel Rosdahl]_# -- cgit v1.2.1