-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Support stack probing for arm64 (aarch64) #77071
Comments
@rustbot ping arm |
Hey ARM Group! This bug has been identified as a good "ARM candidate". cc @JamieCunliffe @joaopaulocarreiro @raw-bin @Stammark @vigoux |
Hi @raw-bin, what's the status of this? As I recall this work was planned to land as part of LLVM 12, but I haven't seen updates on the Linaro tracker yet. |
Hi Tyler.
I believe there has been progress but let me get the definitive and circle
back ASAP.
Cheers,
Robin
…On Sat, Feb 13, 2021 at 2:24 AM Tyler Mandry ***@***.***> wrote:
Hi @raw-bin <https://github.com/raw-bin>, what's the status of this? As I
recall this work was planned to land as part of LLVM 12, but I haven't seen
updates on the Linaro tracker yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#77071 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFMKYURA7T2IXM4NP5ZNGTS6XPEXANCNFSM4RWDXQ2Q>
.
|
Hi @tmandry, folks. Apologies for the delay. There has been good progress. Please note the following patches that have been posted by Linaro for review: https://reviews.llvm.org/D96004 At present Linaro is blocking on review. If possible, please do chime in. I will provide further updates as needed. Cheers |
Great, thanks for the update! Let me ask around to see if I can help get those patches reviewed. |
What's the current state of this? What needs to happen to get working stack probes on aarch64? |
Visited for T-compiler steering backlog bonanza. Seems like 3 out of the 4 of the LLVM patches linked above are still undergoing review. So, tagging this as unimplemented. (And also blocked, since its waiting on LLVM review capacity that we really can't do much about ourselves.) @rustbot label: S-tracking-unimplemented S-blocked |
Arm's LLVM team have now picked this up, and have told us that the work should be completed by September at the latest (LLVM 17). |
The deadline to get changes into LLVM17 is the end of July, so September would be too late. |
Yes, sorry, I wasn't very clear. They're hoping to get this reviewed and merged in time for the LLVM 17 release branch, which means by the end of July on |
Does anyone know if these changes made it in? |
They didn't! I'd been tracking it, and all seemed to be going well until recently, so I've been digging a bit to work out what's happened. It seems that the work was progressing as planned, but hit validation issues, so it missed the LLVM17 code freeze, sadly. It was being tracked in Linaro's LLVM-618, but that doesn't describe the exact problem. I'm still hoping to have it landed on I apologise for the further delay! |
This is in progress here: llvm/llvm-project#66524 (moved from Phabricator) |
It has been merged. Hopefully we can get it after upgrading to LLVM18. |
Great! If someone wants to try it, you can add
... and build the compiler with your own LLVM 18 / main. (The inline option should be a no-op on versions where the target didn't support it.) Then |
I went ahead and tested it myself and found no issues => #118491 flips the switch! |
…eywiser Enable stack probes on aarch64 for LLVM 18 I tested this on `aarch64-unknown-linux-gnu` with LLVM main (~18). cc rust-lang#77071, to be closed once we upgrade our LLVM submodule.
@erikschul Cross-compilation is a completely different thing -- please open a separate issue. |
Is this issue now complete, or do we need anything else? |
What about the |
…, r=workingjubilee Remove outdated footnote "missing-stack-probe" in platform-support ... after rust-lang#120055 and rust-lang#118491. cc rust-lang#77071 (comment).
Rollup merge of rust-lang#122094 - slanterns:arm-stack-probe-footnote, r=workingjubilee Remove outdated footnote "missing-stack-probe" in platform-support ... after rust-lang#120055 and rust-lang#118491. cc rust-lang#77071 (comment).
Background: #43241
This issue is to track implementation of stack probing on arm64. Most of the work necessary is in in LLVM, but this is a convenient place to track progress and final support in the Rust compiler.
Implementation: @cuviper has suggested using LLVM's inline-asm support for stack probing: #43241 (comment). It does not yet support arm64.
External trackers:
The text was updated successfully, but these errors were encountered: