<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, 1 Jun 2015 at 11:06 Vince Harron <<a href="mailto:vince@nethacker.com">vince@nethacker.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrew,<div><br></div><div>We're not testing that configuration so I'm not surprised that you're hitting problems. I'd like to look into it but we're working towards a release now and this isn't the most critical issue. For today, I recommend building without this flag.</div></div></blockquote><div><br></div><div>No worries. When would be a good time to ping back? I was hoping to get the packaging updated for 3.7, but that may be too aggressive, and not leave enough time for bug fixing.</div><div><br></div><div>Also, in case I wasn't clear: I have changes ready, I just thought it might be polite to bring it up here first, since I've not contributed before. Building without the flag isn't really an option for Debian packaging. The autotools-based build already links LLDB libs against libLLVM.so, and it would be best to preserve that.</div><div><br></div><div>Cheers,</div><div>Andrew</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Sincerely,</div><div><br></div><div>Vince</div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Sun, May 31, 2015 at 12:18 AM, Andrew Wilkins <span dir="ltr"><<a href="mailto:axwalk@gmail.com" target="_blank">axwalk@gmail.com</a>></span> wrote:<br></div></div><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>Hi,</div><div><br></div><div>I'm looking into updating the LLVM Debian packaging to use CMake instead of autotools. I've hit some issues in building LLDB to do with the use of BUILD_SHARED_LIBS. I thought I should email the list before proposing any changes, as described below.</div><div><br></div><div>Many of the libraries in LLDB are not specified as being shared or static in the CMake files. If you set BUILD_SHARED_LIBS, then it will attempt to build them as shared; this fails due to undefined library dependencies. I looked at adding them, but found there were some circular dependencies which made it a bit messy. Also, it doesn't seem very useful to build them as shared objects. Since the Makefiles only support building the internal libraries as static, I figure the CMake files should be updated to do the same.</div><div><br></div><div>With the internal libraries built as static archives, then lldb will build successfully (with some minor dependency additions; pthread, dl, and LLVM's runtimedyld component). There are then some issues with loading the Python extension module. The extension module is a symlink to liblldb.so, whose RPATH entries aren't valid relative to the symlink target. This can be resolved by adding a symlink from lib/python<version>/site-packages/lib to lib.<br></div><div><br></div><div>Any issues? If not, I'll send a patch through soon.<br></div><div><br></div><div>Cheers,</div><div>Andrew</div></div>
<br></blockquote></div></div><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">_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div>