[lldb-dev] Building LLDB when LLVM is built with threading disabled
Zachary Turner
zturner at google.com
Wed Sep 10 10:00:40 PDT 2014
Threading should be enabled by default in LLVM, you have to go out of your
way to disable it.
On Tue, Sep 9, 2014 at 5:12 PM, Greg Clayton <gclayton at apple.com> wrote:
> 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
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140910/9ce8debc/attachment.html>
More information about the lldb-dev
mailing list