-
1e1a415a
by Ben Gamari at 2025-10-17T14:43:36+01:00
rts: Avoid static symbol references to ghc-internal
This resolves #26166, a bug due to new constraints placed by Apple's
linker on undefined references.
One source of such references in the RTS is the many symbols referenced
in ghc-internal. To mitigate #26166, we make these references dynamic,
as described in Note [RTS/ghc-internal interface].
Fixes #26166
Co-authored-by: Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com>
Co-authored-by: Cheng Shao <terrorjack@type.dance>
-
9bf29ef7
by Ben Gamari at 2025-10-17T14:44:12+01:00
compiler: Rename isMathFun -> isLibcFun
This set includes more than just math functions.
-
78241a8f
by Ben Gamari at 2025-10-17T14:44:12+01:00
compiler: Add libc allocator functions to libc_funs
Prototypes for these are now visible from `Prim.h`, resulting in
multiple-declaration warnings in the unregisterised job.
-
f0773a9a
by Ben Gamari at 2025-10-17T14:44:12+01:00
rts: Minimize header dependencies of Prim.h
Otherwise we will end up with redundant and incompatible declarations
resulting in warnings during the unregisterised build.