[LLVMbugs] [Bug 7874] New: LLVM cannot be built w/o pthreads on mingw/msys when pthread.h exists

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 11 20:05:03 PDT 2010


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

           Summary: LLVM cannot be built w/o pthreads on mingw/msys when
                    pthread.h exists
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: geek4civic at gmail.com
                CC: llvmbugs at cs.uiuc.edu


There is no way to build LLVM with ENABLE_THREADS=1 but without pthreads.

Some MSYS packages have pthread.h (and pthreads DLL),
and some issues on MSYS;

  - lib/System/Win32/ threading stuff will not be used at all
  - not able to build LLVM free from pthread.dll.

The option --without-pthreads might be needed to configure.

It is not an issue on mingw-cross-unixen because (AFAIK) mingw-cross does not
have pthreads/w32.

-- 
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