[Libclc-dev] libclc git compilation error with LLVM 5.0 git from to today

Dieter Nützel via Libclc-dev libclc-dev at lists.llvm.org
Mon Jun 19 18:05:43 PDT 2017


Hello Aaron,

NO action needed from your site,
all fine after update to LLVM 5.0 git commit
7c44c2a308cdb9db4b11c5fef0bebe61f98a9069
at least.
All 'opencl-example' pass, as 'always'. ;-)

So it was LLVM git thing NOT libclc.

Cheers,
Dieter

Am 19.06.2017 19:13, schrieb Aaron Watry:
> I'm headed back from a long weekend with the family.  I'll see if I
> can find some time tonight to look at this if no one else gets to it
> before then.
> 
> --Aaron
> 
> On Mon, Jun 19, 2017, 10:18 AM Dieter Nützel <Dieter at nuetzel-hh.de>
> wrote:
> 
>> Hello Jan and Aaron,
>> 
>> compilation of latest libclc git with current LLVM 5.0
>> (fe252ffdaa62fc676b1bceaaba90652e51f07e5f) resulted in this
>> (LLVM git bug, missing pthread or openSUSE Tumbleweed PIE thing
>> 
> https://www.phoronix.com/scan.php?page=news_item&px=openSUSE-Tumbleweed-PIE):
>> 
>> LINK utils/prepare-builtins
>> /usr/local/lib/libLLVMSupport.a(Mutex.cpp.o): In function
>> `llvm::sys::MutexImpl::MutexImpl(bool)':
>> Mutex.cpp:(.text._ZN4llvm3sys9MutexImplC2Eb+0x2c): undefined
>> reference
>> to `pthread_mutexattr_init'
>> Mutex.cpp:(.text._ZN4llvm3sys9MutexImplC2Eb+0x38): undefined
>> reference
>> to `pthread_mutexattr_settype'
>> Mutex.cpp:(.text._ZN4llvm3sys9MutexImplC2Eb+0x4b): undefined

[snip]


More information about the Libclc-dev mailing list