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

Ewan Crawford via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 18 08:36:08 PST 2016

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.




Index: source/API/liblldb.exports
--- source/API/liblldb.exports
+++ source/API/liblldb.exports
@@ -1,4 +1,4 @@

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17384.48325.patch
Type: text/x-patch
Size: 243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160218/206c39d8/attachment.bin>

More information about the lldb-commits mailing list