-
-
Notifications
You must be signed in to change notification settings - Fork 815
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
ci: Set the -znostart-stop-gc
flag for lld when testing
#16682
ci: Set the -znostart-stop-gc
flag for lld when testing
#16682
Conversation
92bca55
to
2156ad0
Compare
-znostart-stop-gc
linker flag for testing-znostart-stop-gc
flag for lld when testing
However, since this is only an issue for testing (we use |
We may decide to wait for rustc to roll this change (switching to lld on linux by default) back from beta (dtolnay/linkme#88 (comment)) instead of merging this. |
When using |
I see, thanks! For the record, while looking into it, I had some other alternative ideas too, but I have no idea whether any of them are actually feasible. Such as:
|
We have |
Considering that the next beta is coming out almost 6 weeks from now, I'm proposing merging this now, just to clean up CI, and unblock merging PRs without repo admin force. |
2156ad0
to
3b8e03f
Compare
AFAICT the new beta is already out and lld is disabled there |
Oh, right, great! Anyway, I think leaving that option won't really hurt... |
Should fix CI failing with beta Rust (aside from the lints, for which there's #16679 and #16683).
Now that Rust beta also uses
rust-lld
by default onx86_64-unknown-linux-gnu
, we can't use-Z
as a workaround.An alternative to #16448.
Also reverts #16390.
Referencing: dtolnay/linkme#94
For more info, see: https://lld.llvm.org/ELF/start-stop-gc