In file included from /usr/src/gnu/llvm/libunwind/src/libunwind.cpp:12: /usr/src/gnu/llvm/libunwind/include/libunwind.h:71:3: error: unknown type name 'uint64_t' uint64_t data[_LIBUNWIND_CONTEXT_SIZE]; ^ /usr/src/gnu/llvm/libunwind/include/libunwind.h:76:3: error: unknown type name 'uint64_t' uint64_t data[_LIBUNWIND_CURSOR_SIZE]; ^ /usr/src/gnu/llvm/libunwind/include/libunwind.h:83:9: error: unknown type name 'uintptr_t' typedef uintptr_t unw_word_t; ^ /usr/src/gnu/llvm/libunwind/include/libunwind.h:98:3: error: unknown type name 'uint32_t' uint32_t format; /* compact unwind encoding, or zero if none */ ^ /usr/src/gnu/llvm/libunwind/include/libunwind.h:99:3: error: unknown type name 'uint32_t' uint32_t unwind_info_size; /* size of DWARF unwind info, or zero if none */ ^ /usr/src/gnu/llvm/libunwind/include/libunwind.h:128:54: error: unknown type name 'size_t'; did you mean '__size_t'? extern int unw_get_proc_name(unw_cursor_t *, char *, size_t, unw_word_t *) LIBUNWIND_AVAIL; ^~~~~~ __size_t /usr/include/machine/_types.h:123:24: note: '__size_t' declared here typedef unsigned long __size_t; ^ In file included from /usr/src/gnu/llvm/libunwind/src/libunwind.cpp:14: In file included from /usr/src/gnu/llvm/libunwind/src/libunwind_ext.h:15: In file included from /usr/src/gnu/llvm/libunwind/src/config.h:19: /usr/src/gnu/llvm/libcxx/include/stdlib.h:142:34: error: unknown type name 'ldiv_t' inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT { ^ /usr/src/gnu/llvm/libcxx/include/stdlib.h:143:12: error: no member named 'ldiv' in the global namespace return ::ldiv(__x, __y); ~~^ /usr/src/gnu/llvm/libcxx/include/stdlib.h:146:34: error: unknown type name 'lldiv_t' inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, ^ /usr/src/gnu/llvm/libcxx/include/stdlib.h:148:12: error: no member named 'lldiv' in the global namespace return ::lldiv(__x, __y); ~~^ In file included from /usr/src/gnu/llvm/libunwind/src/libunwind.cpp:14: In file included from /usr/src/gnu/llvm/libunwind/src/libunwind_ext.h:15: /usr/src/gnu/llvm/libunwind/src/config.h:233:18: error: unknown type name 'size_t'; did you mean '__size_t'? static const size_t count = ^~~~~~ __size_t /usr/include/machine/_types.h:123:24: note: '__size_t' declared here typedef unsigned long __size_t; ^ In file included from /usr/src/gnu/llvm/libunwind/src/libunwind.cpp:14: In file included from /usr/src/gnu/llvm/libunwind/src/libunwind_ext.h:15: /usr/src/gnu/llvm/libunwind/src/config.h:234:27: error: use of undeclared identifier 'uint64_t' (sizeof(T) + sizeof(uint64_t) - 1) / sizeof(uint64_t); ^ /usr/src/gnu/llvm/libunwind/src/config.h:234:51: error: use of undeclared identifier 'uint64_t' (sizeof(T) + sizeof(uint64_t) - 1) / sizeof(uint64_t); ^ In file included from /usr/src/gnu/llvm/libunwind/src/libunwind.cpp:14: In file included from /usr/src/gnu/llvm/libunwind/src/libunwind_ext.h:17: /usr/src/gnu/llvm/libunwind/include/unwind.h:123:3: error: unknown type name 'uint64_t' uint64_t exception_class; ^ /usr/src/gnu/llvm/libunwind/include/unwind.h:129:3: error: unknown type name 'uintptr_t' uintptr_t private_1; // non-zero means forced unwind ^ /usr/src/gnu/llvm/libunwind/include/unwind.h:130:3: error: unknown type name 'uintptr_t' uintptr_t private_2; // holds sp that phase1 found for phase2 to use ^ /usr/src/gnu/llvm/libunwind/include/unwind.h:147:6: error: unknown type name 'uint64_t' uint64_t exceptionClass, ^ /usr/src/gnu/llvm/libunwind/include/unwind.h:153:42: error: unknown type name 'uint64_t' int version, _Unwind_Action actions, uint64_t exceptionClass, ^ /usr/src/gnu/llvm/libunwind/include/unwind.h:217:8: error: unknown type name 'uintptr_t' extern uintptr_t _Unwind_GetGR(struct _Unwind_Context *context, int index); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.