[Pkg-opencl-devel] Bug#806965: oclgrind: FTBFS on ppc64el -- conflict with altivec keyword bool
Fernando Seiti Furusato
ferseiti at br.ibm.com
Thu Dec 3 15:49:52 UTC 2015
Source: oclgrind
Version: 15.5-1
Severity: normal
Tags: patch
Dear Maintainer,
The package oclgrind fails to build from source on ppc64el with,
initially the error:
/usr/include/c++/5/bits/cpp_type_traits.h:98:24: error: expected primary-expression before '__attribute__'
enum { __value = bool(_Sp::__value) || bool(_Tp::__value) };
Full log can be found at:
https://buildd.debian.org/status/fetch.php?pkg=oclgrind&arch=ppc64el&ver=15.5-1&stamp=1445511925
I created a patch to bypass usage of altivec with -mno-altivec flag.
The concerns on using the method of the patch I created is that it will
not apply on cross-compiling and it will apply for the whole code, not just
for the parts where it fails.
In any case, the package builds successfully with the patch.
If you have any concerns, please let me know.
Thanks and regards.
Fernando
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc64el-oclgrind.debdiff
Type: text/x-diff
Size: 1498 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/attachments/20151203/d9c7fc08/attachment.diff>
More information about the Pkg-opencl-devel
mailing list