Skip to content

Commit

Permalink
chore: Update NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosdahl committed Aug 22, 2022
1 parent b4f0a18 commit ee6ea5f
Showing 1 changed file with 118 additions and 1 deletion.
119 changes: 118 additions & 1 deletion doc/NEWS.adoc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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]_#
Expand Down

0 comments on commit ee6ea5f

Please sign in to comment.