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