[Lldb-commits] [PATCH] Link libedit, libcurses, and libpanel on Darwin autoconf builds

Todd Fiala tfiala at google.com
Fri Feb 28 10:58:47 PST 2014

Hey Jevin,

FWIW I tried this on my MBP at top of tree.  I am getting this error before
hitting your patch's fix:

llvm[5]: Compiling AppleGetQueuesHandler.cpp for Debug+Asserts build
fatal error:
      'AppleThreadPlanStepThroughObjCTrampoline.h' file not found
#include "AppleThreadPlanStepThroughObjCTrampoline.h"

This is using the following (with a dir structure like below):
|- llvm/
|- build/

$ cd build
$ ../llvm/configure --enable-cxx11 --prefix=`pwd`/../install
$ make -j16

I'm at this change:
tfiala-macbookpro:lldb tfiala$ svn info
Path: .
Working Copy Root Path: /Users/tfiala/lldb/svn/llvm/tools/lldb
URL: https://tfiala@llvm.org/svn/llvm-project/lldb/trunk
Repository Root: https://tfiala@llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 202527
Node Kind: directory
Schedule: normal
Last Changed Author: gclayton
Last Changed Rev: 202525
Last Changed Date: 2014-02-28 10:22:24 -0800 (Fri, 28 Feb 2014)


On Fri, Feb 28, 2014 at 10:27 AM, Jevin Sweval <jevinsweval at gmail.com>wrote:

> I am unable to build LLDB ToT when I place lldb inside tools/ and
> build using the configure script. Linking liblldb.dylib complains
> about various missing *_panel methods.
> The attached patch links libedit, libcurses, and libpanel on Darwin. I
> would have gotten many more undefined symbol errors at link if LLDB
> didn't already link in libedit and libpanel due to the top-level LLVM
> build using them.
> The patch enables me to build LLDB but I'm not sure if it is correct.
> Should the linking be conditionalized on some option?
> Looking on the CMake side of things, should libedit also get linked in?
> Cheers,
> Jevin
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140228/23ed5e48/attachment.html>

More information about the lldb-commits mailing list