<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Are you talking about the prettyprint stack dump?<div class=""><br class=""></div><div class="">I think that may have gone away after the recent update to the newer llvm/clang. I think there is a bug to look into what happened here, but no one has had the time to look into it.</div><div class=""><br class=""></div><div class="">Michael</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 26, 2016, at 8:53 PM, rintaro ishizaki via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div dir="ltr" class=""><span style="font-family: sans-serif; font-size: 16px; text-align: justify;" class="">&gt; set_target_properties(${swift_<wbr class="">binaries} properties ENABLE_EXPORTS 1) &nbsp;?</span><div class=""><span style="font-family: sans-serif; font-size: 16px; text-align: justify;" class="">&gt; I don't know if it's this simple though.</span></div><div class=""><span style="font-family: sans-serif; font-size: 16px; text-align: justify;" class=""><br class=""></span></div><div style="text-align:justify" class="">Yeah, that should work as well.</div><div style="text-align:justify" class="">But, I'm not sure which tools should be `ENABLE_EXPORT`ed.</div><div style="text-align:justify" class=""><br class=""></div><div style="text-align:justify" class=""><br class=""></div></div></div><div class="gmail_extra"><div class="gmail_quote">2016-10-27 3:04 GMT+09:00 Flamedoge <span dir="ltr" class="">&lt;<a href="mailto:code.kchoi@gmail.com" target="_blank" class="">code.kchoi@gmail.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="">&gt;&nbsp;<span style="font-family: sans-serif; font-size: 16px; text-align: justify;" class="">Do not add flags to export symbols from executables without the&nbsp;</span><span class="gmail-m_-1336714421523120201gmail-target" id="gmail-m_-1336714421523120201gmail-index-0-prop_tgt:ENABLE_EXPORTS" style="font-family: sans-serif; font-size: 16px; text-align: justify;"></span><a class="gmail-m_-1336714421523120201gmail-reference gmail-m_-1336714421523120201gmail-internal" href="https://cmake.org/cmake/help/v3.4/prop_tgt/ENABLE_EXPORTS.html#prop_tgt:ENABLE_EXPORTS" title="ENABLE_EXPORTS" style="color:rgb(53,95,124);text-decoration:none;font-family:sans-serif;font-size:16px;text-align:justify" target="_blank"><code class="gmail-m_-1336714421523120201gmail-cmake-prop_tgt gmail-m_-1336714421523120201gmail-xref gmail-m_-1336714421523120201gmail-cmake gmail-m_-1336714421523120201gmail-literal gmail-m_-1336714421523120201gmail-docutils" style="background-color:transparent;padding:0px 1px;font-size:0.95em;font-weight:bold"><span class="gmail-m_-1336714421523120201gmail-pre">ENABLE_EXPORTS</span></code></a><span style="font-family: sans-serif; font-size: 16px; text-align: justify;" class="">&nbsp;target property.<br class=""><br class="">set_target_properties(${swift_<wbr class="">binaries} properties ENABLE_EXPORTS 1) &nbsp;?</span><div class=""><span style="font-family: sans-serif; font-size: 16px; text-align: justify;" class="">I don't know if it's this simple though.</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="gmail-h5">On Tue, Oct 25, 2016 at 8:51 PM, rintaro ishizaki via swift-dev <span dir="ltr" class="">&lt;<a href="mailto:swift-dev@swift.org" target="_blank" class="">swift-dev@swift.org</a>&gt;</span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="gmail-h5"><div dir="ltr" class="">Hi all,<br class="">I've noticed recent build of swift compiler doesn't show the stack dump on crash.<br class=""><br class="">Here is the result with October 25, 2016 snapshot.<br class=""><a href="https://gist.github.com/rintaro/cb694898821fbbe8b02734862eb69534" target="_blank" class="">https://gist.github.com/rintar<wbr class="">o/cb694898821fbbe8b02734862eb6<wbr class="">9534</a><br class=""><br class="">On macOS, the dump completely doesn't show up.<br class="">On Linux, the dump shows up, but without symbols.<br class=""><br class="">As for Linux, I figured out that it's because of recent change in CMakeList.txt<br class="">cmake_minimum_required(VERSION 3.4.3)<br class="">Specifically, the policy change of CMP0065<br class=""><a href="https://cmake.org/cmake/help/v3.4/policy/CMP0065.html" target="_blank" class="">https://cmake.org/cmake/help/v<wbr class="">3.4/policy/CMP0065.html</a><br class="">backtrace_symbols_fd() needs symbols exported.<div class=""><br class=""><div class="">As for macOS, I'm not sure why.</div><div class=""><br class=""></div><div class="">I don't know what is the right way to fix this.</div></div><div class="">cmake_policy(SET CMP0065 OLD)</div><div class="">would fix the Linux build but ...</div><div class=""><br class=""></div><div class="">Any thought?</div></div>
<br class=""></div></div>______________________________<wbr class="">_________________<br class="">
swift-dev mailing list<br class="">
<a href="mailto:swift-dev@swift.org" target="_blank" class="">swift-dev@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank" class="">https://lists.swift.org/mailma<wbr class="">n/listinfo/swift-dev</a><br class="">
<br class=""></blockquote></div><br class=""></div>
</blockquote></div><br class=""></div></div>
_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></div></body></html>