Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust on mac broken ? #23050

Closed
lowks opened this issue Mar 4, 2015 · 2 comments
Closed

rust on mac broken ? #23050

lowks opened this issue Mar 4, 2015 · 2 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-macos Operating system: macOS

Comments

@lowks
Copy link

lowks commented Mar 4, 2015

I have installed the latest release nightly build:

➜  rusti git:(master) ✗ rustc --version
rustc 1.0.0-nightly (fed12499e 2015-03-03) (built 2015-03-03)

and this is the error I get:

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

To learn more, run the command again with --verbose.

It has been like this since the previously nightly release.

@steveklabnik steveklabnik added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-macos Operating system: macOS labels Mar 5, 2015
@lowks
Copy link
Author

lowks commented Mar 21, 2015

This still seems to be happening with the new nightly release 2015-03-20. Are there any workarounds for this ?

(item)➜  rusti git:(master) ✗ cargo run
   Compiling rusti v0.0.1 (file:///Users/lowks/Projects/src/rustlang/rusti)
     Running `target/debug/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

To learn more, run the command again with --verbose.

@murarth
Copy link
Contributor

murarth commented Jun 11, 2015

This issue has been fixed by #25627. This was confirmed with users of rusti (on murarth/rusti#14).
This issue can now be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-macos Operating system: macOS
Projects
None yet
Development

No branches or pull requests

4 participants