<div dir="ltr">It sounds to me like you simply need to link in libpthread.   "LLVM with threading enabled" is a very confusing thing.  Compiling LLVM with "threading disabled" DOES NOT mean that you promise your application will be single-threaded.  It only means that you agree that a very specific subset of operations will not be thread-safe.  If someone is deciding whether to link libpthread based on the value of LLVM_ENABLE_THREADING, that right there is a bug, because the two are independent.  LLDB always needs to link libpthread.<div><br></div><div>That said, it might be interesting just to know why this broke recently.  In that case, you can use the "git bisect" command to track down the offending changelist.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 10:09 AM, Keno Fischer <span dir="ltr"><<a href="mailto:kfischer@college.harvard.edu" target="_blank">kfischer@college.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is copied from a user who sent me his error message, but I saw<br>
the same (the errors can be fixed by linking in -lpthread manually, so<br>
it's probably just a make system issue):<br>
<br>
llvm[6]: Linking Release+Asserts Shared Library liblldb.so<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbExpression.a(ClangExpressionParser.o):<br>
In function `lldb_private::ClangExpressionParser::Parse(lldb_private::Stream&)':<br>
ClangExpressionParser.cpp:(.text._ZN12lldb_private21ClangExpressionParser5ParseERNS_6StreamE+0x397):<br>
warning: the use of `mktemp' is dangerous, better use `mkstemp' or<br>
`mkdtemp'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::OperationArgs::OperationArgs(lldb_private::NativeProcessLinux*)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux13OperationArgsC2EPS0_+0x1a):<br>
undefined reference to `sem_init'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::OperationArgs::~OperationArgs()':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux13OperationArgsD2Ev+0x9):<br>
undefined reference to `sem_destroy'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::ServeOperation(lldb_private::NativeProcessLinux::OperationArgs*)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14ServeOperationEPNS0_13OperationArgsE+0xd):<br>
undefined reference to `sem_post'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14ServeOperationEPNS0_13OperationArgsE+0x24):<br>
undefined reference to `sem_wait'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14ServeOperationEPNS0_13OperationArgsE+0x6c):<br>
undefined reference to `sem_post'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::DoOperation(void*)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux11DoOperationEPv+0x36):<br>
undefined reference to `sem_post'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux11DoOperationEPv+0x4e):<br>
undefined reference to `sem_wait'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::StopMonitor()':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux11StopMonitorEv+0x19):<br>
undefined reference to `sem_destroy'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux11StopMonitorEv+0x26):<br>
undefined reference to `sem_destroy'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::LaunchInferior(lldb_private::Module*,<br>
char const**, char const**, char const*, char const*, char const*,<br>
char const*, lldb_private::ProcessLaunchInfo const&,<br>
lldb_private::Error&)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14LaunchInferiorEPNS_6ModuleEPPKcS5_S4_S4_S4_S4_RKNS_17ProcessLaunchInfoERNS_5ErrorE+0xd1):<br>
undefined reference to `sem_init'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14LaunchInferiorEPNS_6ModuleEPPKcS5_S4_S4_S4_S4_RKNS_17ProcessLaunchInfoERNS_5ErrorE+0xe1):<br>
undefined reference to `sem_init'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14LaunchInferiorEPNS_6ModuleEPPKcS5_S4_S4_S4_S4_RKNS_17ProcessLaunchInfoERNS_5ErrorE+0x116):<br>
undefined reference to `sem_wait'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::AttachToInferior(unsigned<br>
long, lldb_private::Error&)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux16AttachToInferiorEmRNS_5ErrorE+0x1bb):<br>
undefined reference to `sem_init'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux16AttachToInferiorEmRNS_5ErrorE+0x1cc):<br>
undefined reference to `sem_init'<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux16AttachToInferiorEmRNS_5ErrorE+0x222):<br>
undefined reference to `sem_wait'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::LaunchOpThread(void*)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14LaunchOpThreadEPv+0x25):<br>
undefined reference to `sem_post'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(NativeProcessLinux.o):<br>
In function `lldb_private::NativeProcessLinux::AttachOpThread(void*)':<br>
NativeProcessLinux.cpp:(.text._ZN12lldb_private18NativeProcessLinux14AttachOpThreadEPv+0x25):<br>
undefined reference to `sem_post'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::OperationArgs::OperationArgs(ProcessMonitor*)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor13OperationArgsC2EPS_+0x1a):<br>
undefined reference to `sem_init'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::OperationArgs::~OperationArgs()':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor13OperationArgsD2Ev+0x9):<br>
undefined reference to `sem_destroy'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::ServeOperation(ProcessMonitor::OperationArgs*)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor14ServeOperationEPNS_13OperationArgsE+0xd):<br>
undefined reference to `sem_post'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor14ServeOperationEPNS_13OperationArgsE+0x24):<br>
undefined reference to `sem_wait'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor14ServeOperationEPNS_13OperationArgsE+0x69):<br>
undefined reference to `sem_post'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::DoOperation(Operation*)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor11DoOperationEP9Operation+0x2a):<br>
undefined reference to `sem_post'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor11DoOperationEP9Operation+0x3e):<br>
undefined reference to `sem_wait'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::StopMonitor()':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor11StopMonitorEv+0x16):<br>
undefined reference to `sem_destroy'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor11StopMonitorEv+0x20):<br>
undefined reference to `sem_destroy'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::ProcessMonitor(ProcessPOSIX*,<br>
lldb_private::Module*, char const**, char const**, char const*, char<br>
const*, char const*, char const*, lldb_private::ProcessLaunchInfo<br>
const&, lldb_private::Error&)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitorC2EP12ProcessPOSIXPN12lldb_private6ModuleEPPKcS7_S6_S6_S6_S6_RKNS2_17ProcessLaunchInfoERNS2_5ErrorE+0xd3):<br>
undefined reference to `sem_init'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitorC2EP12ProcessPOSIXPN12lldb_private6ModuleEPPKcS7_S6_S6_S6_S6_RKNS2_17ProcessLaunchInfoERNS2_5ErrorE+0xe0):<br>
undefined reference to `sem_init'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitorC2EP12ProcessPOSIXPN12lldb_private6ModuleEPPKcS7_S6_S6_S6_S6_RKNS2_17ProcessLaunchInfoERNS2_5ErrorE+0x116):<br>
undefined reference to `sem_wait'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::ProcessMonitor(ProcessPOSIX*, unsigned<br>
long, lldb_private::Error&)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitorC2EP12ProcessPOSIXmRN12lldb_private5ErrorE+0x50):<br>
undefined reference to `sem_init'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitorC2EP12ProcessPOSIXmRN12lldb_private5ErrorE+0x5d):<br>
undefined reference to `sem_init'<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitorC2EP12ProcessPOSIXmRN12lldb_private5ErrorE+0xae):<br>
undefined reference to `sem_wait'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::LaunchOpThread(void*)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor14LaunchOpThreadEPv+0x25):<br>
undefined reference to `sem_post'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbPluginProcessLinux.a(ProcessMonitor.o):<br>
In function `ProcessMonitor::AttachOpThread(void*)':<br>
ProcessMonitor.cpp:(.text._ZN14ProcessMonitor14AttachOpThreadEPv+0x25):<br>
undefined reference to `sem_post'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `MonitorChildProcessThreadFunction(void*)':<br>
Host.cpp:(.text._ZL33MonitorChildProcessThreadFunctionPv+0xf3):<br>
undefined reference to `pthread_testcancel'<br>
Host.cpp:(.text._ZL33MonitorChildProcessThreadFunctionPv+0x10b):<br>
undefined reference to `pthread_testcancel'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadCreate(char const*, void*<br>
(*)(void*), void*, lldb_private::Error*)':<br>
Host.cpp:(.text._ZN12lldb_private4Host12ThreadCreateEPKcPFPvS3_ES3_PNS_5ErrorE+0x63):<br>
undefined reference to `pthread_create'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadCancel(unsigned long,<br>
lldb_private::Error*)':<br>
Host.cpp:(.text._ZN12lldb_private4Host12ThreadCancelEmPNS_5ErrorE+0xa):<br>
undefined reference to `pthread_cancel'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadDetach(unsigned long,<br>
lldb_private::Error*)':<br>
Host.cpp:(.text._ZN12lldb_private4Host12ThreadDetachEmPNS_5ErrorE+0xa):<br>
undefined reference to `pthread_detach'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadJoin(unsigned long, void**,<br>
lldb_private::Error*)':<br>
Host.cpp:(.text._ZN12lldb_private4Host10ThreadJoinEmPPvPNS_5ErrorE+0xa):<br>
undefined reference to `pthread_join'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadLocalStorageCreate(void<br>
(*)(void*))':<br>
Host.cpp:(.text._ZN12lldb_private4Host24ThreadLocalStorageCreateEPFvPvE+0xd):<br>
undefined reference to `pthread_key_create'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadLocalStorageGet(unsigned int)':<br>
Host.cpp:(.text._ZN12lldb_private4Host21ThreadLocalStorageGetEj+0x1):<br>
undefined reference to `pthread_getspecific'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Host.o):<br>
In function `lldb_private::Host::ThreadLocalStorageSet(unsigned int,<br>
void*)':<br>
Host.cpp:(.text._ZN12lldb_private4Host21ThreadLocalStorageSetEjPv+0x1):<br>
undefined reference to `pthread_setspecific'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Mutex.o):<br>
In function `lldb_private::Mutex::Mutex(lldb_private::Mutex::Type)':<br>
Mutex.cpp:(.text._ZN12lldb_private5MutexC2ENS0_4TypeE+0x4c): undefined<br>
reference to `pthread_mutexattr_init'<br>
Mutex.cpp:(.text._ZN12lldb_private5MutexC2ENS0_4TypeE+0x7a): undefined<br>
reference to `pthread_mutexattr_destroy'<br>
Mutex.cpp:(.text._ZN12lldb_private5MutexC2ENS0_4TypeE+0xa9): undefined<br>
reference to `pthread_mutexattr_settype'<br>
Mutex.cpp:(.text._ZN12lldb_private5MutexC2ENS0_4TypeE+0xd6): undefined<br>
reference to `pthread_mutexattr_settype'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(Mutex.o):<br>
In function `lldb_private::Mutex::TryLock(char const*)':<br>
Mutex.cpp:(.text._ZN12lldb_private5Mutex7TryLockEPKc+0x1): undefined<br>
reference to `pthread_mutex_trylock'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::ProcessRunLock()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLockC2Ev+0x7):<br>
undefined reference to `pthread_rwlock_init'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::~ProcessRunLock()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLockD2Ev+0x1):<br>
undefined reference to `pthread_rwlock_destroy'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::ReadTryLock()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock11ReadTryLockEv+0x5):<br>
undefined reference to `pthread_rwlock_rdlock'<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock11ReadTryLockEv+0x24):<br>
undefined reference to `pthread_rwlock_unlock'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::ReadUnlock()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock10ReadUnlockEv+0x5):<br>
undefined reference to `pthread_rwlock_unlock'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::SetRunning()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock10SetRunningEv+0x5):<br>
undefined reference to `pthread_rwlock_wrlock'<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock10SetRunningEv+0x11):<br>
undefined reference to `pthread_rwlock_unlock'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::TrySetRunning()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock13TrySetRunningEv+0xa):<br>
undefined reference to `pthread_rwlock_trywrlock'<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock13TrySetRunningEv+0x20):<br>
undefined reference to `pthread_rwlock_unlock'<br>
/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbHostCommon.a(ProcessRunLock.o):<br>
In function `lldb_private::ProcessRunLock::SetStopped()':<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock10SetStoppedEv+0x5):<br>
undefined reference to `pthread_rwlock_wrlock'<br>
ProcessRunLock.cpp:(.text._ZN12lldb_private14ProcessRunLock10SetStoppedEv+0x11):<br>
undefined reference to `pthread_rwlock_unlock'<br>
collect2: error: ld returned 1 exit status<br>
make[6]: *** [/mnt/hdd/mlubin/julia-0.4/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldb.so]<br>
Error 1<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Sep 10, 2014 at 1:00 PM, Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br>
> Threading should be enabled by default in LLVM, you have to go out of your<br>
> way to disable it.<br>
><br>
><br>
> On Tue, Sep 9, 2014 at 5:12 PM, Greg Clayton <<a href="mailto:gclayton@apple.com">gclayton@apple.com</a>> wrote:<br>
>><br>
>> Because LLVM enables threading manually, this is the main reason we didn't<br>
>> use their locking primitives.<br>
>><br>
>> I am not sure if we recently started using any of LLVM threading stuff<br>
>> that gets disabled (Zach's changes?) when threading isn't enabled in LLVM,<br>
>> but I don't believe we have enabled threading in LLVM builds.<br>
>><br>
>> Can you elaborate on what is making the build fail now after you disable<br>
>> threads?<br>
>><br>
>> > On Sep 9, 2014, at 4:50 PM, Keno Fischer <<a href="mailto:kfischer@college.harvard.edu">kfischer@college.harvard.edu</a>><br>
>> > wrote:<br>
>> ><br>
>> > We build LLVM with threads disabled by default (using make&configure).<br>
>> > Recently this started causing the LLDB build to fail. I'm not sure if<br>
>> > this is because of changes to LLDB or the LLVM build system in general<br>
>> > but it brings me to two questions. First, is it now necessary to build<br>
>> > LLVM with threads enabled to build LLDB? And, second, if not, is it<br>
>> > reasonable to link in pthread even when --disable-threads is passed to<br>
>> > ./configure, since I don't believe LLDB can be built without threading<br>
>> > support entirely?<br>
>> ><br>
>> > Thanks,<br>
>> > Keno<br>
>> > _______________________________________________<br>
>> > lldb-dev mailing list<br>
>> > <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
>> > <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
>><br>
>> _______________________________________________<br>
>> lldb-dev mailing list<br>
>> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>