[Pkg-opencl-devel] Bug#806965: oclgrind: FTBFS on ppc64el -- conflict with altivec keyword bool

Fernando Seiti Furusato ferseiti at br.ibm.com
Wed Dec 9 13:17:15 UTC 2015


J Price <J.Price at bristol.ac.uk> wrote on 08/12/2015 19:14:00:

> From: J Price <J.Price at bristol.ac.uk>
> To: Fernando Seiti Furusato/Brazil/IBM at IBMBR
> Cc: Andreas Beckmann <anbe at debian.org>, 806965 at bugs.debian.org, Breno 
Henrique
> Leitao/Brazil/IBM at IBMBR
> Date: 08/12/2015 19:14
> Subject: Re: Bug#806965: oclgrind: FTBFS on ppc64el -- conflict with 
altivec 
> keyword bool
> 
> You're right - this needs to be done in common.h for this to work
> (since common.h uses the bool keyword), but common.h is installed by
> the -dev package, so this goes against the idea of not messing with
> macros in public headers.

Oh, I should have noticed that.

> 
> Reading some other bug reports (e.g. [1]) suggests that compiling with
> `-std=gnu++11` instead of `-std=c++11` also fixes the problem. Is this
> a viable workaround? This would be a simple patch to CMakeLists.txt.

In case this question was directed to me -- it is viable in the sense that 
it
works. Just tested it here and it built.

Thanks and regards.

Fernando



More information about the Pkg-opencl-devel mailing list