-
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
"illegal hardware instruction" when compiling code sample with E0391 error #27316
Comments
Are you sure you aren't running into the issue that stage1 compilers are broken at the moment on Linux? (any compiler error causes a "fatal runtime error: Could not unwind stack, error = 5") |
@eefriedman oh, yes, you are right. Is it possible to solve this issue? What should I do? |
Use a stage2 compiler. |
@eefriedman well, replacing stage1 with stage2 solved the problem, thank you. Should the issue be closed? (I suppose, there should be more general issue, related to stage1 compilers on Linux) |
Yes it should. The issue is known and will get fixed automatically once some time passes (that is, once new snapshots are registered). |
I tested this with rustc 1.4.0-beta.3 (20eba40 2015-10-16) and I don't get the issue anymore. |
This doesn't need a test; it's just the "stage0 rustc can't panic" issue. |
@eefriedman the test case above seems relatively self contained? or is that a different issue? That kind of test may also be checked in already... |
Ah I see, seems like it was a bootstrap issue rather than the test in question. Closing then! |
While implementing explanation for E0391 error (unsupported cyclic reference between types/traits detected) realized, that Rust from master branch fails to compile the following code sample:
Output:
Meta:
Valgrind output:
Also, Rust 1.1 from AUR compiles the code above without any problems:
The text was updated successfully, but these errors were encountered: