February 28, 2015, 2:40am
I have upgraded to the 2015-02-26 build and my build seems to be borked:
➜ rusti git:(master) ✗ rustc --version
rustc 1.0.0-nightly (b47aebe3f 2015-02-26) (built 2015-02-26)
➜ rusti git:(master) ✗ cargo run
rusti=> let xs: [i32; 5] = [1, 2, 3, 4, 5];
<anon>:13:5: 13:7 warning: unused variable: `xs`, #[warn(unused_variables)] on by default
<anon>:13 let xs: [i32; 5] = [1, 2, 3, 4, 5];
LLVM ERROR: Program used external function '___morestack_addr' which could not be resolved!
An unknown error occurred
Is anyone else facing this ?
February 28, 2015, 4:10am
I haven't seen it personally. What platform are you on?
February 28, 2015, 4:56am
added to LLVM recently to support the large code model. We may be missing some runtime support.
February 28, 2015, 5:24am
If that is the case, what needs to be installed on MacOS ?
February 28, 2015, 8:35pm
I'm not sure what 'rusti' is but I suspect it is jitting code that requires this symbol. If that's the case then probably what needs to happen is somebody needs to write this function and add it to rust's morestack.a library.