-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICEs with incremental compilation building glium #34991
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This happens on stable too, btw |
You mean, if you specify |
So I did some digging. There are a few bugs I think. One of them occurs is you run with There seems to be a distinct bug that occurs with the default amount of parallelism which (I think) must relate to reading the wrong files or something like that. Still investigating. |
Fixing the problem with |
OK, the other problem goes away with |
Have you tried turning backtraces on? That should give you idea where it occurs. On July 26, 2016 8:44:31 PM GMT+02:00, Niko Matsakis notifications@github.com wrote:
|
Actually, I still get an ICE even with -Z orbit, but it occurs later. It seems to all be connected to |
Maybe @michaelwoerister we should touch base on the whole scheme here to make sure we've got it all setup right? Doesn't feel like trans needs to be particularly special. |
Making progress here. I've eliminated a few sources of ICEs, but still have a problem left. I may post an intermediate PR, or may press on. :) |
OK, so I have all the ICEs fixed. I'm encountering a bit of trouble because cargo is using the same crate name / disambiguator ( Only problem is that I have no test cases: most of these ICEs arise from multi-crate scenarios and I didn't bother to reduce them. Probably should do so before opening a PR. |
One other problem: running, then using cargo clean and running again, doesn't seem to save much time. :( Will have to see what's causing it not to reuse results. Probably better to start with a very simple crate though. :) |
Address ICEs running w/ incremental compilation and building glium Fixes for various ICEs I encountered trying to build glium with incremental compilation enabled. Building glium now works. Of the 4 ICEs, I have test cases for 3 of them -- I didn't isolate a test for the last commit and kind of want to go do other things -- most notably, figuring out why incremental isn't saving much *effort*. But if it seems worthwhile and I can come back and try to narrow down the problem. r? @michaelwoerister Fixes #34991 Fixes #32015
@jonas-schievink writes in #34956:
The text was updated successfully, but these errors were encountered: