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

Update stacker and psm crates #87680

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Conversation

mati865
Copy link
Contributor

@mati865 mati865 commented Aug 1, 2021

Primarily to include rust-lang/stacker#54

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(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 Aug 1, 2021
@mati865
Copy link
Contributor Author

mati865 commented Aug 1, 2021

cc @nagisa

@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Aug 1, 2021

📌 Commit 7954a76 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 Aug 1, 2021
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Aug 3, 2021
…Simulacrum

Update stacker and psm crates

Primarily to include rust-lang/stacker#54
@JohnTitor
Copy link
Member

Failed in rollup: #87714 (comment)
@bors r-
Seems we need some tweaks to build the crate.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 3, 2021
@mati865
Copy link
Contributor Author

mati865 commented Aug 18, 2021

Updated to include rust-lang/stacker@948e604

@klensy
Copy link
Contributor

klensy commented Aug 18, 2021

Now this updates some other crates too.

@mati865
Copy link
Contributor Author

mati865 commented Aug 18, 2021

Rust-analyzer updated them while I was committing, fixed now.

@Mark-Simulacrum
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Aug 18, 2021

📌 Commit e70c1ab 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 18, 2021
@bors
Copy link
Contributor

bors commented Aug 19, 2021

⌛ Testing commit e70c1ab with merge 80b7d6cf083e0a0ba5bd9c1f59ab95d7ca77692a...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Aug 19, 2021

💔 Test failed - checks-actions

@bors bors removed the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 19, 2021
@Mark-Simulacrum
Copy link
Member

@bors retry libpsm-b2b57a2c9f3f7c91.rlib(x86_windows_gnu.o) : error LNK2026: module unsafe for SAFESEH image.

Maybe spurious? Could be an actual problem. Not sure.

@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 Aug 19, 2021
@nagisa
Copy link
Member

nagisa commented Aug 19, 2021 via email

@mati865
Copy link
Contributor Author

mati865 commented Aug 19, 2021

Definitely not spurious.
Before rust-lang/stacker@e1dc224#diff-af3494399696f0e51254641cc231eda98f371372b92fb4f453e43d7f8229b08c MSVC env would always use MSVC assembly files(even for Clang), now it uses GNU assembly for Clang.

@nagisa
Copy link
Member

nagisa commented Aug 19, 2021

That's surprising if true – clang-cl does not understand MASM, so it couldn't possibly have compiled the MSVC-specific files. And yet with CC set to clang-cl we can't possibly be falling back to regular MSVC's cl either.

@mati865
Copy link
Contributor Author

mati865 commented Aug 19, 2021

I have no experience with MSVC but maybe Clang-cl will automatically fallback to MASM?

camsteffen added a commit to camsteffen/rust that referenced this pull request Aug 19, 2021
…Simulacrum

Update stacker and psm crates

Primarily to include rust-lang/stacker#54
@camsteffen
Copy link
Contributor

@bors r- (per #88168 (comment))

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Aug 20, 2021
@nagisa
Copy link
Member

nagisa commented Aug 20, 2021

So. I was able to reproduce this. Firstly, this only affects i686-pc-windows-msvc as far as I can tell. Secondly, this is caused by a combination of #31579 (which seems to be "just because") and use of clang-cl for assembling (which does not appear to support outputting objects that are compatible with this flag). In particular the psm's assembly contains no exception handlers at all, so it has worked “by default” when using ml to assemble.

clang-cl does not support transparent fallback to ml when encountering masm files, so I'm still not all that sure how we managed to avoid hitting issues with this before now, though. We must have been using ml at all times in the past, at least as far as msvc target is concerned. This is confusing.

@nagisa
Copy link
Member

nagisa commented Aug 27, 2021

I adjusted psm again and now actually tested that it works to build on i686-pc-windows-msvc with CC=clang-cl set.

@mati865
Copy link
Contributor Author

mati865 commented Aug 27, 2021

Thank you, I have just returned today and updated the PR.

@nagisa
Copy link
Member

nagisa commented Aug 30, 2021

@bors r=Mark-Simulacrum,nagisa

@bors
Copy link
Contributor

bors commented Aug 30, 2021

📌 Commit f58289c has been approved by Mark-Simulacrum,nagisa

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 30, 2021
@bors
Copy link
Contributor

bors commented Aug 30, 2021

⌛ Testing commit f58289c with merge 6cfa773...

@bors
Copy link
Contributor

bors commented Aug 30, 2021

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum,nagisa
Pushing 6cfa773 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 30, 2021
@bors bors merged commit 6cfa773 into rust-lang:master Aug 30, 2021
@rustbot rustbot added this to the 1.56.0 milestone Aug 30, 2021
@mati865 mati865 deleted the stacker-psm-update branch August 30, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. 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.

None yet

10 participants