eliminate dependency on LLD for Mach-O #8727
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
linking
os-macos
Milestone
This is a sub-task of #8726.
LLD on Mach-O is fatally flawed for a few reasons. One example is #3295.
However Zig still falls back to LLD for Mach-O in a handful of cases. Here is the current logic:
zig/src/Compilation.zig
Lines 714 to 751 in 2d11967
zig/src/link/MachO.zig
Lines 637 to 656 in 2d11967
This issue is to improve self-hosted linking on Mach-O enough that for Mach-O targets, we always use self-hosted linking, and we can remove this line from cmake:
zig/cmake/Findlld.cmake
Line 45 in 2d11967
The text was updated successfully, but these errors were encountered: