<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=""><div class="">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=" class="">http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/12400/console</a></div><div class=""><br class=""></div><div class="">Kuba</div><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Jul 2015, at 12:39, Kim Gräsman <<a href="mailto:kim.grasman@gmail.com" class="">kim.grasman@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">kimgr added inline comments.<br class=""><br class="">================<br class="">Comment at: llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp:106-114<br class="">@@ -105,2 +105,11 @@<br class=""><br class="">+  /// Handle to clear this analysis on deletion of values.<br class="">+  struct DeletionCallbackHandle;<br class="">+<br class="">+  /// List of callbacks for globals being tracked by this analysis. Note that<br class="">+  /// these objects are quite large, but we only anticipate having one per<br class="">+  /// global tracked by this analysis. There are numerous optimizations we<br class="">+  /// could perform to the memory utilization here if this becomes a problem.<br class="">+  std::list<DeletionCallbackHandle> Handles;<br class="">+<br class=""> public:<br class="">----------------<br class="">This doesn't compile on my FreeBSD 10.1 rig;<br class=""><br class="">```<br class="">In file included from /home/kimgr/code/llvm-trunk/llvm/lib/Analysis/IPA/GlobalsModRef.cpp:32:<br class="">/usr/include/c++/v1/list:227:9: error: field has incomplete type '<anonymous>::GlobalsModRef::DeletionCallbackHandle'<br class="">    _Tp __value_;<br class="">        ^<br class="">/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 class="">                 decltype(__is_constructible_test(declval<_Tp>(), declval<_Args>()...))<br class=""><br class="">```<br class=""><br class="">$ clang --version<br class="">FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512<br class="">Target: x86_64-unknown-freebsd10.1<br class="">Thread model: posix<br class=""><br class="">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 class=""><br class="">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 class=""><br class="">Thanks!<br class=""><br class=""><br class="">Repository:<br class="">  rL LLVM<br class=""><br class=""><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=" class="">http://reviews.llvm.org/D11324</a><br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">llvm-commits mailing list<br class="">llvm-commits@cs.uiuc.edu<br class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br class=""></div></div></blockquote></div><br class=""></body></html>