-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Linker error on Windows with lld-link: relocation against symbol in discarded section #70
Comments
I can reproduce with
From the linkme repository root:
I used:
used_linkerTesting with used_linker gets the same result. But given that
|
I tried adding the |
it actually ends up crashing lld-link, but the errors come first, so I think it's also doing something wrong.
I tried with and without
used_linker
and get the same thing either way, whereasused_linker
fixed lld on other platforms.The
GTESTS
here is the distributed_slice, in therust_gtest_interop
crate.This should be reproducible on Windows outside of Chromium with
--target=x86_64-pc-windows-msvc -Clinker=clang-cl -Clink-arg=-fuse-ld=lld
.The text was updated successfully, but these errors were encountered: