Open aldanor opened 8 months ago
cc @Kobzol
@aldanor could you please try with some nightly from June 2023 or sooner? I wonder if this might be related to the remark changes I made, although the error is there even without using the new remark output machinery.
I don't have an ARM machine at hand to debug this.
Ok, there you go:
rustc 1.72.0-nightly (e6d4725c7 2023-06-05)
= ✅ rustc 1.72.0-nightly (b2b34bd83 2023-06-06)
= ☠️ That should narrow it down pretty well.
https://github.com/rust-lang/rust/compare/e6d4725c7...b2b34bd83
Thanks! That narrows it down indeed, e.g. the LLVM upgrade looks suspicious.
If you still want to devote some time to helping bisecting this, could you please run this:
$ RUSTFLAGS="-Cremark=all -Cdebuginfo=1" cargo bisect-rustc --start=2023-06-04 --end=2023-06-07 -- build --release
using the cargo-bisect-rustc
tool? That should help bisecting it down to a single PR/compiler build.
using the cargo-bisect-rustc tool? That should help bisecting it down to a single PR/compiler build.
@Kobzol for whatever reason, cargo-bisect-rustc says there's no regressions even if I point it at today's end date - while running it from the command line clearly fails...
Hmm, maybe it does not respects RUSTFLAGS
or something like that. You can put the build code into a script, and then use --script
(https://rust-lang.github.io/cargo-bisect-rustc/usage.html#scripting) option to let the tool know if it crashes or not.
You can put the build code into a script, and then use --script
That's what I thought too, already tried. 🤔
... I could try with git-bisect but have zero experience building and using rustc from scratch in cases like this.
Ok, wrote a little bisecting script, rebuilding rustc from source manually and rerunning the above; was a bit tedious but it worked (still no idea why cargo bisect-rustc --script
doesn't work but that's a separate question).
Here's the commit that breaks it: https://github.com/rust-lang/rust/commit/fd9bf594366e73efb1a26a023e0b4de8eff82b94 (and here's the PR: https://github.com/rust-lang/rust/pull/111999).
Thanks a lot!
CC @scottmcm
c7g
AWS instance (ARM) results inc6i
AWS instance (x64) compiles fine(was randomly discovered while trying out
cargo-remark
which makes use of LLVM remarks)A few notes of interest:
'.'
with"."
, it won't crash