Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCompilation ICE on nphysics crate #33096
Comments
trolleyman
changed the title
ICE regression
Compilation ICE on nphysics
Apr 19, 2016
This comment has been minimized.
This comment has been minimized.
|
cc @eddyb |
This comment has been minimized.
This comment has been minimized.
|
You sure it's that innocent commit and not, you know, my changes to debuginfo, for MIR? |
This comment has been minimized.
This comment has been minimized.
|
@trolleyman I can't reproduce on master (just rebased one of my branches containing unrelated changes, so I had a compiler to check with). EDIT: Still no reproduction, even after |
This comment has been minimized.
This comment has been minimized.
|
Ok so I was misinterpreting which crate was being compiled. nphysics compiles fine, but my crate, which uses nphysics, doesn't. I'm trying to narrow down the code now. |
This comment has been minimized.
This comment has been minimized.
|
Here's some of the rust log that I got when compiling on debug builds:
|
This comment has been minimized.
This comment has been minimized.
|
@trolleyman That's not really helpful, sadly, nightly doesn't use |
eddyb
referenced this issue
Apr 19, 2016
Merged
Normalize types before using them in debuginfo. #33099
This comment has been minimized.
This comment has been minimized.
|
@trolleyman This bug is not in beta, correct? |
This comment has been minimized.
This comment has been minimized.
|
@eddyb I'm afraid that I can't test that as I'm using |
This comment has been minimized.
This comment has been minimized.
|
@trolleyman Can you check the test from #33099 instead? Particularly interested about the nightlies you had issues with. |
This comment has been minimized.
This comment has been minimized.
|
@eddyb Sure, unfortunately that test case works fine for both pre and post- |
This comment has been minimized.
This comment has been minimized.
|
@trolleyman Ah, beats me then. |
eddyb
added
the
E-needstest
label
Apr 20, 2016
This comment has been minimized.
This comment has been minimized.
|
@eddyb I'll try and find which part of my code hits the error. |
nagisa
changed the title
Compilation ICE on nphysics
Compilation ICE on neat crate
Apr 20, 2016
This comment has been minimized.
This comment has been minimized.
|
@eddyb So I did some digging and I was wrong again, it turns out it is the nphysics crate. This is a minimal test case:
|
trolleyman
changed the title
Compilation ICE on neat crate
Compilation ICE on nphysics crate
Apr 20, 2016
This comment has been minimized.
This comment has been minimized.
|
@trolleyman It depends on the |
This comment has been minimized.
This comment has been minimized.
|
@eddyb True, sorry but I am not knowledgeable at all in rustc or nphysics, so it's the best I can do :/ |
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
nikomatsakis
assigned
eddyb
Apr 21, 2016
rust-highfive
added
P-high
and removed
I-nominated
labels
Apr 21, 2016
bors
added a commit
that referenced
this issue
Apr 22, 2016
bors
added a commit
that referenced
this issue
Apr 22, 2016
bors
added a commit
that referenced
this issue
Apr 23, 2016
bors
added a commit
that referenced
this issue
Apr 25, 2016
bors
added a commit
that referenced
this issue
Apr 26, 2016
bors
added a commit
that referenced
this issue
Apr 26, 2016
bors
added a commit
that referenced
this issue
Apr 26, 2016
bors
closed this
in
#33099
Apr 26, 2016
This comment has been minimized.
This comment has been minimized.
|
Still need a good regression test. |
eddyb
reopened this
Apr 26, 2016
This comment has been minimized.
This comment has been minimized.
|
triage: P-low |
trolleyman commentedApr 19, 2016
•
edited
When trying to compile nphysics on a nightly created on or after
2016-04-14, the compiler errors. Before this date it is fine.Example code:
Presumably was this commit that broke things, as it's a commit on that day that touches trans.
On Windows 64 bit GNU this is the output: