[LLVMdev] FreeBSD build broken

Reid Spencer reid at x10sys.com
Tue Jul 12 19:44:56 PDT 2005


Nice .. partial Pthreads implementation. The least they could do is
provide a no-op for the interface.

I'll take care of it.

Reid.

On Tue, 2005-07-12 at 19:21 -0700, Jeff Cohen wrote:
> FreeBSD does not define pthread_mutexattr_setpshared:
> 
> gmake[1]: Entering directory `/usr/home/jeffc/llvm/obj/lib/System'
> llvm[1]: Compiling Mutex.cpp for Release build
> /usr/home/jeffc/llvm/obj/../lib/System/Mutex.cpp:42: warning: the 
> address of `int llvm::pthread_mutex_init(llvm::pthread_mutex**, 
> llvm::pthread_mutex_attr* const*)', will always evaluate as `true'
> /usr/home/jeffc/llvm/obj/../lib/System/Mutex.cpp: In constructor 
> `llvm::sys::Mutex::Mutex(bool)':
> /usr/home/jeffc/llvm/obj/../lib/System/Mutex.cpp:66: error: 
> `pthread_mutexattr_setpshared' undeclared (first use this function)
> /usr/home/jeffc/llvm/obj/../lib/System/Mutex.cpp:66: error: (Each 
> undeclared identifier is reported only once for each function it appears 
> in.)
> gmake[1]: *** [/usr/home/jeffc/llvm/obj/lib/System/Release/Mutex.o] Error 1
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050712/beb6df2d/attachment.sig>


More information about the llvm-dev mailing list