<div dir="ltr">FWIW, I strongly support finding a fully license-compatible way to just implement zlib-compatible compression with no external library dependencies.<div><br></div><div>There are a myriad of reasons, some already raised:</div><div><br></div><div>- Means that functionality isn't universally available, for example, on Windows</div><div>- Means that we have to debug performance problems or other issues with different source code depending on the nature of specific libraries used</div><div><br></div><div>If the cost is low (and it seems low for miniz or zlib or whatever) why go through the hassle of using a system library....</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 7:11 PM, Saleem Abdulrasool <span dir="ltr"><<a href="mailto:compnerd@compnerd.org" target="_blank">compnerd@compnerd.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">On Tue, Sep 16, 2014 at 4:48 PM, Bob Wilson <span dir="ltr"><<a href="mailto:bob.wilson@apple.com" target="_blank">bob.wilson@apple.com</a>></span> wrote:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">If you build with configure+make, just run configure with —disable-zlib. We do this routinely, so I’m pretty sure it works.</div></blockquote><div><br></div></span><div>It "works" as in it builds. However, the support for it is disabled since zlib::compress will always return StatusUnsupported, so the debug information will just not be compressed. Effectively, compressed DWARF is unsupported on Windows.</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><div><div><blockquote type="cite"><div>On Sep 16, 2014, at 3:42 PM, Reid Kleckner <<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>> wrote:</div><br><div><div dir="ltr">It might not be available, so all codepaths have to recover from zlib unavailability. For example, I don't think compressed DWARF works on Windows.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 16, 2014 at 3:21 PM, Filip Pizlo <span dir="ltr"><<a href="mailto:fpizlo@apple.com" target="_blank">fpizlo@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>What is the downside of Zlib dependency? I'm curious! :-)</div><div><br>-Filip</div><div><div><div><br>On Sep 16, 2014, at 2:45 PM, Christophe Duvernois <<a href="mailto:christophe.duvernois@gmail.com" target="_blank">christophe.duvernois@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi<div><br></div><div>Miniz (<a href="https://code.google.com/p/miniz/" target="_blank">https://code.google.com/p/miniz/</a> ) is very small and performant implementation of zlib compression with api compatibility and it is p<span style="font-family:arial,sans-serif;font-size:12.7272720336914px">ublic domain...</span></div><div>Miniz can be integrated directly into the llvm source code.</div><div>So it could be a good replacement or alternative to avoid zlib dependency...</div><div><br></div><div>If someone is interested i can provide a patch.</div><div><br></div><div>Regards</div><div>Christophe</div><div><br></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>LLVM Developers mailing list</span><br><span><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</a></span><br><span><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a></span><br></div></blockquote></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></div></blockquote></div><br></div></div></div></div></div><br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Saleem Abdulrasool<br>compnerd (at) compnerd (dot) org
</font></span></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>