lowks
February 28, 2015, 2:40am
1
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
Running `target/rusti`
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 ?
huon
February 28, 2015, 4:10am
2
I haven't seen it personally. What platform are you on?
brson
February 28, 2015, 4:56am
3
__morestack_addr
was added to LLVM recently to support the large code model. We may be missing some runtime support.
lowks
February 28, 2015, 5:24am
5
If that is the case, what needs to be installed on MacOS ?
brson
February 28, 2015, 8:35pm
6
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.