diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-08 09:27:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-08 09:27:00 +0100 |
commit | afdfa05c5ce824f49340d033a80cdee422ac264a (patch) | |
tree | e0d45d2626035a2af2187a8359cd122dd9d4a21b /dev-util/ccache/files | |
parent | 6cefebc8e850c862f7623af22feef1b895a79884 (diff) |
gentoo auto-resync : 08:08:2023 - 09:27:00
Diffstat (limited to 'dev-util/ccache/files')
-rw-r--r-- | dev-util/ccache/files/ccache-4.8.2-gcc-ice-workaround.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/ccache/files/ccache-4.8.2-gcc-ice-workaround.patch b/dev-util/ccache/files/ccache-4.8.2-gcc-ice-workaround.patch new file mode 100644 index 000000000000..a638930ad6ad --- /dev/null +++ b/dev-util/ccache/files/ccache-4.8.2-gcc-ice-workaround.patch @@ -0,0 +1,25 @@ +https://bugs.gentoo.org/906310 +https://bugs.gentoo.org/906942 +https://github.com/ccache/ccache/issues/1289 +https://github.com/ccache/ccache/commit/689168c292f1ed26c5f4a3070aeb649dad7facb5 + +From 689168c292f1ed26c5f4a3070aeb649dad7facb5 Mon Sep 17 00:00:00 2001 +From: Joel Rosdahl <joel@rosdahl.net> +Date: Tue, 1 Aug 2023 12:30:12 +0200 +Subject: [PATCH] fix: Work around GCC 12.3 bug 109241 + +See also #1289. +--- a/src/storage/local/LocalStorage.cpp ++++ b/src/storage/local/LocalStorage.cpp +@@ -854,7 +854,9 @@ LocalStorage::recompress(const std::optional<int8_t> level, + auto l2_content_lock = get_level_2_content_lock(l1_index, l2_index); + l2_content_lock.make_long_lived(lock_manager); + if (!l2_content_lock.acquire()) { +- LOG("Failed to acquire content lock for {}/{}", l1_index, l2_index); ++ // LOG_RAW+fmt::format instead of LOG due to GCC 12.3 bug #109241 ++ LOG_RAW(fmt::format( ++ "Failed to acquire content lock for {}/{}", l1_index, l2_index)); + return; + } + + |