-
Notifications
You must be signed in to change notification settings - Fork 132
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
macOS Big Sur, during CoreFX 3.1: "EXEC : error : include location '/usr/local/include' is unsafe for cross-compilation" #1794
Comments
I haven't seen anything like this before, and search results for the error point at cross-architecture compilation scenarios, which seems pretty odd to run into on macOS (without doing so very intentionally). My understanding is it's pretty uniformly Can you give some more context about how you're building?
|
@dagood thanks for reply 👍
I've managed to overcome this issue by deleting includes from /usr/local/include from this file: ./artifacts/src/corefx.3009a1fc20d9cb47d117399040d31c23f7b23e02/src/Native/Unix/configure.cmake |
Interesting... somehow, search wasn't able to find it for me with just the error message, but including Once it's fixed in CoreFX (our upstream) we'll get the fix in source-build as part of the next release. Glad you were able to find a workaround for now, though. |
Reopening: I suppose there's no need to close this--it seems like a good idea to keep it open here to track it for anyone hitting it in the future, which is more likely to happen in source-build than CoreFX itself. When Big Sur goes out of beta, this might become higher priority, for example. |
[Triage] MacOS support is being officially added/tracked with #2909 |
Hey, trying to build on macOS and have this error, no clue what to do.
The text was updated successfully, but these errors were encountered: