[1/4267] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.obj [2/4267] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.obj [3/4267] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.obj [4/4267] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.obj [5/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/xxhash.cpp.obj [6/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.obj [7/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TrigramIndex.cpp.obj [8/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.obj [9/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TimeProfiler.cpp.obj FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/TimeProfiler.cpp.obj C:\MinGW\bin\c++.exe -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -IC:/llvm-project/llvm/lib/Support -Iinclude -IC:/llvm-project/llvm/include -isystem "C:/Program Files (x86)/GnuWin32/include" -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -g -std=c++14 -fno-exceptions -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/TimeProfiler.cpp.obj -MF lib\Support\CMakeFiles\LLVMSupport.dir\TimeProfiler.cpp.obj.d -o lib/Support/CMakeFiles/LLVMSupport.dir/TimeProfiler.cpp.obj -c C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:31:13: error: 'mutex' in namespace 'std' does not name a type static std::mutex Mu; ^~~~~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp: In member function 'void llvm::TimeTraceProfiler::write(llvm::raw_pwrite_stream&)': C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:128:21: error: 'mutex' is not a member of 'std' std::lock_guard Lock(Mu); ^~~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:128:21: error: 'mutex' is not a member of 'std' C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:128:31: error: template argument 1 is invalid std::lock_guard Lock(Mu); ^ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:128:38: error: 'Mu' was not declared in this scope std::lock_guard Lock(Mu); ^~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:128:33: warning: unused variable 'Lock' [-Wunused-variable] std::lock_guard Lock(Mu); ^~~~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp: In function 'void llvm::timeTraceProfilerCleanup()': C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:275:19: error: 'mutex' is not a member of 'std' std::lock_guard Lock(Mu); ^~~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:275:19: error: 'mutex' is not a member of 'std' C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:275:29: error: template argument 1 is invalid std::lock_guard Lock(Mu); ^ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:275:36: error: 'Mu' was not declared in this scope std::lock_guard Lock(Mu); ^~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:275:31: warning: unused variable 'Lock' [-Wunused-variable] std::lock_guard Lock(Mu); ^~~~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp: In function 'void llvm::timeTraceProfilerFinishThread()': C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:284:19: error: 'mutex' is not a member of 'std' std::lock_guard Lock(Mu); ^~~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:284:19: error: 'mutex' is not a member of 'std' C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:284:29: error: template argument 1 is invalid std::lock_guard Lock(Mu); ^ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:284:36: error: 'Mu' was not declared in this scope std::lock_guard Lock(Mu); ^~ C:/llvm-project/llvm/lib/Support/TimeProfiler.cpp:284:31: warning: unused variable 'Lock' [-Wunused-variable] std::lock_guard Lock(Mu); ^~~~ [10/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.obj FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.obj C:\MinGW\bin\c++.exe -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -IC:/llvm-project/llvm/lib/Support -Iinclude -IC:/llvm-project/llvm/include -isystem "C:/Program Files (x86)/GnuWin32/include" -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -g -std=c++14 -fno-exceptions -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.obj -MF lib\Support\CMakeFiles\LLVMSupport.dir\Timer.cpp.obj.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.obj -c C:/llvm-project/llvm/lib/Support/Timer.cpp In file included from C:/llvm-project/llvm/lib/Support/Timer.cpp:24:0: C:/llvm-project/llvm/include/llvm/Support/Mutex.h:29:12: error: 'recursive_mutex' in namespace 'std' does not name a type std::recursive_mutex impl; ^~~~~~~~~~~~~~~ C:/llvm-project/llvm/include/llvm/Support/Mutex.h: In member function 'bool llvm::sys::SmartMutex::lock()': C:/llvm-project/llvm/include/llvm/Support/Mutex.h:35:11: error: 'impl' was not declared in this scope impl.lock(); ^~~~ C:/llvm-project/llvm/include/llvm/Support/Mutex.h: In member function 'bool llvm::sys::SmartMutex::unlock()': C:/llvm-project/llvm/include/llvm/Support/Mutex.h:48:11: error: 'impl' was not declared in this scope impl.unlock(); ^~~~ C:/llvm-project/llvm/include/llvm/Support/Mutex.h: In member function 'bool llvm::sys::SmartMutex::try_lock()': C:/llvm-project/llvm/include/llvm/Support/Mutex.h:62:18: error: 'impl' was not declared in this scope return impl.try_lock(); ^~~~ [11/4267] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.obj ninja: build stopped: subcommand failed.