Skip to content

Static Linux SDK builds should probably use lld #1192

Description

@jakepetroules

On Windows, clang tries to link using ld, which of course does not exist.

I'm not sure if what's happening on macOS or Linux, but this needs to be solved at some level. Maybe the SDK should be updated to specify that lld is expected? (presuming the behavior is expected to be uniform across host platforms)

With ALTERNATE_LINKER=lld, Swift Build can successfully build Swift Subprocess on Windows using the Static Linux SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions