TELunus

LLVM ninja build attempt

Nov 6th, 2021 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Z:\Projects\llvm-project>ninja -C build
  2. ninja: warning: bad deps log signature or version; starting over
  3. ninja: Entering directory `build'
  4. [28/5864] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.obj
  5. FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.obj
  6. C:\PROGRA~1\MINGW-~1\X86_64~1.0-W\mingw64\bin\G__~1.EXE -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IZ:/Projects/llvm-project/build/lib/Support -IZ:/Projects/llvm-project/llvm/lib/Support -IZ:/Projects/llvm-project/build/include -IZ:/Projects/llvm-project/llvm/include -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -ffunction-sections -fdata-sections  -O2 -DNDEBUG -UNDEBUG -std=c++14  -fno-exceptions -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.obj -MF lib\Support\CMakeFiles\LLVMSupport.dir\CodeGenCoverage.cpp.obj.d -o lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.obj -c Z:/Projects/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp
  7. In file included from Z:/Projects/llvm-project/llvm/lib/Support/CodeGenCoverage.cpp:17:
  8. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:29:12: error: 'recursive_mutex' in namespace 'std' does not name a type
  9.        std::recursive_mutex impl;
  10.             ^~~~~~~~~~~~~~~
  11. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:29:7: note: 'std::recursive_mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  12. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:19:1:
  13. +#include <mutex>
  14.  
  15. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:29:7:
  16.        std::recursive_mutex impl;
  17.        ^~~
  18. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h: In member function 'bool llvm::sys::SmartMutex<mt_only>::lock()':
  19. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:35:11: error: 'impl' was not declared in this scope
  20.            impl.lock();
  21.            ^~~~
  22. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:35:11: note: suggested alternative: 'fmal'
  23.            impl.lock();
  24.            ^~~~
  25.            fmal
  26. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h: In member function 'bool llvm::sys::SmartMutex<mt_only>::unlock()':
  27. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:48:11: error: 'impl' was not declared in this scope
  28.            impl.unlock();
  29.            ^~~~
  30. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:48:11: note: suggested alternative: 'fmal'
  31.            impl.unlock();
  32.            ^~~~
  33.            fmal
  34. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h: In member function 'bool llvm::sys::SmartMutex<mt_only>::try_lock()':
  35. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:62:18: error: 'impl' was not declared in this scope
  36.            return impl.try_lock();
  37.                   ^~~~
  38. Z:/Projects/llvm-project/llvm/include/llvm/Support/Mutex.h:62:18: note: suggested alternative: 'fmal'
  39.            return impl.try_lock();
  40.                   ^~~~
  41.                   fmal
  42. [40/5864] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.obj
  43. FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.obj
  44. C:\PROGRA~1\MINGW-~1\X86_64~1.0-W\mingw64\bin\G__~1.EXE -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IZ:/Projects/llvm-project/build/lib/Support -IZ:/Projects/llvm-project/llvm/lib/Support -IZ:/Projects/llvm-project/build/include -IZ:/Projects/llvm-project/llvm/include -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -ffunction-sections -fdata-sections  -O2 -DNDEBUG -UNDEBUG -std=c++14  -fno-exceptions -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.obj -MF lib\Support\CMakeFiles\LLVMSupport.dir\CrashRecoveryContext.cpp.obj.d -o lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.obj -c Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp
  45. In file included from Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:16:
  46. Z:/Projects/llvm-project/llvm/include/llvm/Support/thread.h: In static member function 'static unsigned int llvm::thread::hardware_concurrency()':
  47. Z:/Projects/llvm-project/llvm/include/llvm/Support/thread.h:109:17: error: 'std::thread' has not been declared
  48.      return std::thread::hardware_concurrency();
  49.                  ^~~~~~
  50. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp: At global scope:
  51. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:27: error: 'mutex' is not a member of 'std'
  52.  static ManagedStatic<std::mutex> gCrashRecoveryContextMutex;
  53.                            ^~~~~
  54. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:27: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  55. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:19:1:
  56. +#include <mutex>
  57.  
  58. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:27:
  59.  static ManagedStatic<std::mutex> gCrashRecoveryContextMutex;
  60.                            ^~~~~
  61. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:27: error: 'mutex' is not a member of 'std'
  62. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:27: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  63. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:32: error: template argument 1 is invalid
  64.  static ManagedStatic<std::mutex> gCrashRecoveryContextMutex;
  65.                                 ^
  66. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:32: error: template argument 2 is invalid
  67. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:88:32: error: template argument 3 is invalid
  68. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp: In static member function 'static void llvm::CrashRecoveryContext::Enable()':
  69. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:24: error: 'mutex' is not a member of 'std'
  70.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  71.                         ^~~~~
  72. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  73. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:24: error: 'mutex' is not a member of 'std'
  74. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  75. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:29: error: template argument 1 is invalid
  76.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  77.                              ^
  78. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:34: error: invalid type argument of unary '*' (have 'int')
  79.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  80.                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  81. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:140:31: warning: unused variable 'L' [-Wunused-variable]
  82.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  83.                                ^
  84. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp: In static member function 'static void llvm::CrashRecoveryContext::Disable()':
  85. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:24: error: 'mutex' is not a member of 'std'
  86.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  87.                         ^~~~~
  88. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  89. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:24: error: 'mutex' is not a member of 'std'
  90. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:24: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
  91. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:29: error: template argument 1 is invalid
  92.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  93.                              ^
  94. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:34: error: invalid type argument of unary '*' (have 'int')
  95.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  96.                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  97. Z:/Projects/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:149:31: warning: unused variable 'L' [-Wunused-variable]
  98.    std::lock_guard<std::mutex> L(*gCrashRecoveryContextMutex);
  99.                                ^
  100. [41/5864] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.obj
  101. ninja: build stopped: subcommand failed.
Add Comment
Please, Sign In to add comment