Looks like LLVM and clang are out-of-sync. Using the script as Hans said worked for me: test-release.sh -release 4.0.0 -rc 1 -triple x86_64-apple-darwin (Triple is likely gonna be different for you).
— Mehdi > On Jan 18, 2017, at 12:28 PM, Andrew Kelley via cfe-dev > <cfe-...@lists.llvm.org> wrote: > > I tried to compile cfe 4.0.0-rc1 using llvm 4.0.0-rc1 and got this: > > [ 63%] Building CXX object > lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReader.cpp.o > /home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp: In lambda > function: > /home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp:1282:63: error: > invalid use of incomplete type ‘class llvm::Error’ > if (llvm::zlib::uncompress(Blob, Uncompressed, Record[0]) != > ^ > In file included from > /home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp:73:0: > /home/andy/local/include/llvm/Support/Compression.h:21:7: note: forward > declaration of ‘class llvm::Error’ > class Error; > ^ > /home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp:1283:11: error: > ‘StatusOK’ is not a member of ‘llvm::zlib’ > llvm::zlib::StatusOK) { > ^ > lib/Serialization/CMakeFiles/clangSerialization.dir/build.make:86: recipe for > target 'lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReader.cpp.o' > failed > > > I added to AstReader.cpp: > #include "llvm/Support/Error.h" > > But there's still the other error. > > On Wed, Jan 18, 2017 at 10:45 AM, Hans Wennborg via llvm-dev > <llvm-...@lists.llvm.org <mailto:llvm-...@lists.llvm.org>> wrote: > Dear testers, > > 4.0.0-rc1 was just tagged from the branch, with r292377. > > There are still open merge requests and bugs, but I'd like to get the > testing started to see what issues come up. > > Please build, test, and upload binaries to the sftp. Let me know how > it goes. I'll upload source, docs, and your binaries to the web site > once their ready. > > Thanks, > Hans > _______________________________________________ > LLVM Developers mailing list > llvm-...@lists.llvm.org <mailto:llvm-...@lists.llvm.org> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev> > > _______________________________________________ > cfe-dev mailing list > cfe-...@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev