diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-06-05 03:05:04 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-08 17:58:36 +0100 |
commit | d426c5a4b2eac839497cc2cbeee4b87a1c9ee422 (patch) | |
tree | c3484b5625b583fc7da9cc3a7f53b4dc69186fa5 /Ports/mold/patches | |
parent | d69a79b03b8f2853b60773e38553d662a01ac269 (diff) | |
download | serenity-d426c5a4b2eac839497cc2cbeee4b87a1c9ee422.zip |
Ports: Format patches without numbering, commit hash or version number
Diffstat (limited to 'Ports/mold/patches')
6 files changed, 12 insertions, 31 deletions
diff --git a/Ports/mold/patches/0001-Disable-mold-wrapper.so-for-Serenity.patch b/Ports/mold/patches/0001-Disable-mold-wrapper.so-for-Serenity.patch index 8001def8fc..b80c39c1ce 100644 --- a/Ports/mold/patches/0001-Disable-mold-wrapper.so-for-Serenity.patch +++ b/Ports/mold/patches/0001-Disable-mold-wrapper.so-for-Serenity.patch @@ -1,7 +1,7 @@ -From 70904f38faffd6917593a67326f124251ea03cd3 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrew Kaster <akaster@serenityos.org> Date: Sun, 23 Jan 2022 17:47:17 -0700 -Subject: [PATCH 1/6] Disable mold-wrapper.so for Serenity +Subject: [PATCH] Disable mold-wrapper.so for Serenity This feature depends on RTLD_NEXT capabilities which are not yet implemented in the Serenity DynamicLoader. @@ -35,6 +35,3 @@ index e2d7cd9..18262a1 100644 $(INSTALL) -d $D$(LIBEXECDIR)/mold ln -sf $(BINDIR)/mold $D$(LIBEXECDIR)/mold/ld --- -2.25.1 - diff --git a/Ports/mold/patches/0002-Disable-mimalloc-for-serenity.patch b/Ports/mold/patches/0002-Disable-mimalloc-for-serenity.patch index 535777443d..6ccc77a98b 100644 --- a/Ports/mold/patches/0002-Disable-mimalloc-for-serenity.patch +++ b/Ports/mold/patches/0002-Disable-mimalloc-for-serenity.patch @@ -1,7 +1,7 @@ -From d044a28efff134157154b78c05e881369b512e88 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrew Kaster <akaster@serenityos.org> Date: Sun, 23 Jan 2022 17:55:32 -0700 -Subject: [PATCH 2/6] Disable mimalloc for serenity +Subject: [PATCH] Disable mimalloc for serenity mimalloc needs some help to compile and run on serenity. That's one yak too far for right now. @@ -22,6 +22,3 @@ index 18262a1..98c26cc 100644 else ifeq ($(IS_ANDROID), 1) USE_MIMALLOC = 0 endif --- -2.25.1 - diff --git a/Ports/mold/patches/0003-Tell-TBB-that-SerenityOS-does-not-support-weak-symbo.patch b/Ports/mold/patches/0003-Tell-TBB-that-SerenityOS-does-not-support-weak-symbo.patch index 7c5ed28455..d2abecaf04 100644 --- a/Ports/mold/patches/0003-Tell-TBB-that-SerenityOS-does-not-support-weak-symbo.patch +++ b/Ports/mold/patches/0003-Tell-TBB-that-SerenityOS-does-not-support-weak-symbo.patch @@ -1,7 +1,7 @@ -From c99783c82b7591768c2b5131c55a55eaa26ca2c1 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrew Kaster <akaster@serenityos.org> Date: Tue, 11 Jan 2022 01:04:05 -0700 -Subject: [PATCH 3/6] Tell TBB that SerenityOS does not support weak symbols +Subject: [PATCH] Tell TBB that SerenityOS does not support weak symbols Something about the Clang toolchain configuration causes undefined weak references to scalable_malloc to remain in the mold executable even @@ -24,6 +24,3 @@ index cce8ad6..3e07302 100644 #endif /** Presence of compiler features **/ --- -2.25.1 - diff --git a/Ports/mold/patches/0004-Tell-TBB-that-SerenityOS-libraries-are-named-like-BS.patch b/Ports/mold/patches/0004-Tell-TBB-that-SerenityOS-libraries-are-named-like-BS.patch index 7a8f420252..1d446409e8 100644 --- a/Ports/mold/patches/0004-Tell-TBB-that-SerenityOS-libraries-are-named-like-BS.patch +++ b/Ports/mold/patches/0004-Tell-TBB-that-SerenityOS-libraries-are-named-like-BS.patch @@ -1,8 +1,7 @@ -From 6f67266ca2e7797506273c50b0a0f2adcfaf5173 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrew Kaster <akaster@serenityos.org> Date: Sun, 23 Jan 2022 17:50:52 -0700 -Subject: [PATCH 4/6] Tell TBB that SerenityOS libraries are named like BSD - ones +Subject: [PATCH] Tell TBB that SerenityOS libraries are named like BSD ones We won't be loading these libraries when building TBB as a static library for mold, but the OS detection logic still needs updated. @@ -37,6 +36,3 @@ index d31a77f..fb676bc 100644 #define RML_SERVER_NAME "libirml" DEBUG_SUFFIX ".so" #elif __unix__ #define RML_SERVER_NAME "libirml" DEBUG_SUFFIX ".so.1" --- -2.25.1 - diff --git a/Ports/mold/patches/0005-Stub-out-a-definition-of-RTLD_NOLOAD.patch b/Ports/mold/patches/0005-Stub-out-a-definition-of-RTLD_NOLOAD.patch index 8052d7b6d7..7fc8420331 100644 --- a/Ports/mold/patches/0005-Stub-out-a-definition-of-RTLD_NOLOAD.patch +++ b/Ports/mold/patches/0005-Stub-out-a-definition-of-RTLD_NOLOAD.patch @@ -1,7 +1,7 @@ -From 095c4671242dd8e719c544b97e7b737a553f3d8f Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrew Kaster <akaster@serenityos.org> Date: Tue, 11 Jan 2022 01:04:20 -0700 -Subject: [PATCH 5/6] Stub out a definition of RTLD_NOLOAD +Subject: [PATCH] Stub out a definition of RTLD_NOLOAD SerenityOS's DynamicLoader doesn't support this flag. However, we won't be dynamically loading any tbb extensions for the static library build @@ -23,6 +23,3 @@ index 3f13425..7dd2169 100644 #define __USE_STATIC_DL_INIT ( !__ANDROID__ ) --- -2.25.1 - diff --git a/Ports/mold/patches/0006-Disable-__TBB_RESUMABLE_TASKS-for-serenity.patch b/Ports/mold/patches/0006-Disable-__TBB_RESUMABLE_TASKS-for-serenity.patch index 77f8497ae5..0ff4aff2c0 100644 --- a/Ports/mold/patches/0006-Disable-__TBB_RESUMABLE_TASKS-for-serenity.patch +++ b/Ports/mold/patches/0006-Disable-__TBB_RESUMABLE_TASKS-for-serenity.patch @@ -1,7 +1,7 @@ -From b1c7fb39e002ee60589a731a5908bfc8473760e1 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Andrew Kaster <akaster@serenityos.org> Date: Sun, 23 Jan 2022 17:58:07 -0700 -Subject: [PATCH 6/6] Disable __TBB_RESUMABLE_TASKS for serenity +Subject: [PATCH] Disable __TBB_RESUMABLE_TASKS for serenity This feature requires ``<ucontext.h>``, which is not currently implemented for any supported SerenityOS targets @@ -22,6 +22,3 @@ index 3e07302..3b42d9e 100644 /* This macro marks incomplete code or comments describing ideas which are considered for the future. * See also for plain comment with TODO and FIXME marks for small improvement opportunities. --- -2.25.1 - |