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 upCompiler panic on building Redox #32783
Comments
This comment has been minimized.
This comment has been minimized.
|
We are getting this in Redox travis too: https://travis-ci.org/redox-os/redox/builds/121316042 It looks like it affects OS X and FreeBSD as well as Linux https://github.com/redox-os/redox/issues/606#issuecomment-206649111 |
This comment has been minimized.
This comment has been minimized.
|
Older version of rustc doesn't have this error:
|
This comment has been minimized.
This comment has been minimized.
johalun
commented
Apr 7, 2016
|
Got problems here as well.
|
This comment has been minimized.
This comment has been minimized.
johalun
commented
Apr 7, 2016
make all in redox succeeds
make all in redox fails |
arielb1
added
I-ICE
I-nominated
regression-from-stable-to-nightly
labels
Apr 7, 2016
This comment has been minimized.
This comment has been minimized.
|
Same here.
Current redox commit is |
This comment has been minimized.
This comment has been minimized.
joeabbey
commented
Apr 9, 2016
|
FWIW, also seeing the above reported issue
|
ambaxter
referenced this issue
Apr 12, 2016
Closed
Compiler panics on latest nightly when building Redox on OS X #32913
This comment has been minimized.
This comment has been minimized.
|
What is the simplest way for me to reproduce this problem? Does anyone have a narrowed test case of any kind? The instructions at https://github.com/redox-os/redox seem complex (run some script, run qemu etc) -- it'd be great if there were some rust file I could build without all those steps. Any tips? |
This comment has been minimized.
This comment has been minimized.
|
I'm sure, you can just clone Redox repo (git clone git@github.com:redox-os/redox.git --origin upstream --recursive; git submodule update --recursive --init), install nasm and try to build project (make all). |
This comment has been minimized.
This comment has been minimized.
|
Based on @yohanesu75's comment, I examined the commits between the two nightlies, and the most suspicious was #32742. I've built a version of rustc based on e8ab71f (right before the merge), compiled Redox succesfully, built another version based on 953c3b5 (merge commit of #32742), with which I was able to reproduce the ICE. cc @eddyb |
This comment has been minimized.
This comment has been minimized.
|
Very interesting @pmarcelll. I am working to find the code in libstd that triggers it |
This comment has been minimized.
This comment has been minimized.
|
I found it, it is alloc_system.rs Trying to find a fix, the file can be seen here: https://github.com/redox-os/redox/blob/master/libstd/src/alloc_system.rs |
This comment has been minimized.
This comment has been minimized.
|
@pmarcelll I see what the problem is. Writing the test is going to be the tricky part, I believe I need two |
Viknet commentedApr 6, 2016
I tried to build current Redox OS HEAD with last available rustc-nightly and got an ICE.
Meta
rustc --version --verbose:Backtrace: