1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

Toolchain: Introduce stubs for core system libraries

This allows the linker to link against these dynamic libraries when
compiling libc++/libunwind, without having to do a separate
bootstrapping LibC build.

Without this change, libc++ would fail to pick up the need to link to
`LibPthread` if no prior builds of it existed. Because of this, we'd
immediately have an assertion failure in SystemServer, as mutexes are
used for the safe construction of function-local static variables.
This commit is contained in:
Daniel Bertalan 2021-10-06 22:47:39 +02:00 committed by Linus Groh
parent 95c32fdf19
commit c524f58290
9 changed files with 21 additions and 0 deletions

Binary file not shown.