<div dir="ltr">On Fri, Jan 30, 2015 at 4:15 PM, Dan Albert <span dir="ltr"><<a href="mailto:danalbert@google.com" target="_blank">danalbert@google.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Fri, Jan 30, 2015 at 4:12 PM, Saleem Abdulrasool <span dir="ltr"><<a href="mailto:compnerd@compnerd.org" target="_blank">compnerd@compnerd.org</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div><div>On Fri, Jan 30, 2015 at 3:35 PM, Dan Albert <span dir="ltr"><<a href="mailto:danalbert@google.com" target="_blank">danalbert@google.com</a>></span> wrote:</div></div></span><span class=""><div class="gmail_extra"><div class="gmail_quote"><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Shouldn't it just use the default unwinder for the given platform?</div></div></div></div></blockquote><div><br></div></div></div><div>Sure, but what is the default unwinder for a given platform?</div><div><br></div><div>Lets go with Linux.  I have two different images (okay, I have one, but Im sufficiently familiar with Gentoo as well):</div><div>- Gentoo w/ GCC</div><div>- exherbo w/o GCC</div><div><br></div><div>Both are Linux.  Whats the default unwinder?</div></div></div></span></div></blockquote><div><br></div><div>From a triple standpoint, aren't targets marked as linux-gnu? That should be enough to determine that, right?</div></div></div></div>
</blockquote></div><div class="gmail_extra"><br></div>Yeah, both are linux-gnu.  How do you differentiate between libunwind vs libgcc (-static-libgcc) or libgcc_s between the two?  What about when you are cross-compiling, so, host != target, and therefore cannot use /etc/*-release?<br><br>-- <br><div class="gmail_signature">Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org</div>
</div></div>