-
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
"".split('.')
in build.rs with -Cremark=all
causes compiler segfault on ARM
#116729
Comments
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:
That should narrow it down pretty well. |
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 |
@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 |
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. |
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 crashThe text was updated successfully, but these errors were encountered: