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

xLTO: Don't pass --plugin-opt=thin to LLD. That's not supported anymore. #55947

Merged
merged 1 commit into from
Nov 14, 2018

Conversation

michaelwoerister
Copy link
Member

@michaelwoerister michaelwoerister commented Nov 14, 2018

It seems that -plugin-opt=thin is not needed anymore when invoking LLD for ThinLTO. Unfortunately, still passing the option makes LLD crash instead of giving a deprecation warning or something.

@rust-highfive
Copy link
Collaborator

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 14, 2018
@michaelwoerister
Copy link
Member Author

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned aturon Nov 14, 2018
@Mark-Simulacrum
Copy link
Member

@bors r+ p=5

Does this need a beta backport as well?

@bors
Copy link
Contributor

bors commented Nov 14, 2018

📌 Commit 4cfc979 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 14, 2018
@michaelwoerister
Copy link
Member Author

re: beta, I'll have to look into that. If beta uses an LLVM version the LLD of which also doesn't accept the flag, then yes.

@michaelwoerister michaelwoerister added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 14, 2018
@michaelwoerister
Copy link
Member Author

So it looks like the LLD version coming with beta doesn't accept the option either. Beta-nominating.

@bors
Copy link
Contributor

bors commented Nov 14, 2018

⌛ Testing commit 4cfc979 with merge 6f93e93...

bors added a commit that referenced this pull request Nov 14, 2018
…lacrum

xLTO: Don't pass --plugin-opt=thin to LLD. That's not supported anymore.

It seems that `-plugin-opt=thin` is not needed anymore when invoking LLD for ThinLTO. Unfortunately, still passing the option makes LLD crash instead of giving a deprecation warning or something.
@bors
Copy link
Contributor

bors commented Nov 14, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: Mark-Simulacrum
Pushing 6f93e93 to master...

@bors bors merged commit 4cfc979 into rust-lang:master Nov 14, 2018
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #55947!

Tested on commit 6f93e93.
Direct link to PR: #55947

🎉 rls on linux: test-fail → test-pass (cc @nrc @Xanewok, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Nov 14, 2018
Tested on commit rust-lang/rust@6f93e93.
Direct link to PR: <rust-lang/rust#55947>

🎉 rls on linux: test-fail → test-pass (cc @nrc @Xanewok, @rust-lang/infra).
@nagisa nagisa added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Nov 15, 2018
@nagisa
Copy link
Member

nagisa commented Nov 15, 2018

Accepted for beta. The patch is low risk and since the feature(s) in question are unstable and have little usage out there make such backport even less dangerous (although that goes the other way as well against the backport). The T-compiler has voted overwhelmingly for a backport.

@pietroalbini pietroalbini removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Nov 15, 2018
bors added a commit that referenced this pull request Nov 15, 2018
[beta] Rollup backports

Merged and approved:

* #55947: xLTO: Don't pass --plugin-opt=thin to LLD. That's not supported anymore.
* #55852: Rewrite `...` as `..=` as a `MachineApplicable` 2018 idiom lint
* #55800: Fix ICE in `return_type_impl_trait`
* #55630: resolve: Filter away macro prelude in modules with `#[no_implicit_prelude]` on 2018 edition

r? @ghost
bors added a commit that referenced this pull request Nov 15, 2018
[beta] Rollup backports

Merged and approved:

* #55947: xLTO: Don't pass --plugin-opt=thin to LLD. That's not supported anymore.
* #55800: Fix ICE in `return_type_impl_trait`
* #55630: resolve: Filter away macro prelude in modules with `#[no_implicit_prelude]` on 2018 edition

r? @ghost
bors added a commit that referenced this pull request Nov 16, 2018
[beta] Rollup backports

Merged and approved:

* #55947: xLTO: Don't pass --plugin-opt=thin to LLD. That's not supported anymore.
* #55800: Fix ICE in `return_type_impl_trait`
* #55630: resolve: Filter away macro prelude in modules with `#[no_implicit_prelude]` on 2018 edition

r? @ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants