[Openmp-dev] Building openmp-r350157 with the trunk of clang-cl fails
JR Cary via Openmp-dev
openmp-dev at lists.llvm.org
Sat Dec 29 20:18:53 PST 2018
Building openmp-r350157 with the trunk (r350156) of clang-cl fails.
Configured with
'/winsame/test/contrib-clang_vs2017/cmake-3.10.3-ser/bin/cmake' \
-DCMAKE_INSTALL_PREFIX:PATH=D:/winsame/test/volatile-clang_vs2017/llvm-r350156-ser
\
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_COLOR_MAKEFILE:BOOL=FALSE \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
-DCMAKE_C_COMPILER:FILEPATH='D:/winsame/test/volatile-clang_vs2017/llvm-r350156-ser/bin/clang-cl.exe'
\
-DCMAKE_CXX_COMPILER:FILEPATH='D:/winsame/test/volatile-clang_vs2017/llvm-r350156-ser/bin/clang-cl.exe'
\
-DCMAKE_C_FLAGS:STRING='/DWIN32 /D_WINDOWS /W3' \
-DCMAKE_CXX_FLAGS:STRING='/DWIN32 /D_WINDOWS /W3 /GR /EHsc' \
-G 'NMake Makefiles JOM' \
D:/winsame/cary/llvmall/openmp
Build fails with two errors:
D:\winsame\cary\llvmall\openmp\runtime\src\z_Windows_NT_util.cpp(327,38):
error: call to deleted constructor of 'std::atomic<unsigned int>'^M
th_gtid, flag->get(), *(flag->get())));^M
^~~~~~~~~~~~~~^M
D:\winsame\cary\llvmall\openmp\runtime\src\z_Windows_NT_util.cpp(435,62):
error: call to deleted constructor of 'std::atomic<unsigned int>'^M
gtid, target_gtid, flag->get(), old_spin,
*(flag->get())));^M
^~~~~~~~~~~~~~^M
any suggestions much appreciated.
......John Cary
More information about the Openmp-dev
mailing list