Osman Zakir via llvm-dev
2019-Oct-30 12:25 UTC
[llvm-dev] Recent LLVM Build Attempt -- obj.ClangAST.vcxproj Failed to Build
I configured with this command: " cmake ../llvm -G"Visual Studio 16 2019" -A Win32 -Thost=x64 -DLLVM_ENABLE_EH=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;libcxx;libcxxabi" -DCMAKE_CXX_FLAGS="/permissive- /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" -DCMAKE_CXX_STANDARD=17 " and when building the target ALL_BUILD.vcxproj I redirected the output to a file. I'm attaching that file to this message. Name of the file is build.log. I'm attaching CMakeCache.txt and CMakeOutput.log for reference. Any help is appreciated. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191030/254e1d7f/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: build.log Type: application/octet-stream Size: 152549 bytes Desc: build.log URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191030/254e1d7f/attachment-0002.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: CMakeOutput.log Type: application/octet-stream Size: 38868 bytes Desc: CMakeOutput.log URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191030/254e1d7f/attachment-0003.obj> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: CMakeCache.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191030/254e1d7f/attachment-0001.txt>
Reid Kleckner via llvm-dev
2019-Oct-30 17:52 UTC
[llvm-dev] Recent LLVM Build Attempt -- obj.ClangAST.vcxproj Failed to Build
I see two interesting things in your configuration: - You are passing -DCMAKE_CXX_STANDARD=17. Is there a reason for that? Using fewer options is generally more likely to result in a successful build. - You are using MSVC build 14.23.28105. This is newer than what I am using and our bots are using. I will have to try upgrading myself. This is the error in question isolated: C:\llvm-project\clang\lib\AST\Interp\ByteCodeStmtGen.cpp(239,1): error C2872: 'Optional': ambiguous symbol [C:\llvm-project\build\tools\clang\lib\AST\obj.clangAST.vcxproj] C:\llvm-project\clang\lib\AST\Interp\ByteCodeStmtGen.cpp(22,57): message : could be 'Optional = llvm::Optional<T>' [C:\llvm-project\build\tools\clang\lib\AST\obj.clangAST.vcxproj] This ByteCodeStmtGen.cpp file is relatively new, so that could be interesting. On Wed, Oct 30, 2019 at 10:17 AM Osman Zakir via llvm-dev < llvm-dev at lists.llvm.org> wrote:> I configured with this command: > " > cmake ../llvm -G"Visual Studio 16 2019" -A Win32 -Thost=x64 > -DLLVM_ENABLE_EH=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT > -DLLVM_ENABLE_RTTI=ON > -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;libcxx;libcxxabi" > -DCMAKE_CXX_FLAGS="/permissive- /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" > -DCMAKE_CXX_STANDARD=17 > " > and when building the target ALL_BUILD.vcxproj I redirected the output to > a file. I'm attaching that file to this message. Name of the file is > build.log. I'm attaching CMakeCache.txt and CMakeOutput.log for reference. > > > Any help is appreciated. Thanks in advance. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191030/0e2c75f6/attachment.html>
Osman Zakir via llvm-dev
2019-Oct-31 13:43 UTC
[llvm-dev] Recent LLVM Build Attempt -- obj.ClangAST.vcxproj Failed to Build
I hope I'm not being too presumptuous or anything when I say this: could you guys please review the obj.ClangAST.vcxproj project and try to fix the ambiguity error? Reid asked me why I'm using C++17. I just want to use the latest released standard. Most if it still compiles anyway. So I'll stick with it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191031/c2234826/attachment.html>
Maybe Matching Threads
- Recent LLVM Build Attempt -- obj.ClangAST.vcxproj Failed to Build
- can't build/run after adding lib to Fibonacci example, even reverting the complete llvm tree does not help
- How to Switch to Static Runtime and Enable C++ Exceptions?
- [llvm-3.8-ec3] cmake-2.8.12 and gcc-4.6: Host compiler appears to require libatomic, but cannot find it.
- Problems trying to build LLVM