[lldb-dev] LLDB doesn't link on OS X: lldbPluginOSDarwinKernel not found
Malea, Daniel
daniel.malea at intel.com
Mon May 27 20:49:14 PDT 2013
Committed in r182751.
Thanks Ahmed!
Cheers,
Dan
-----Original Message-----
From: Malea, Daniel
Sent: Monday, May 27, 2013 3:23 PM
To: Ahmed Bougacha
Cc: Filipe Cabecinhas; lldb-dev; lldb-commits at cs.uiuc.edu
Subject: Re: [lldb-dev] LLDB doesn't link on OS X: lldbPluginOSDarwinKernel not found
Patch LGTM. Tried it out and can confirm it fixes the missing symbol error pertaining to version.
Ahmed, I'm not sure there is CMake support for building debugserver, though it's probably not too bad to add the target definition in a similar manner to the "lldb" target.
Dan
PS. In the future please send patches to LLDB-commits list :)
On 2013-05-24, at 7:18 PM, "Ahmed Bougacha" <ahmed.bougacha at gmail.com> wrote:
> 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
> <lldb-osx-cmake.diff>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list