Open
Labels
contributor friendlyThis 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.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: Linker scripts must die #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.
Reacted by G. Berthiaume
Reacted by Jakub Konka, Meghan Denny, Komu Wairagu, Koakuma, lin72h, Suraj, Osama Maharmeh, tudy41 and Aqil Contractor
Reacted by Jakub Konka, Meghan Denny, Stéphane Aulery, Eliah Rusin, Suraj, lin72h, Aditya Rahalkar, 10aded, Osama Maharmeh, Gustavo Joaquin and 1 more
Reacted by Jakub Konka, Meghan Denny, Jan Ph. H., Jonathan Marler, lin72h, Suraj, tudy41 , Gustavo Joaquin and Aqil Contractor
Metadata
Metadata
Assignees
Labels
contributor friendlyThis 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.linking
Type
Projects
- StatusShow more project fieldsDitch LLVM
Activity
matthewp commentedon May 11, 2021
Does fixing #7133 need to wait on this? Will this issue fix that one?