mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 03:57:45 +00:00
Ports/mold: Update to 1.5.1 and use CMake instead of Makefile
Per the release notes for 1.5.0, the CMake build is preferred going forward. This lets us drop some Makefile patches and pass them as CMake options instead, with the exception of disabling mold-wrapper.so.
This commit is contained in:
parent
376425639d
commit
32c9be30dc
10 changed files with 54 additions and 116 deletions
|
@ -1,20 +1,6 @@
|
|||
# Patches for mold on SerenityOS
|
||||
|
||||
## `0001-Disable-mold-wrapper.so-for-Serenity.patch`
|
||||
|
||||
Disable mold-wrapper.so for Serenity
|
||||
|
||||
This feature depends on RTLD_NEXT capabilities which are not yet
|
||||
implemented in the Serenity DynamicLoader.
|
||||
|
||||
## `0002-Disable-mimalloc-for-serenity.patch`
|
||||
|
||||
Disable mimalloc for serenity
|
||||
|
||||
mimalloc needs some help to compile and run on serenity.
|
||||
That's one yak too far for right now.
|
||||
|
||||
## `0003-Tell-TBB-that-SerenityOS-does-not-support-weak-symbo.patch`
|
||||
## `0001-Tell-TBB-that-SerenityOS-does-not-support-weak-symbo.patch`
|
||||
|
||||
Tell TBB that SerenityOS does not support weak symbols
|
||||
|
||||
|
@ -23,14 +9,14 @@ references to scalable_malloc to remain in the mold executable even
|
|||
though there's no chance we'll be loading the tbbmalloc library at
|
||||
runtime. So, just lie to TBB that we don't support weak symbols.
|
||||
|
||||
## `0004-Tell-TBB-that-SerenityOS-libraries-are-named-like-BS.patch`
|
||||
## `0002-Tell-TBB-that-SerenityOS-libraries-are-named-like-BS.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.
|
||||
|
||||
## `0005-Stub-out-a-definition-of-RTLD_NOLOAD.patch`
|
||||
## `0003-Stub-out-a-definition-of-RTLD_NOLOAD.patch`
|
||||
|
||||
Stub out a definition of RTLD_NOLOAD
|
||||
|
||||
|
@ -39,10 +25,8 @@ be dynamically loading any tbb extensions for the static library build
|
|||
mold uses, so we can just define it as a no-op as the code paths that
|
||||
use it will never be used.
|
||||
|
||||
## `0006-Disable-__TBB_RESUMABLE_TASKS-for-serenity.patch`
|
||||
## `0004-Disable-mold-wrapper.so-on-SerenityOS.patch`
|
||||
|
||||
Disable __TBB_RESUMABLE_TASKS for serenity
|
||||
Disable mold-wrapper.so on SerenityOS
|
||||
|
||||
This feature requires ``<ucontext.h>``, which is not currently
|
||||
implemented for any supported SerenityOS targets
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue