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

Monterey: make returns atomic.h error #225

Open
mixxr opened this issue Jun 8, 2022 · 0 comments
Open

Monterey: make returns atomic.h error #225

mixxr opened this issue Jun 8, 2022 · 0 comments

Comments

@mixxr
Copy link

mixxr commented Jun 8, 2022

macOS Monterey/root:xnu-8019.41.5~1/RELEASE_ARM64_T6000 arm64, when installing via brew I get the following error (while docker-machine-driver-xhyve installation works):

$ brew install --HEAD xhyve
==> Cloning https://github.com/machyve/xhyve.git
Updating /Users/xxx/Library/Caches/Homebrew/xhyve--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at dfbe09b Migrate vmm_callout -> OSX libdispatch (#112)
==> make
Last 15 lines from /Users/xxx/Library/Logs/Homebrew/xhyve/01.make:
include/xhyve/support/atomic.h:237:4: note: expanded from macro 'ATOMIC_LOAD'
: "=a" (res), /* 0 /
^
include/xhyve/support/atomic.h:267:1: error: invalid output constraint '=a' in asm
ATOMIC_LOAD(long, "cmpxchgq %0,%1");
^
include/xhyve/support/atomic.h:237:4: note: expanded from macro 'ATOMIC_LOAD'
: "=a" (res), /
0 */
^
18 errors generated.
make: *** [build/vmm/x86.o] Error 1
18 errors generated.
make: *** [build/vmm/vmm_instruction_emul.o] Error 1
18 errors generated.
make: *** [build/vmm/vmm.o] Error 1

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

No branches or pull requests

1 participant