In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_default_handlers.cpp:11: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/exception:83: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxx/include/cstdlib:85: /usr/src/gnu/lib/libcxxabi/../../../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/lib/libcxxabi/../../../gnu/llvm/libcxx/include/stdlib.h:143:12: error: no member named 'ldiv' in the global namespace return ::ldiv(__x, __y); ~~^ /usr/src/gnu/lib/libcxxabi/../../../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/lib/libcxxabi/../../../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/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_default_handlers.cpp:13: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/abort_message.h:12: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/include/cxxabi.h:86:75: error: unknown type name 'uint64_t' extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD int __cxa_guard_acquire(uint64_t *); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/include/cxxabi.h:87:76: error: unknown type name 'uint64_t' extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD void __cxa_guard_release(uint64_t *); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/include/cxxabi.h:88:74: error: unknown type name 'uint64_t' extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD void __cxa_guard_abort(uint64_t *); ^ In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_default_handlers.cpp:16: In file included from /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_exception.h:18: /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:123:3: error: unknown type name 'uint64_t' uint64_t exception_class; ^ /usr/src/gnu/lib/libcxxabi/../../../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/lib/libcxxabi/../../../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/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:147:6: error: unknown type name 'uint64_t' uint64_t exceptionClass, ^ /usr/src/gnu/lib/libcxxabi/../../../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/lib/libcxxabi/../../../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); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:219:27: error: unknown type name 'uintptr_t' uintptr_t new_value); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:220:8: error: unknown type name 'uintptr_t' extern uintptr_t _Unwind_GetIP(struct _Unwind_Context *context); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:221:53: error: unknown type name 'uintptr_t' extern void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t new_value); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:264:8: error: unknown type name 'uintptr_t' extern uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *context); ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:265:8: error: unknown type name 'uintptr_t' extern uintptr_t ^ /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/include/unwind.h:308:8: error: unknown type name 'uintptr_t' extern uintptr_t _Unwind_GetCFA(struct _Unwind_Context *); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.