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

LLVM: Add unified LLD JLL, and add driver entrypoints. #9615

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

maleadt
Copy link
Contributor

@maleadt maleadt commented Oct 15, 2024

Currently the JLL only exposes lld, which isn't always usable, e.g., when using with Clang and --ld-path:

lld is a generic driver.
Invoke ld.lld (Unix), ld64.lld (macOS), lld-link (Windows), wasm-ld (WebAssembly) instead
error: linker command failed with exit code 1 (use -v to see invocation)

This PR also exposes the platform-specific drivers (which are always built, it seems), and also adds a unified LLD JLL since the library is linked against libLLVM.

All this is needed to make Clang_jll portable, as it otherwise relies on a system-wide ld.

@maleadt maleadt merged commit 0a4412a into master Oct 15, 2024
178 checks passed
@maleadt maleadt deleted the tb/lld branch October 15, 2024 12:55
avik-pal pushed a commit to avik-pal/Yggdrasil that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant