From 10bd82566bc479a36c692f0d6e029d2b10b08655 Mon Sep 17 00:00:00 2001 From: jchzhou Date: Fri, 13 Jun 2025 10:02:07 +0800 Subject: [PATCH] update to 2.40.1 Signed-off-by: jchzhou --- ...compatible-include-path-for-xxhash.h.patch | 26 +++++++++---------- mold-2.40.0.tar.gz => mold-2.40.1.tar.gz | 4 +-- mold.spec | 5 +++- 3 files changed, 19 insertions(+), 16 deletions(-) rename mold-2.40.0.tar.gz => mold-2.40.1.tar.gz (32%) diff --git a/0001-Use-system-compatible-include-path-for-xxhash.h.patch b/0001-Use-system-compatible-include-path-for-xxhash.h.patch index ca0604b..cc4dc0c 100644 --- a/0001-Use-system-compatible-include-path-for-xxhash.h.patch +++ b/0001-Use-system-compatible-include-path-for-xxhash.h.patch @@ -1,23 +1,23 @@ -From 2f95fc3b3c85a078c04fd65c2d16c96310f45daf Mon Sep 17 00:00:00 2001 -Message-ID: <2f95fc3b3c85a078c04fd65c2d16c96310f45daf.1709318446.git.github@sicherha.de> +From bd078876b1d067e882308b51973a373fb18fc5b1 Mon Sep 17 00:00:00 2001 +Message-ID: From: Christoph Erhardt Date: Sat, 6 Aug 2022 09:18:54 +0200 -Subject: [PATCH 1/2] Use system-compatible include path for `xxhash.h` +Subject: [PATCH] Use system-compatible include path for `xxhash.h` Distributors that build mold against the system-provided xxHash package expect its header file `xxhash.h` in the top-level include directory, not in an `xxhash` subdirectory. Adjust the include path and the `#include` directive accordingly. --- - CMakeLists.txt | 2 ++ - lib/common.h | 2 +- + CMakeLists.txt | 2 ++ + lib/lib.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index c6d00990..82f338f9 100644 +index 0038d391..f28ae233 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -212,6 +212,8 @@ else() +@@ -233,6 +233,8 @@ else() mold_add_tbb() endif() @@ -26,11 +26,11 @@ index c6d00990..82f338f9 100644 # We always use Clang to build mold on Windows. MSVC can't compile mold. if(WIN32) if(MSVC AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") -diff --git a/lib/common.h b/lib/common.h -index b7e002a6..5ddc9213 100644 ---- a/lib/common.h -+++ b/lib/common.h -@@ -34,7 +34,7 @@ +diff --git a/lib/lib.h b/lib/lib.h +index b2a85dd9..6ca2d2e3 100644 +--- a/lib/lib.h ++++ b/lib/lib.h +@@ -36,7 +36,7 @@ #endif #define XXH_INLINE_ALL 1 @@ -40,5 +40,5 @@ index b7e002a6..5ddc9213 100644 #ifdef NDEBUG # define unreachable() __builtin_unreachable() -- -2.44.0 +2.49.0 diff --git a/mold-2.40.0.tar.gz b/mold-2.40.1.tar.gz similarity index 32% rename from mold-2.40.0.tar.gz rename to mold-2.40.1.tar.gz index 3f81dc4..baa07a0 100644 --- a/mold-2.40.0.tar.gz +++ b/mold-2.40.1.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ee93ef0868cd54d1f30dfba1070dbacf04c1a35428bbea307a4b9242a883ad20 -size 11005480 +oid sha256:d1ce09a69941f8158604c3edcc96c7178231e7dba2da66b20f5ef6e112c443b7 +size 11033828 diff --git a/mold.spec b/mold.spec index f427e18..c572fa6 100644 --- a/mold.spec +++ b/mold.spec @@ -1,7 +1,7 @@ %bcond_with ctest Name: mold -Version: 2.40.0 +Version: 2.40.1 Release: 1 Summary: A Modern Linker (mold) License: MIT @@ -77,6 +77,9 @@ fi %{_mandir}/man1/mold.1* %changelog +* Fri Jun 13 2025 jchzhou - 2.40.1-1 +- update to 2.40.1 + * Mon May 26 2025 Funda Wang - 2.40.0-1 - update to 2.40.0 -- Gitee