[lldb-dev] Building LLDB when LLVM is built with threading disabled

Greg Clayton gclayton at apple.com
Tue Sep 9 17:12:29 PDT 2014


Because LLVM enables threading manually, this is the main reason we didn't use their locking primitives.

I am not sure if we recently started using any of LLVM threading stuff that gets disabled (Zach's changes?) when threading isn't enabled in LLVM, but I don't believe we have enabled threading in LLVM builds.

Can you elaborate on what is making the build fail now after you disable threads?

> On Sep 9, 2014, at 4:50 PM, Keno Fischer <kfischer at college.harvard.edu> wrote:
> 
> We build LLVM with threads disabled by default (using make&configure).
> Recently this started causing the LLDB build to fail. I'm not sure if
> this is because of changes to LLDB or the LLVM build system in general
> but it brings me to two questions. First, is it now necessary to build
> LLVM with threads enabled to build LLDB? And, second, if not, is it
> reasonable to link in pthread even when --disable-threads is passed to
> ./configure, since I don't believe LLDB can be built without threading
> support entirely?
> 
> Thanks,
> Keno
> _______________________________________________
> 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