-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.linking
Milestone
Description
In celebration of @kubkon's recent accomplishments of improving the self-hosted linker on Mach-O enough to be able to link LLVM, Clang, LLD, and Zig, this issue is to completely rely on our own linker implementation for all targets, and entirely stop linking against LLD. This issue is the spiritual successor to #1535.
- eliminate dependency on LLD for Mach-O #8727
- eliminate dependency on LLD for ELF #17749
- eliminate dependency on LLD for WebAssembly #17750
- eliminate dependency on LLD for COFF/PE #17751
Other Considerations
- miscellaneous features such as linker scripts (related: Zig-based alternative to linker scripts #3206)
- LTO. For our purposes, this would look like suporting LLVM IR bitcode files and using LLVM APIs to turn them into object(s) before completing the linking process.
g-berthiaumekubkon, nektro, komuw, koachan, lin72h and 2 morekubkon, nektro, saulery, franchb, ghishadow and 4 morekubkon, nektro, matu3ba, marler8997, lin72h and 1 more
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.linking
Type
Projects
Status
Ditch LLVM