From: bugzilla-daemon@freedesktop.org Subject: [Bug 93687] ppc64el:Gallium / clover fails to compile Date: Thu, 14 Jan 2016 03:17:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0276250825==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CE7F289D30 for ; Wed, 13 Jan 2016 19:17:38 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0276250825== Content-Type: multipart/alternative; boundary="1452741458.72D3B0.32729"; charset="UTF-8" --1452741458.72D3B0.32729 Date: Thu, 14 Jan 2016 03:17:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=93687 --- Comment #4 from Francisco Jerez --- (In reply to Timothy Pearson from comment #3) > Since this is marked NOTOURBUG, is there somewhere I should be submitting a > bug report to get this fixed? I'd really like to see OpenCL on the > OpenPOWER hardware without having to manually patch / build, and without > having to get a downstream patch into Debian / RHEL. > > Thanks! Either GCC or Khronos -- I'd be inclined to blame GCC for this, since the altivec.h header is unusable from standard C++ code (assuming you don't hack around it by undef'ing "vector" and "bool" after inclusion or by preventing it from defining them in the first place somehow), however last time somebody reported this [1] the bug was closed as invalid, so apparently some people from the GCC community think that this is the (unfortunate) expected behaviour -- Assuming they're right, cl_platform.h should stop including altivec.h (or hack around it somehow) because it makes cl.h unusable from standard C++ code on PPC platforms. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241 -- You are receiving this mail because: You are the assignee for the bug. --1452741458.72D3B0.32729 Date: Thu, 14 Jan 2016 03:17:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 93687 from
(In reply to Timothy Pearson from comment #3)
> Since this is marked NOTOURBUG, is there somewhere I should be submitting a
> bug report to get this fixed?  I'd really like to see OpenCL on the
> OpenPOWER hardware without having to manually patch / build, and without
> having to get a downstream patch into Debian / RHEL.
> 
> Thanks!

Either GCC or Khronos -- I'd be inclined to blame GCC for this, since the
altivec.h header is unusable from standard C++ code (assuming you don't hack
around it by undef'ing "vector" and "bool" after inclusion or by preventing it
from defining them in the first place somehow), however last time somebody
reported this [1] the bug was closed as invalid, so apparently some people from
the GCC community think that this is the (unfortunate) expected behaviour --
Assuming they're right, cl_platform.h should stop including altivec.h (or hack
around it somehow) because it makes cl.h unusable from standard C++ code on PPC
platforms.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241


You are receiving this mail because:
  • You are the assignee for the bug.
--1452741458.72D3B0.32729-- --===============0276250825== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0276250825==--