From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] New: regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 13:48:56 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0838050120==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5967DFA37C for ; Sun, 23 Feb 2014 05:48:56 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0838050120== Content-Type: multipart/alternative; boundary="1393163336.BbdE80.23295"; charset="us-ascii" --1393163336.BbdE80.23295 Date: Sun, 23 Feb 2014 13:48:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=75400 Priority: medium Bug ID: 75400 Assignee: dri-devel@lists.freedesktop.org Summary: regression in OpenCL since commit cc3aeac Severity: normal Classification: Unclassified OS: Linux (All) Reporter: brunojimen@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa Hi, This morning I recompiled mesa and found that the OpenCL support was broken. I have managed to bisect the regresion back to commit cc3aeac ( http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc3aeacab64a6928a903f1dbfeaa7c880a8de5a6 ) Strangely, it's nothing related to clover. I am using Arch linux with kernel 3.13.4 and a AMD HD5470. Nothing interesting in dmesg or Xorg logs. If I can give you any more information, just ask. -- You are receiving this mail because: You are the assignee for the bug. --1393163336.BbdE80.23295 Date: Sun, 23 Feb 2014 13:48:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 75400
Assignee dri-devel@lists.freedesktop.org
Summary regression in OpenCL since commit cc3aeac
Severity normal
Classification Unclassified
OS Linux (All)
Reporter brunojimen@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

Hi,

This morning I recompiled mesa and found that the OpenCL support was broken. I
have managed to bisect the regresion back to commit cc3aeac (
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc3aeacab64a6928a903f1dbfeaa7c880a8de5a6
) Strangely, it's nothing related to clover.

I am using Arch linux with kernel 3.13.4 and a AMD HD5470. Nothing interesting
in dmesg or Xorg logs.

If I can give you any more information, just ask.


You are receiving this mail because:
  • You are the assignee for the bug.
--1393163336.BbdE80.23295-- --===============0838050120== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0838050120==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 15:35:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1919666116==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C5EAFA815 for ; Sun, 23 Feb 2014 07:35:02 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1919666116== Content-Type: multipart/alternative; boundary="1393169702.3f784C031.14156"; charset="us-ascii" --1393169702.3f784C031.14156 Date: Sun, 23 Feb 2014 15:35:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=75400 --- Comment #1 from Emil Velikov --- Hi Bruno What you mean with "broken" here ? If you're talking about a compilation problem take a look at bug 75356, which has a patch to resolve it. If you are having different a problem let us know what it is :) -- You are receiving this mail because: You are the assignee for the bug. --1393169702.3f784C031.14156 Date: Sun, 23 Feb 2014 15:35:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 75400 from
Hi Bruno

What you mean with "broken" here ? If you're talking about a compilation
problem take a look at bug 75356, which has a patch to resolve it.

If you are having different a problem let us know what it is :)


You are receiving this mail because:
  • You are the assignee for the bug.
--1393169702.3f784C031.14156-- --===============1919666116== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1919666116==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 16:10:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1398647418==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 6722DFA224 for ; Sun, 23 Feb 2014 08:10:25 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1398647418== Content-Type: multipart/alternative; boundary="1393171825.E44c0.22030"; charset="us-ascii" --1393171825.E44c0.22030 Date: Sun, 23 Feb 2014 16:10:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75400 --- Comment #2 from Bruno Jim=C3=A9nez --- Hi Emil, No, it's not a compilation error, nor for mesa nor for opencl code. It's ju= st that OpenCL programs crash with segfaults. Every test from http://cgit.freedesktop.org/~tstellar/opencl-example/ fails= and its 'hello_world' program crash with a segfault. As the code changed in that bug has nothing to do with clover, maybe the problem is with my configuration? Here's what I pass to autogen.sh, surely there's something I don't need, bu= t I took them from a PKGBUILD: --prefix=3D/usr \ --sysconfdir=3D/etc \ --with-dri-driverdir=3D/usr/lib/xorg/modules/dri \ --with-gallium-drivers=3Dr600,swrast\ --with-dri-drivers=3Dswrast \ --enable-gallium-llvm \ --enable-egl \ --enable-gallium-egl \ --with-egl-platforms=3Dx11,drm,wayland \ --enable-shared-glapi \ --enable-gbm \ --enable-gallium-gbm \ --enable-glx-tls \ --enable-dri \ --enable-glx \ --enable-osmesa \ --enable-texture-float \ --enable-xa \ --enable-vdpau \ --enable-omx \ --with-llvm-shared-libs \ --enable-opencl --enable-opencl-icd \ --with-clang-libdir=3D/usr/lib If there's anything else I can do to help, just ask. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug. --1393171825.E44c0.22030 Date: Sun, 23 Feb 2014 16:10:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 75400<= /a> from Bruno Jim=C3=A9nez
Hi Emil,

No, it's not a compilation error, nor for mesa nor for opencl code. It's ju=
st
that OpenCL programs crash with segfaults.

Every test from http://cgit.freedesktop.org/~tstellar/opencl-example/ fails and
its 'hello_world' program crash with a segfault.

As the code changed in that bug has nothing to do with clover, maybe the
problem is with my configuration?

Here's what I pass to autogen.sh, surely there's something I don't need, bu=
t I
took them from a PKGBUILD:

  --prefix=3D/usr \
  --sysconfdir=3D/etc \
  --with-dri-driverdir=3D/usr/lib/xorg/modules/dri \
  --with-gallium-drivers=3Dr600,swrast\
  --with-dri-drivers=3Dswrast \
  --enable-gallium-llvm \
  --enable-egl \
  --enable-gallium-egl \
  --with-egl-platforms=3Dx11,drm,wayland \
  --enable-shared-glapi \
  --enable-gbm \
  --enable-gallium-gbm \
  --enable-glx-tls \
  --enable-dri \
  --enable-glx \
  --enable-osmesa \
  --enable-texture-float \
  --enable-xa \
  --enable-vdpau \
  --enable-omx \
  --with-llvm-shared-libs \
  --enable-opencl --enable-opencl-icd \
  --with-clang-libdir=3D/usr/lib

If there's anything else I can do to help, just ask.
Thanks!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393171825.E44c0.22030-- --===============1398647418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1398647418==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 16:31:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0462297802==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EE90FA815 for ; Sun, 23 Feb 2014 08:31:34 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0462297802== Content-Type: multipart/alternative; boundary="1393173094.c8F3E271.26382"; charset="us-ascii" --1393173094.c8F3E271.26382 Date: Sun, 23 Feb 2014 16:31:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=75400 --- Comment #3 from Emil Velikov --- Strange I do not see how the commit will cause other than compilation issues. FWIW might be worth double-checking that the bisect went fine and attaching a back trace of the segfault. -- You are receiving this mail because: You are the assignee for the bug. --1393173094.c8F3E271.26382 Date: Sun, 23 Feb 2014 16:31:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 75400 from
Strange I do not see how the commit will cause other than compilation issues.
FWIW might be worth double-checking that the bisect went fine and attaching a
back trace of the segfault.


You are receiving this mail because:
  • You are the assignee for the bug.
--1393173094.c8F3E271.26382-- --===============0462297802== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0462297802==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 18:35:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1590436067==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CD12DFA847 for ; Sun, 23 Feb 2014 10:35:42 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1590436067== Content-Type: multipart/alternative; boundary="1393180542.fD8EC0.20568"; charset="us-ascii" --1393180542.fD8EC0.20568 Date: Sun, 23 Feb 2014 18:35:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75400 --- Comment #4 from Bruno Jim=C3=A9nez --- I am also very surpised of what commit seems to start this. I have done the bisect making Arch packages, installing and then testing them. So, unless I have missed something, which is also possible, that's it. I have recompiled at commit cc3aeac with debug information, but for some strange reason, gdb don't want to step into OpenCL functions. Here's what I have guessed: - Actually, the segfault comes from a fprintf with a "%s" and a null pointe= r. It can be solved by just adding a default case to 'clUtilErrorString'. - The real problem happens with 'clGetPlatformIDs', which returns an error value of '-1001'. I have triggered the return of 'CL_INVALID_VALUE', and tried various combinations of parameters to see if it changed anything. And seems to be o= ne thing or the other. I have checked the code at mesa/src/gallium/state_trackers/clover/api/platform.cpp (where clGetPlatfor= mIDs is) and have no clue how it can be possible. Sorry if this isn't enough information, but I completely clueless of what c= an be happening. I will check again my packages to see if I have compiled some version and h= ave called it other. If I can help with anything else, just ask. --=20 You are receiving this mail because: You are the assignee for the bug. --1393180542.fD8EC0.20568 Date: Sun, 23 Feb 2014 18:35:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 75400<= /a> from Bruno Jim=C3=A9nez
I am also very surpised of what commit seems to start this. I =
have done the
bisect making Arch packages, installing and then testing them. So, unless I
have missed something, which is also possible, that's it.

I have recompiled at commit cc3aeac with debug information, but for some
strange reason, gdb don't want to step into OpenCL functions.

Here's what I have guessed:

- Actually, the segfault comes from a fprintf with a "%s" and a n=
ull pointer.
It can be solved by just adding a default case to 'clUtilErrorString'.

- The real problem happens with 'clGetPlatformIDs', which returns an error
value of '-1001'.

I have triggered the return of 'CL_INVALID_VALUE', and tried various
combinations of parameters to see if it changed anything. And seems to be o=
ne
thing or the other.

I have checked the code at
mesa/src/gallium/state_trackers/clover/api/platform.cpp (where clGetPlatfor=
mIDs
is) and have no clue how it can be possible.

Sorry if this isn't enough information, but I completely clueless of what c=
an
be happening.

I will check again my packages to see if I have compiled some version and h=
ave
called it other.

If I can help with anything else, just ask.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393180542.fD8EC0.20568-- --===============1590436067== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1590436067==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 19:45:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0012191953==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 93DAAFA84D for ; Sun, 23 Feb 2014 11:45:02 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0012191953== Content-Type: multipart/alternative; boundary="1393184702.f0bACC41.2969"; charset="us-ascii" --1393184702.f0bACC41.2969 Date: Sun, 23 Feb 2014 19:45:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=75400 --- Comment #5 from Francisco Jerez --- (In reply to comment #4) > I am also very surpised of what commit seems to start this. I have done the > bisect making Arch packages, installing and then testing them. So, unless I > have missed something, which is also possible, that's it. > > I have recompiled at commit cc3aeac with debug information, but for some > strange reason, gdb don't want to step into OpenCL functions. > > Here's what I have guessed: > > - Actually, the segfault comes from a fprintf with a "%s" and a null > pointer. It can be solved by just adding a default case to > 'clUtilErrorString'. > > - The real problem happens with 'clGetPlatformIDs', which returns an error > value of '-1001'. > > I have triggered the return of 'CL_INVALID_VALUE', and tried various > combinations of parameters to see if it changed anything. And seems to be > one thing or the other. > > I have checked the code at > mesa/src/gallium/state_trackers/clover/api/platform.cpp (where > clGetPlatformIDs is) and have no clue how it can be possible. > > Sorry if this isn't enough information, but I completely clueless of what > can be happening. > > I will check again my packages to see if I have compiled some version and > have called it other. > > If I can help with anything else, just ask. Most likely you're getting that segfault somewhere in the ICD loader because it's unable to load Mesa's ICD library. I guess that this hunk: +if NEED_WINSYS_XLIB +AM_CPPFLAGS += -DHAVE_WINSYS_XLIB +endif pulls in the XLIB pipe-loader back-end that was previously ifdef-ed out in Clover builds, leading to undefined symbols in the resulting library. -- You are receiving this mail because: You are the assignee for the bug. --1393184702.f0bACC41.2969 Date: Sun, 23 Feb 2014 19:45:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 75400 from
(In reply to comment #4)
> I am also very surpised of what commit seems to start this. I have done the
> bisect making Arch packages, installing and then testing them. So, unless I
> have missed something, which is also possible, that's it.
> 
> I have recompiled at commit cc3aeac with debug information, but for some
> strange reason, gdb don't want to step into OpenCL functions.
> 
> Here's what I have guessed:
> 
> - Actually, the segfault comes from a fprintf with a "%s" and a null
> pointer. It can be solved by just adding a default case to
> 'clUtilErrorString'.
> 
> - The real problem happens with 'clGetPlatformIDs', which returns an error
> value of '-1001'.
> 
> I have triggered the return of 'CL_INVALID_VALUE', and tried various
> combinations of parameters to see if it changed anything. And seems to be
> one thing or the other.
> 
> I have checked the code at
> mesa/src/gallium/state_trackers/clover/api/platform.cpp (where
> clGetPlatformIDs is) and have no clue how it can be possible.
> 
> Sorry if this isn't enough information, but I completely clueless of what
> can be happening.
> 
> I will check again my packages to see if I have compiled some version and
> have called it other.
> 
> If I can help with anything else, just ask.

Most likely you're getting that segfault somewhere in the ICD loader because
it's unable to load Mesa's ICD library.  I guess that this hunk:

+if NEED_WINSYS_XLIB
+AM_CPPFLAGS += -DHAVE_WINSYS_XLIB
+endif

pulls in the XLIB pipe-loader back-end that was previously ifdef-ed out in
Clover builds, leading to undefined symbols in the resulting library.


You are receiving this mail because:
  • You are the assignee for the bug.
--1393184702.f0bACC41.2969-- --===============0012191953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0012191953==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 20:21:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0624797523==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AEFE2FA35D for ; Sun, 23 Feb 2014 12:21:34 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0624797523== Content-Type: multipart/alternative; boundary="1393186894.EBbB73A1.10244"; charset="us-ascii" --1393186894.EBbB73A1.10244 Date: Sun, 23 Feb 2014 20:21:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=75400 --- Comment #6 from Emil Velikov --- (In reply to comment #5) > > Most likely you're getting that segfault somewhere in the ICD loader because > it's unable to load Mesa's ICD library. I guess that this hunk: > > +if NEED_WINSYS_XLIB > +AM_CPPFLAGS += -DHAVE_WINSYS_XLIB > +endif > > pulls in the XLIB pipe-loader back-end that was previously ifdef-ed out in > Clover builds, leading to undefined symbols in the resulting library. Would that not cause the build/link to fail ? Hmm guess not, since the opencl target is missing -no-undefined. Francisco, Is there any particular reason why we do not use -no-undefined for opencl ? Bruno, Feel free to grab the patch from bug 75356, which should handle the symbol problems and continue from there. -- You are receiving this mail because: You are the assignee for the bug. --1393186894.EBbB73A1.10244 Date: Sun, 23 Feb 2014 20:21:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 75400 from
(In reply to comment #5)
> 
> Most likely you're getting that segfault somewhere in the ICD loader because
> it's unable to load Mesa's ICD library.  I guess that this hunk:
> 
> +if NEED_WINSYS_XLIB
> +AM_CPPFLAGS += -DHAVE_WINSYS_XLIB
> +endif
> 
> pulls in the XLIB pipe-loader back-end that was previously ifdef-ed out in
> Clover builds, leading to undefined symbols in the resulting library.

Would that not cause the build/link to fail ? Hmm guess not, since the opencl
target is missing -no-undefined.

Francisco,
Is there any particular reason why we do not use -no-undefined for opencl ?

Bruno,
Feel free to grab the patch from bug 75356, which should handle the symbol
problems and continue from there.


You are receiving this mail because:
  • You are the assignee for the bug.
--1393186894.EBbB73A1.10244-- --===============0624797523== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0624797523==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 20:26:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1480091143==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 72082F9D01 for ; Sun, 23 Feb 2014 12:26:12 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1480091143== Content-Type: multipart/alternative; boundary="1393187172.12a4650.11055"; charset="us-ascii" --1393187172.12a4650.11055 Date: Sun, 23 Feb 2014 20:26:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75400 --- Comment #7 from Bruno Jim=C3=A9nez --- Hi Francisco, The segfaults were caused because 'clGetPlatformIDs' returned an strange er= ror (-1001), and when passed to 'clUtilErrorString' (from 'cl_util.c') it meant= an unhandled error case. So it returned nothing, and when fprintf tries to wri= te it it gives a segfault. Emil, I'll try that patch as soon as I can. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug. --1393187172.12a4650.11055 Date: Sun, 23 Feb 2014 20:26:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 75400<= /a> from Bruno Jim=C3=A9nez
Hi Francisco,

The segfaults were caused because 'clGetPlatformIDs' returned an strange er=
ror
(-1001), and when passed to 'clUtilErrorString' (from 'cl_util.c') it meant=
 an
unhandled error case. So it returned nothing, and when fprintf tries to wri=
te
it it gives a segfault.


Emil,

I'll try that patch as soon as I can.


Thanks!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393187172.12a4650.11055-- --===============1480091143== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1480091143==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Sun, 23 Feb 2014 22:19:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0893029140==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D335FA8C8 for ; Sun, 23 Feb 2014 14:19:21 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0893029140== Content-Type: multipart/alternative; boundary="1393193961.ef4330.450"; charset="us-ascii" --1393193961.ef4330.450 Date: Sun, 23 Feb 2014 22:19:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75400 --- Comment #8 from Bruno Jim=C3=A9nez --- Hi, I'm afraid that that patch doesn't help. I have also tried the patch you ha= ve sent to the Mailing List ( http://lists.freedesktop.org/archives/mesa-dev/2014-February/054780.html ) = but also nothing. If there's anything else I can do, just ask. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug. --1393193961.ef4330.450 Date: Sun, 23 Feb 2014 22:19:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 8 on bug 75400<= /a> from Bruno Jim=C3=A9nez
Hi,

I'm afraid that that patch doesn't help. I have also tried the patch you ha=
ve
sent to the Mailing List (
http://lists.freedesktop.org/archives/mesa-dev/2014-February/0547=
80.html ) but
also nothing.

If there's anything else I can do, just ask.
Thanks!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393193961.ef4330.450-- --===============0893029140== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0893029140==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Mon, 24 Feb 2014 15:04:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1667652038==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B6AFAFAADE for ; Mon, 24 Feb 2014 07:04:46 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1667652038== Content-Type: multipart/alternative; boundary="1393254286.7BE3EaD1.26715"; charset="us-ascii" --1393254286.7BE3EaD1.26715 Date: Mon, 24 Feb 2014 15:04:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=75400 --- Comment #9 from Emil Velikov --- (In reply to comment #8) > Hi, > > I'm afraid that that patch doesn't help. I have also tried the patch you > have sent to the Mailing List ( > http://lists.freedesktop.org/archives/mesa-dev/2014-February/054780.html ) > but also nothing. > Interesting that patch you've linked should have caused build breakage as there is yet another missing symbol/reference :\ Just pushed a few patches that should resolve the missing symbols within pipe-loader, used by opencl. Checkout latest master and give it a try. -- You are receiving this mail because: You are the assignee for the bug. --1393254286.7BE3EaD1.26715 Date: Mon, 24 Feb 2014 15:04:46 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 75400 from
(In reply to comment #8)
> Hi,
> 
> I'm afraid that that patch doesn't help. I have also tried the patch you
> have sent to the Mailing List (
> http://lists.freedesktop.org/archives/mesa-dev/2014-February/054780.html )
> but also nothing.
> 
Interesting that patch you've linked should have caused build breakage as there
is yet another missing symbol/reference :\

Just pushed a few patches that should resolve the missing symbols within
pipe-loader, used by opencl. Checkout latest master and give it a try.


You are receiving this mail because:
  • You are the assignee for the bug.
--1393254286.7BE3EaD1.26715-- --===============1667652038== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1667652038==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75400] regression in OpenCL since commit cc3aeac Date: Mon, 24 Feb 2014 16:16:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1873693555==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C30DBFA9C5 for ; Mon, 24 Feb 2014 08:16:25 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1873693555== Content-Type: multipart/alternative; boundary="1393258585.AFDfa0.7841"; charset="us-ascii" --1393258585.AFDfa0.7841 Date: Mon, 24 Feb 2014 16:16:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75400 Bruno Jim=C3=A9nez changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Bruno Jim=C3=A9nez --- Hi, The latest master branch works perfectly. Thanks a lot! --=20 You are receiving this mail because: You are the assignee for the bug. --1393258585.AFDfa0.7841 Date: Mon, 24 Feb 2014 16:16:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bruno Jim=C3=A9nez changed bug 75400<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 10 on bug 75400<= /a> from Bruno Jim=C3=A9nez
Hi,

The latest master branch works perfectly.

Thanks a lot!


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1393258585.AFDfa0.7841-- --===============1873693555== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1873693555==--