* [Bug 93687] ppc64el:Gallium / clover fails to compile
@ 2016-01-13 1:49 bugzilla-daemon
2016-01-13 2:38 ` bugzilla-daemon
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-01-13 1:49 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 6134 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
Bug ID: 93687
Summary: ppc64el:Gallium / clover fails to compile
Product: Mesa
Version: 11.0
Hardware: PowerPC
OS: All
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/r600
Assignee: dri-devel@lists.freedesktop.org
Reporter: kb9vqf@pearsoncomputing.net
QA Contact: dri-devel@lists.freedesktop.org
Gallium fails to compile on ppc64el. This prevens the use of the R600 OpenCL
driver on the ppc64el platform.
Full log:
https://librarian.quickbuild.pearsoncomputing.net/7108453/buildlog_ubuntu-stretch-ppc64el.mesa_11.0.8-1~icd-ppc64el-enable1_FAILEDTOBUILD.txt.gz
Relevant snippet:
/bin/bash ../../../../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"11.0.8\"
-DPACKAGE_STRING=\"Mesa\ 11.0.8\"
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"11.0.8\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1
-DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1
-DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1
-DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1
-DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1
-DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1
-DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1
-DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1
-DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I.
-I../../../../../../src/gallium/state_trackers/clover -DHAVE_PIPE_LOADER_DRI
-DHAVE_PIPE_LOADER_DRM
-DPIPE_SEARCH_DIR=\"/usr/lib/powerpc64le-linux-gnu/gallium-pipe\"
-I../../../../../../include -I../../../../../../src
-I../../../../../../src/gallium/include -I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/winsys
-I../../../../../../src/gallium/state_trackers/clover -DHAVE_CLOVER_ICD
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fvisibility=hidden -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall
-fno-strict-aliasing -fno-builtin-memcmp -MT api/libclover_la-program.lo -MD
-MP -MF api/.deps/libclover_la-program.Tpo -c -o api/libclover_la-program.lo
`test -f 'api/program.cpp' || echo
'../../../../../../src/gallium/state_trackers/clover/'`api/program.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"11.0.8\" "-DPACKAGE_STRING=\"Mesa 11.0.8\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"11.0.8\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1
-DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1
-DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1
-DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1
-DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1
-DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1
-DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1
-DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1
-DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I.
-I../../../../../../src/gallium/state_trackers/clover -DHAVE_PIPE_LOADER_DRI
-DHAVE_PIPE_LOADER_DRM
-DPIPE_SEARCH_DIR=\"/usr/lib/powerpc64le-linux-gnu/gallium-pipe\"
-I../../../../../../include -I../../../../../../src
-I../../../../../../src/gallium/include -I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/auxiliary
-I../../../../../../src/gallium/winsys
-I../../../../../../src/gallium/state_trackers/clover -DHAVE_CLOVER_ICD
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fvisibility=hidden -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Wall
-fno-strict-aliasing -fno-builtin-memcmp -MT api/libclover_la-program.lo -MD
-MP -MF api/.deps/libclover_la-program.Tpo -c
../../../../../../src/gallium/state_trackers/clover/api/program.cpp -fPIC
-DPIC -o api/.libs/libclover_la-program.o
In file included from /usr/include/c++/5/map:60:0,
from
../../../../../../src/gallium/state_trackers/clover/core/property.hpp:26,
from
../../../../../../src/gallium/state_trackers/clover/api/util.hpp:30,
from
../../../../../../src/gallium/state_trackers/clover/api/context.cpp:23:
/usr/include/c++/5/bits/stl_tree.h: In constructor 'std::_Rb_tree<_Key, _Val,
_KeyOfValue, _Compare, _Alloc>::_Rb_tree(std::_Rb_tree<_Key, _Val, _KeyOfValue,
_Compare, _Alloc>&&, std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,
_Alloc>::_Node_allocator&&)':
/usr/include/c++/5/bits/stl_tree.h:1332:76: error: '__vector(4) __bool int' is
not a valid type for a template non-type parameter
using __eq = integral_constant<bool, _Alloc_traits::_S_always_equal()>;
^
/usr/include/c++/5/bits/stl_tree.h:1334:25: error: there are no arguments to
'__eq' that depend on a template parameter, so a declaration of '__eq' must be
available [-fpermissive]
_M_move_data(__x, __eq());
^
/usr/include/c++/5/bits/stl_tree.h:1334:25: note: (if you use '-fpermissive',
G++ will accept your code, but allowing the use of an undeclared name is
deprecated)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 7987 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 93687] ppc64el:Gallium / clover fails to compile
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
@ 2016-01-13 2:38 ` bugzilla-daemon
2016-01-13 2:39 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-01-13 2:38 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 584 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
Francisco Jerez <currojerez@riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |currojerez@riseup.net
--- Comment #1 from Francisco Jerez <currojerez@riseup.net> ---
Created attachment 120997
--> https://bugs.freedesktop.org/attachment.cgi?id=120997&action=edit
clover_workaround_altivec_madness.patch
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2124 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 93687] ppc64el:Gallium / clover fails to compile
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
2016-01-13 2:38 ` bugzilla-daemon
@ 2016-01-13 2:39 ` bugzilla-daemon
2016-01-13 6:43 ` bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-01-13 2:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 724 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
Francisco Jerez <currojerez@riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #2 from Francisco Jerez <currojerez@riseup.net> ---
The error is caused by the altivec.h system header (included on PPC systems by
Khronos' CL headers we cannot change) which redefines standard C++ keywords.
You may be able to use the attached hack to work around the issue, sigh...
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2185 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 93687] ppc64el:Gallium / clover fails to compile
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
2016-01-13 2:38 ` bugzilla-daemon
2016-01-13 2:39 ` bugzilla-daemon
@ 2016-01-13 6:43 ` bugzilla-daemon
2016-01-14 3:17 ` bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-01-13 6:43 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 477 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
--- Comment #3 from Timothy Pearson <kb9vqf@pearsoncomputing.net> ---
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!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1297 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 93687] ppc64el:Gallium / clover fails to compile
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
` (2 preceding siblings ...)
2016-01-13 6:43 ` bugzilla-daemon
@ 2016-01-14 3:17 ` bugzilla-daemon
2016-01-14 16:48 ` bugzilla-daemon
2017-03-07 10:31 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-01-14 3:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
--- Comment #4 from Francisco Jerez <currojerez@riseup.net> ---
(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.
[-- Attachment #1.2: Type: text/html, Size: 2202 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 93687] ppc64el:Gallium / clover fails to compile
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
` (3 preceding siblings ...)
2016-01-14 3:17 ` bugzilla-daemon
@ 2016-01-14 16:48 ` bugzilla-daemon
2017-03-07 10:31 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2016-01-14 16:48 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
--- Comment #5 from Timothy Pearson <kb9vqf@pearsoncomputing.net> ---
Bug reported here:
https://www.khronos.org/bugzilla/show_bug.cgi?id=1449
Thanks for the hint, and link to the GCC bug report!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1213 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread* [Bug 93687] ppc64el:Gallium / clover fails to compile
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
` (4 preceding siblings ...)
2016-01-14 16:48 ` bugzilla-daemon
@ 2017-03-07 10:31 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2017-03-07 10:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 515 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=93687
Andreas Boll <andreas.boll.dev@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|NOTOURBUG |DUPLICATE
--- Comment #6 from Andreas Boll <andreas.boll.dev@gmail.com> ---
*** This bug has been marked as a duplicate of bug 68504 ***
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2161 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-03-07 10:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-13 1:49 [Bug 93687] ppc64el:Gallium / clover fails to compile bugzilla-daemon
2016-01-13 2:38 ` bugzilla-daemon
2016-01-13 2:39 ` bugzilla-daemon
2016-01-13 6:43 ` bugzilla-daemon
2016-01-14 3:17 ` bugzilla-daemon
2016-01-14 16:48 ` bugzilla-daemon
2017-03-07 10:31 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.