Skip to content

lld prebuilt binary should come without libxml dynamic linking #113696

Open
@mering

Description

@mering

In order to seamlessly run in as many Linux environments as possible, compiler toolchain binaries should have as little dynamic linking as possible.

clang recently got rid of the libtinfo5 dependency.
lld still requires to find libxml on the system to run.

This especially leads to problems where a hermetic build environment is expected, like in Bazel build runners.

Would it be possible to get rid of this library or statically link against it (as libxml2 seems to be MIT licensed this shouldn't be a problem, right)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions