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

Incompatibility with MacOS M1 #283

Open
giorgosLiako opened this issue Mar 15, 2021 · 7 comments
Open

Incompatibility with MacOS M1 #283

giorgosLiako opened this issue Mar 15, 2021 · 7 comments

Comments

@giorgosLiako
Copy link
Contributor

I noticed an incompatibility with the new MACOS that has ARM chip .
After the configure when you type make in gccrs-build directory you get the following error :

*** Configuration aarch64-apple-darwin20.3.0 not supported
make[1]: *** [configure-gcc] Error 1
make: *** [all] Error 2

@github-actions
Copy link

Thanks for your contribution fellow Rustacean

@bjorn3
Copy link

bjorn3 commented Mar 15, 2021

Based on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168 it seems that GCC doesn't support M1 macs at all yet.

@giorgosLiako
Copy link
Contributor Author

I have read that , but I think it is good to keep this issue open until it is suppported

@tschwinge
Copy link
Member

ACK.

This configuration first has to be supported in GCC upstream, and then GCC upstream has to be merged into the GCC Rust fork (see #247, which I have offered to do every once in a while), and then it "should just work", given that almost all the work here doesn't need adaption for specific target configuration details. (With the exception of some Rust-specific target hooks: rust_add_target_info calls, etc.).

@philberty
Copy link
Member

This is currently being addressed by this project https://github.com/iains/gcc-darwin-arm64

@tschwinge
Copy link
Member

See also http://mid.mail-archive.com/[email protected] "Announcement : An AArch64 (Arm64) Darwin port is planned for GCC12".

@philberty
Copy link
Member

this link seems to work for me https://www.mail-archive.com/[email protected]/msg96711.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants