-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
LTO / aarch64 f64 error in LLVM, stable rust #71506
Comments
A few things that did no make an impact:
BUT
|
I have a test-case here: https://github.com/kali/bug-rust-71506 . |
I can reproduce on archlinux (using the linker from the just run:
in https://github.com/kali/bug-rust-71506 folder |
After some debugging, I can actually reproduce it on my workstation too. Nothing magic about github action. It only appears on stable, not on beta, not on nightly. |
Made some progress isolating the issue further more. In summary 1/ it has been here for a while in terms of rustc versions (at least 1.39.0) Shamelessly trying to drag @bluss into this. Updated procedure to reproduceOne does not even need an actualy aarch64 linker to expose the bug, as it happens at the compilation stage, so in order to reproduce: 1/ checkout https://github.com/kali/bug-rust-71506 The bug we are after looks like:
If you get linking errors, then the compilation probably passed without triggering the bug, you're just not having the correct cross linker setup. |
I've confirmed that this also happens on the latest nightly on my platform (Mac). |
In that case, closing as fixed. If it reappears, please let us know. |
I'm currently trying to reduce the problem that appeared suddenly with no significant code change in that area, with no compiler bump. It's a long and painful process as
it happens only on github actions runners and only in the context of this relatively big project,so I am opening this in case somebody get some intuition of what is happening.Code
As far I can tell the bug is triggered by https://github.com/snipsco/tract/blob/master/core/src/ops/nn/global_pools.rs#L85
, but did not manage yet to reproduce the ICE out of tract.I assume from the output dealing with f64, that it is happening for the D=f64 instanciation (the code is also instantiated for f32 and f16).Meta
rustc --version --verbose
:Error output
from https://github.com/snipsco/tract/runs/614684662?check_suite_focus=true . Again trying to reduce this more.
The text was updated successfully, but these errors were encountered: