[lldb-dev] LLDB doesn't link on OS X: lldbPluginOSDarwinKernel not found

Ahmed Bougacha ahmed.bougacha at gmail.com
Fri May 24 16:16:10 PDT 2013


With the attached patch the file is generated, and it links fine.
Now it says it can't locate debugserver when I try to actually run
something, I'll look into that later.
-- Ahmed Bougacha


On Fri, May 24, 2013 at 3:49 PM, Ahmed Bougacha
<ahmed.bougacha at gmail.com> wrote:
> On Fri, May 24, 2013 at 3:46 PM, Filipe Cabecinhas
> <filcab+lldb-dev at gmail.com> wrote:
>> That was my bad, I just updated the CMakeLists.txt file (it had a wrong name).
>> But there's another problem: For now we're not running the
>> scripts/generate-vers.pl to create a small C file to link against lldb
>> (for the _liblldb_coreVersionString function).
>> Because of that, even after my fix, the CMake build won't work. I
>> don't know that much CMake, so I'm waiting for some spare time to try
>> to fix it. If you know how to fix it, or want to try, please go ahead
>> and send a patch.
>
> Yep, that's exactly what I just noticed. I'll see what I can do about it.
>
> Thanks!
>
> -- Ahmed Bougacha
>
>> Regards,
>>
>>   Filipe
>>
>> On Fri, May 24, 2013 at 3:37 PM, Ahmed Bougacha
>> <ahmed.bougacha at gmail.com> wrote:
>>> Hi all,
>>>
>>> Title says all, I'm trying to build lldb on OS X, using cmake, and it
>>> complains about lldbPluginOSDarwinKernel missing when linking
>>> liblldb.3.4.
>>>
>>> I've grepped around, and it doesn't seem to be defined anywhere , only
>>> used since r180243.
>>>
>>> Is it available on another repo, or should it be removed from the
>>> CMakeLists.txt?
>>>
>>> Thanks!
>>>
>>> -- Ahmed Bougacha
>>> _______________________________________________
>>> lldb-dev mailing list
>>> lldb-dev at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb-osx-cmake.diff
Type: application/octet-stream
Size: 1456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130524/c88e90c1/attachment.obj>


More information about the lldb-dev mailing list