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

[rustc bug with workaround] Test Suite ICE for miniz_oxide #1072

Closed
theduke opened this issue Aug 16, 2020 · 4 comments
Closed

[rustc bug with workaround] Test Suite ICE for miniz_oxide #1072

theduke opened this issue Aug 16, 2020 · 4 comments

Comments

@theduke
Copy link

theduke commented Aug 16, 2020

I'm getting an ICE while running ./test.sh --release.

Log with backtrace attached below.

Is this expected or worthy of a report?

Environment:
Commit: 4757371
OS/Arch: Linux desktop-1 5.4.55 #1-NixOS SMP Fri Jul 31 16:39:32 UTC 2020 x86_64 GNU/Linux
rustc: rustc 1.47.0-nightly (9b88e0a86 2020-08-15)

log.txt

@theduke theduke changed the title Test Suite ICE Test Suite ICE for miniz_oxide Aug 16, 2020
@bjorn3
Copy link
Member

bjorn3 commented Aug 16, 2020

The workaround

Is this the first time you ran ./test.sh --release or the second? If it is the second then rust-lang/rust#74946 is likely the cause. As a workaround you can add CARGO_INCREMENTAL=0 at the start of https://github.com/bjorn3/rustc_codegen_cranelift/blob/4757371aba4e8aaf2cebb4ba32299cf7f9364aaf/build_sysroot/build_sysroot.sh#L21

@bjorn3
Copy link
Member

bjorn3 commented Aug 16, 2020

ICE's in the test suite are never expected. I always run it before pushing any changes and CI runs it.

@theduke
Copy link
Author

theduke commented Aug 16, 2020

CARGO_INCREMENTAL=0 does indeed fix it.

@bjorn3 bjorn3 changed the title Test Suite ICE for miniz_oxide [rustc bug with workaround] Test Suite ICE for miniz_oxide Aug 16, 2020
@bjorn3
Copy link
Member

bjorn3 commented Aug 16, 2020

I will leave this open for when other people hit the same issue.

@bjorn3 bjorn3 closed this as completed in 33b6a90 Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants