[Lldb-commits] [PATCH] D17384: Fix OSX cmake build

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 18 08:39:19 PST 2016


Ahh, I guess that's why that star was there before, maybe it makes the
entire symbol optional?  Anyway lgtm

On Thu, Feb 18, 2016 at 8:36 AM Ewan Crawford <ewan at codeplay.com> wrote:

> EwanCrawford created this revision.
> EwanCrawford added reviewers: sivachandra, zturner, labath.
> EwanCrawford added a subscriber: lldb-commits.
> EwanCrawford set the repository for this revision to rL LLVM.
>
> Commit r260721(http://reviews.llvm.org/D17182) introduced the following
> error when building for OSX using cmake:
>
> Undefined symbols for architecture x86_64:
>   "_PyInit__lldb", referenced from:
>      -exported_symbol[s_list] command line option
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> Adding '*' to the regex solves this problem but I'm building with Python
> 2.7 instead of 3 so can't test thoroughly.
>
>
> Repository:
>   rL LLVM
>
> http://reviews.llvm.org/D17384
>
> Files:
>   source/API/liblldb.exports
>
> Index: source/API/liblldb.exports
> ===================================================================
> --- source/API/liblldb.exports
> +++ source/API/liblldb.exports
> @@ -1,4 +1,4 @@
>  _ZN4lldb*
>  _ZNK4lldb*
>  init_lld*
> -PyInit__lldb
> +PyInit__lldb*
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160218/524afadd/attachment.html>


More information about the lldb-commits mailing list