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

Rustc fails to run on Mac OS 11.7.7 (20G1345) #227

Closed
isaac-asdf opened this issue Jun 27, 2024 · 3 comments
Closed

Rustc fails to run on Mac OS 11.7.7 (20G1345) #227

isaac-asdf opened this issue Jun 27, 2024 · 3 comments

Comments

@isaac-asdf
Copy link

I followed the install instructions from the Rust on ESP book, using espup and I created a new repo from the esp-template. When I try to cargo check the process errors out. It seems like an OS version issue. Is it possible to install an older version of the Rust fork through espup? I had been able to run this same process ~6months ago, but after updating with espup update it no longer works.

% cargo check
error: process didn't exit successfully: `/Users/me/.rustup/toolchains/esp/bin/rustc -vV` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld: Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
  Referenced from: /Users/me/.rustup/toolchains/esp/bin/../lib/librustc_driver-c61a62fc4508abaa.dylib (which was built for Mac OS X 12.0)
  Expected in: /usr/lib/libc++.1.dylib
@MabezDev
Copy link
Member

Could you try the latest toolchain?

What version of macos are you running?

@isaac-asdf
Copy link
Author

It seems this is still an issue. I ran espup --update and then cargo check and got the same error. I'm on macos 11.7.10

@MabezDev
Copy link
Member

macos 11 is quite old and no longer maintained according to https://en.wikipedia.org/wiki/MacOS. I suggest updating your system as we'll likely be updating our builder soon too.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants