Skip to content

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

Merged
bors merged 1 commit into
rust-lang:masterfrom
michaelwoerister:xlto-fix-lld-opt
Nov 14, 2018
Merged

xLTO: Don't pass --plugin-opt=thin to LLD. That's not supported anymore.#55947
bors merged 1 commit into
rust-lang:masterfrom
michaelwoerister:xlto-fix-lld-opt

Conversation

@michaelwoerister

@michaelwoeristermichaelwoerister commented Nov 14, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

r? @aturon

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

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

Copy link
Copy Markdown
MemberAuthor

r? @alexcrichton

@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+ p=5

Does this need a beta backport as well?

@bors

bors commented Nov 14, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 4cfc979 has been approved by Mark-Simulacrum

@borsbors 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
Copy Markdown
MemberAuthor

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.

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

Copy link
Copy Markdown
MemberAuthor

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

@kennytmkennytm mentioned this pull request Nov 14, 2018
@bors

bors commented Nov 14, 2018

Copy link
Copy Markdown
Collaborator

⌛ 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.
@borsbors mentioned this pull request Nov 14, 2018
@bors

bors commented Nov 14, 2018

Copy link
Copy Markdown
Collaborator

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

@bors
bors merged commit 4cfc979 into rust-lang:masterNov 14, 2018
@rust-highfive

Copy link
Copy Markdown
Contributor

📣 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).
@XanewokXanewok mentioned this pull request Nov 14, 2018
@nagisanagisa added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Nov 15, 2018
@nagisa

Copy link
Copy Markdown
Member

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.

@emilyalbiniemilyalbini mentioned this pull request Nov 15, 2018
@emilyalbiniemilyalbini 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-acceptedAccepted for backporting to the compiler in the beta channel.S-waiting-on-borsStatus: 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

@michaelwoerister@rust-highfive@Mark-Simulacrum@bors@nagisa@alexcrichton@aturon@emilyalbini