1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:57:34 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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