-
Notifications
You must be signed in to change notification settings - Fork 356
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
Fixes building under MacOS Big Sur and Xcode 12 #192
Conversation
@vitorpy awesome work. 👍 I had to disable code signing to make it run in terminal see #191
🕙[ 07:41:48 ] ❯ sudo ./install_centos.sh
Password:
vmx_set_ctlreg: cap_field: 2 bit: 20 unspecified don't care
vmx_init: processor does not support desired secondary processor-based controls
Unable to create VM (22) Did you experienced something similar? Or does anyone have an idea how to fix this with macOS 11.0 Beta (20A5323l) and Xcode 12.0 beta 3 (12A8169g) |
@@ -121,6 +121,8 @@ static struct blockif_sig_elem *blockif_bse_head; | |||
|
|||
#pragma clang diagnostic pop | |||
|
|||
#if !defined(__MAC_10_16) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be __MAC_OS_X_VERSION_MAX_ALLOWED < 101600
@alexanderniebuhr I am also experiencing the same issue
|
Based on machyve#192 but with fixes to additional issues I've encountered. Tested on Big Sur 11.0 Beta 10 with Xcode 12.1 and Xcode 12.2 Beta 4.
As seen in machyve#192 I was having similar issues with `vmx_set_ctlreg: cap_field: 2 bit: 20 unspecified don't care`. I followed the example of machyve#174 and disabled the bits that would show up in the errors.
* Support Big Sur Based on #192 but with fixes to additional issues I've encountered. Tested on Big Sur 11.0 Beta 10 with Xcode 12.1 and Xcode 12.2 Beta 4. * Remove VMX flag fixes, move ARCHS from pbxproj to xcconfig
As seen in machyve#192 I was having similar issues with `vmx_set_ctlreg: cap_field: 2 bit: 20 unspecified don't care`. I followed the example of machyve#174 and disabled the bits that would show up in the errors.
This PR fixes building under MacOS Big Sur and Xcode 12.