[Libclc-dev] Building with clang 3.4
Jeroen Ketema
j.ketema at imperial.ac.uk
Fri Oct 17 15:24:58 PDT 2014
I’m not sure if llvm 3.4 is still supported. Traditionally there was only support for the latest released version of llvm and the current development version.
Jeroen
> On 17 Oct 2014, at 23:20, Jean-Sébastien Pédron <dumbbell at FreeBSD.org> wrote:
>
> Hi!
>
> If I use clang 3.4 to build libclc, it fails with the following error:
>
> LLVM-AS nvptx--nvidiacl/lib/atomic/atomic_impl.ll.bc
> /usr/local/llvm34/bin/llvm-as:
> ./generic/lib/atomic/atomic_impl.ll:27:82: error: expected instruction
> opcode
> %0 = cmpxchg volatile i32 addrspace(1)* %ptr, i32 %compare, i32 %value
> seq_cst seq_cst
>
> ^
> Makefile:79: recipe for target
> 'nvptx--nvidiacl/lib/atomic/atomic_impl.ll.bc' failed
> gmake: *** [nvptx--nvidiacl/lib/atomic/atomic_impl.ll.bc] Error 1
>
>
> It's building fine with clang 3.5.
>
> I don't know how to fix the problem, but wanted to let people know in
> case this happens to someone else.
>
> Thank you!
>
> --
> Jean-Sébastien Pédron
>
>
>
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev
More information about the Libclc-dev
mailing list