<div dir="ltr">Hrm, annoying, but hopefully fixed with r242888. Will keep an eye on it.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 22, 2015 at 3:54 AM Kuba Brecka <<a href="mailto:jbrecka@apple.com">jbrecka@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Same happens on the OS X buildbot: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lab.llvm.org-3A8080_green_job_clang-2Dstage1-2Dcmake-2DRA-2Dincremental-5Fbuild_12400_console&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=wcYd383DIcrPBWglHU8n1SeMw03SJ0qMlcFKpExjQJc&s=ByD4sadKUZ9HiR5SMa02BTWgETBDBf-OARPy_YeLIpI&e=" target="_blank">http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/12400/console</a></div><div><br></div><div>Kuba</div><br><div><blockquote type="cite"></blockquote></div></div><div style="word-wrap:break-word"><div><blockquote type="cite"><div>On 22 Jul 2015, at 12:39, Kim Gräsman <<a href="mailto:kim.grasman@gmail.com" target="_blank">kim.grasman@gmail.com</a>> wrote:</div><br></blockquote></div></div><div style="word-wrap:break-word"><div><blockquote type="cite"><div><div>kimgr added inline comments.<br><br>================<br>Comment at: llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp:106-114<br>@@ -105,2 +105,11 @@<br><br>+  /// Handle to clear this analysis on deletion of values.<br>+  struct DeletionCallbackHandle;<br>+<br>+  /// List of callbacks for globals being tracked by this analysis. Note that<br>+  /// these objects are quite large, but we only anticipate having one per<br>+  /// global tracked by this analysis. There are numerous optimizations we<br>+  /// could perform to the memory utilization here if this becomes a problem.<br>+  std::list<DeletionCallbackHandle> Handles;<br>+<br> public:<br>----------------<br>This doesn't compile on my FreeBSD 10.1 rig;<br><br>```<br>In file included from /home/kimgr/code/llvm-trunk/llvm/lib/Analysis/IPA/GlobalsModRef.cpp:32:<br>/usr/include/c++/v1/list:227:9: error: field has incomplete type '<anonymous>::GlobalsModRef::DeletionCallbackHandle'<br>    _Tp __value_;<br>        ^<br>/usr/include/c++/v1/type_traits:1994:27: note: in instantiation of template class 'std::__1::__list_node<<anonymous>::GlobalsModRef::DeletionCallbackHandle, void *>' requested here<br>                 decltype(__is_constructible_test(declval<_Tp>(), declval<_Args>()...))<br><br>```<br><br>$ clang --version<br>FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512<br>Target: x86_64-unknown-freebsd10.1<br>Thread model: posix<br><br>Not sure which libc++ version came with this system. I've confirmed that moving the full `DeletionCallbackHandle` definition up in place of the forward decl resolves the problem.<br><br>The Clang version is getting old, but this is FreeBSD's latest production release, so it would be nice if it could be supported.<br><br>Thanks!<br><br><br>Repository:<br>  rL LLVM<br><br></div></div></blockquote></div></div><div style="word-wrap:break-word"><div><blockquote type="cite"><div><div><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D11324&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=wcYd383DIcrPBWglHU8n1SeMw03SJ0qMlcFKpExjQJc&s=tfNb5L9hSqCe66PM23B0eOam0ZXWsVX5l-iw-J6ttQw&e=" target="_blank">http://reviews.llvm.org/D11324</a></div></div></blockquote></div></div><div style="word-wrap:break-word"><div><blockquote type="cite"><div><div><br><br><br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br></div></div></blockquote></div></div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>