Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lld prebuilt binary should come without libxml dynamic linking #113696

Open
mering opened this issue Oct 25, 2024 · 0 comments
Open

lld prebuilt binary should come without libxml dynamic linking #113696

mering opened this issue Oct 25, 2024 · 0 comments

Comments

@mering
Copy link

mering commented Oct 25, 2024

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants