qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QEMU compile error on macOS


From: Brett Dong
Subject: QEMU compile error on macOS
Date: Sat, 1 May 2021 22:33:45 -0400

Hi all,

I downloaded QEMU 6.0.0 source code and tried to compile but got the following error:

FAILED: libcommon.fa.p/disas_arm-a64.cc.o 
clang++ -Ilibcommon.fa.p -I. -I.. -I../capstone/include/capstone -I../dtc/libfdt -I../slirp -I../slirp/src -Iqapi -Itrace -Iui -Iui/shader -I/opt/homebrew/Cellar/pixman/0.40.0/include/pixman-1 -I/opt/homebrew/Cellar/libpng/1.6.37/include/libpng16 -I/opt/homebrew/Cellar/jpeg/9d/include -I/opt/homebrew/Cellar/gnutls/3.6.15/include -I/opt/homebrew/Cellar/nettle/3.7.2/include -I/opt/homebrew/Cellar/libtasn1/4.16.0_1/include -I/opt/homebrew/Cellar/libidn2/2.3.0/include -I/opt/homebrew/Cellar/p11-kit/0.23.22/include/p11-kit-1 -I/opt/homebrew/Cellar/libffi/3.3_3/include -I/opt/homebrew/Cellar/glib/2.68.1/include -I/opt/homebrew/Cellar/glib/2.68.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.68.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre/8.44/include -I/opt/homebrew/Cellar/glib/2.68.1/include/gio-unix-2.0 -I/opt/homebrew/Cellar/zstd/1.4.9_1/include -I/opt/homebrew/Cellar/libusb/1.0.24/include/libusb-1.0 -I/opt/homebrew/Cellar/usbredir/0.8.0/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -std=gnu++11 -O2 -g -iquote . -iquote /Users/brett/Downloads/qemu-6.0.0 -iquote /Users/brett/Downloads/qemu-6.0.0/include -iquote /Users/brett/Downloads/qemu-6.0.0/disas/libvixl -iquote /Users/brett/Downloads/qemu-6.0.0/tcg/aarch64 -iquote /Users/brett/Downloads/qemu-6.0.0/accel/tcg -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DOS_OBJECT_USE_OBJC=0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wundef -Wwrite-strings -fno-strict-aliasing -fno-common -fwrapv -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -Wno-psabi -fstack-protector-strong -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -DSTRUCT_IOVEC_DEFINED -MD -MQ libcommon.fa.p/disas_arm-a64.cc.o -MF libcommon.fa.p/disas_arm-a64.cc.o.d -o libcommon.fa.p/disas_arm-a64.cc.o -c ../disas/arm-a64.cc
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:31:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/utils.h:31:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:308:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:309:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:417:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:31:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/utils.h:31:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:308:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:309:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:418:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:31:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/utils.h:31:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:308:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/math.h:310:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:31:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/utils.h:31:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:309:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:668:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/typeinfo:60:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:83:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:671:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:93:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:205:
../version:1:1: error: expected unqualified-id
6.0.0
^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:107:48: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
size_t  mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
                                                ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:109:6: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
            mbstate_t * __restrict);
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:110:19: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
int     mbsinit(const mbstate_t *);
                      ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:112:6: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
            mbstate_t * __restrict);
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:123:44: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
size_t  wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
                                            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:139:6: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
            mbstate_t * __restrict);
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:196:21: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
            size_t, mbstate_t * __restrict);
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/wchar.h:119:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:204:21: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
            size_t, mbstate_t * __restrict);
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:189:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t>    streampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:190:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t>    wstreampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:195:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t>    u16streampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
In file included from ../disas/arm-a64.cc:25:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/disasm-a64.h:33:
In file included from /Users/brett/Downloads/qemu-6.0.0/disas/libvixl/vixl/a64/decoder-a64.h:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:185:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:672:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:206:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:14:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iosfwd:196:14: error: unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
typedef fpos<mbstate_t>    u32streampos;
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/arm/_types.h:55:3: note: '__mbstate_t' declared here
} __mbstate_t;
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped: subcommand failed.
make: *** [run-ninja] Error 1

My configure command was “./configure —enable-cocoa —target-list=aarch64-softmmu”. My system version is macOS 11.3 and compiler version is bundled “Apple clang version 12.0.5 (clang-1205.0.22.9)”.

Has anyone encountered the same issue?

Thanks,
Brett Dong

reply via email to

[Prev in Thread] Current Thread [Next in Thread]