[LLVMbugs] [Bug 7949] New: LLVM+Clang fails to build when configured with --disable-threads

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 20 06:22:42 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7949

           Summary: LLVM+Clang fails to build when configured with
                    --disable-threads
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: llvmbugs at contacts.eelis.net
                CC: llvmbugs at cs.uiuc.edu


When I try to build with

  ./configure --disable-threads
  make

I get (after a while):

  ...
  llvm[4]: Linking Debug+Asserts executable clang
/home/eelis/sand/llvmtest/nothreads/llvm/Debug+Asserts/lib/libLLVMSupport.a(CrashRecoveryContext.o):
In function `llvm::sys::ThreadLocal<(anonymous
namespace)::CrashRecoveryContextImpl const>::erase()':
/home/eelis/sand/llvmtest/nothreads/llvm/include/llvm/System/ThreadLocal.h:49:
undefined reference to `llvm::sys::ThreadLocalImpl::removeInstance()'

Without --disable-threads it builds without problems. I also didn't have
problems building with --disable-threads a week or two ago, so it's probably a
recent commit that's to blame.

I'm using r111620.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list