atom feed7 messages in com.googlegroups.llvm-devRe: [LLVMdev] msys/mingw32 llvm-gcc b...
FromSent OnAttachments
Charles MutigweOct 27, 2009 10:26 am 
Anton KorobeynikovOct 27, 2009 11:22 am 
Charles MutigweOct 27, 2009 7:30 pm 
Charles MutigweOct 27, 2009 7:31 pm 
Anton KorobeynikovOct 28, 2009 2:11 am 
Charles MutigweOct 28, 2009 4:14 am 
Dimitry AndricOct 28, 2009 5:14 am 
Subject:Re: [LLVMdev] msys/mingw32 llvm-gcc build errors
From:Dimitry Andric ("dim@andric.com)
Date:Oct 28, 2009 5:14:36 am
List:com.googlegroups.llvm-dev

On 2009-10-27 18:26, Charles Mutigwe wrote:

I successfully built llvm using msys/mingw, but I am getting the following error when I try to build llvm-gcc using ... Assertion failed: errorcode == 0, file c:/Temp/llvm-2.6/lib/System/RWMutex.cpp,

MinGW pthreads miss some features that LLVM uses, and thus cannot be used. To fix, remove the pthreads-w32-2.8.0-mingw32-dll package from your MinGW installation. E.g. these files:

$MINGWROOT/mingw32 $MINGWROOT/mingw32/include $MINGWROOT/mingw32/lib $MINGWROOT/mingw32/include/pthread.h $MINGWROOT/mingw32/include/sched.h $MINGWROOT/mingw32/include/semaphore.h $MINGWROOT/mingw32/lib/libpthread.a

Then reconfigure and recompile everything from scratch.