Skip to content

Use lld as the system linker #1780

@stellaraccident

Description

@stellaraccident

The system linker is used for bootstrapping the compiler and various low level libraries. However, BFD ld is wildly inefficient and memory hungry for linking things the size of LLVM, causing massive memory explosions. The traditional fix is to use lld as the system linker.

We should set this up in our CI and by default if available to relieve memory pressure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    TODO

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions