[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 13238] New: unittests fail to build when cmake is passed -DLLVM_ENABLE_THREADS=false
From:       bugzilla-daemon () llvm ! org
Date:       2012-06-29 12:15:12
Message-ID: bug-13238-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

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

             Bug #: 13238
           Summary: unittests fail to build when cmake is passed
                    -DLLVM_ENABLE_THREADS=false
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs@nondot.org
        ReportedBy: baldrick@free.fr
                CC: llvmbugs@cs.uiuc.edu
    Classification: Unclassified


Linking CXX executable Debug/VMCoreTests
../../lib/libgtest.a(gtest.cc.o): In function `~ThreadLocal':
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1341:
undefined reference to `pthread_getspecific'
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1345:
undefined reference to `pthread_key_delete'
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1341:
undefined reference to `pthread_getspecific'
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1345:
undefined reference to `pthread_key_delete'
../../lib/libgtest.a(gtest.cc.o): In function
`testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo,
std::allocator<testing::internal::TraceInfo> > >::GetOrCreateValue() const':
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1377:
undefined reference to `pthread_getspecific'
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1384:
undefined reference to `pthread_setspecific'
../../lib/libgtest.a(gtest.cc.o): In function
`testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::CreateKey()':
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1370:
undefined reference to `pthread_key_create'
../../lib/libgtest.a(gtest.cc.o): In function
`testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo,
std::allocator<testing::internal::TraceInfo> > >::CreateKey()':
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1370:
undefined reference to `pthread_key_create'
../../lib/libgtest.a(gtest.cc.o): In function
`testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::GetOrCreateValue()
const':
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1377:
undefined reference to `pthread_getspecific'
llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1384:
undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status

-- 
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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic