-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Rustc master (commit 8780d9c) won't compile on OS X Yosemite #17214
Comments
cc me |
See also #17192 which proposes one fix but needs adjustment. |
The detected categorization is memoized in the Session object. The link.rs backend then uses this information when choosing options to add to the `cc` command line arguments (currently it just affects a single option that will cause a hard error in clang in the future). This is meant to be, in part, a more robust version of PR rust-lang#17192. As drive-bys: * fix an english grammar mistake in a comment. * replace the use of `String` with `&str` for the program names corresponding `cc` and `ar`, avoiding unnecessary string copies but more importantly making the code overall look nicer. :) Fix rust-lang#17214. (Addressed review nits from nrc and acrichto.)
Seeing the same problem on Mavericks (10.9.4) |
FWIW, it's possible to work around this by installing gcc and making sure that |
This should be fixed now that PR #17192 has landed. |
Feel free to reopen if this is still an issue though! |
I ran rustup an hour ago:
And I still get:
Possibly the nightly build hasn't got this fix yet? |
It's fixed on master and will be in the next nightly. |
Guess it depends when the nightlies get built. |
This is still breaking atm |
Ah. Right! Thanks. |
I get the same error building the source d/l from https://static.rust-lang.org/dist/rust-nightly.tar.gz |
Use master and it will work fine. |
I tried https://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.pkg , https://static.rust-lang.org/dist/rust-nightly-x86_64-apple-darwin.tar.gz and I tried building from a clone of the repo (I'm not sure the compiling processes completed, they seemed to get stuck) . None worked. Also: |
Try again and wait for it to finish. It takes ~15 minutes for the Rust part (after LLVM is compiled) and won't continuously produce output. Using master rather than the nightlies will work fine. |
I could be wrong, but I think the fix for this issue has now made it to the OSX nightly. |
Fails with
The text was updated successfully, but these errors were encountered: