dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 75400] regression in OpenCL since commit cc3aeac
Date: Sun, 23 Feb 2014 19:45:02 +0000	[thread overview]
Message-ID: <bug-75400-502-qBnR6D7ndI@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-75400-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1807 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=75400

--- Comment #5 from Francisco Jerez <currojerez@riseup.net> ---
(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.

[-- Attachment #1.2: Type: text/html, Size: 2739 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

  parent reply	other threads:[~2014-02-23 19:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-23 13:48 [Bug 75400] New: regression in OpenCL since commit cc3aeac bugzilla-daemon
2014-02-23 15:35 ` [Bug 75400] " bugzilla-daemon
2014-02-23 16:10 ` bugzilla-daemon
2014-02-23 16:31 ` bugzilla-daemon
2014-02-23 18:35 ` bugzilla-daemon
2014-02-23 19:45 ` bugzilla-daemon [this message]
2014-02-23 20:21 ` bugzilla-daemon
2014-02-23 20:26 ` bugzilla-daemon
2014-02-23 22:19 ` bugzilla-daemon
2014-02-24 15:04 ` bugzilla-daemon
2014-02-24 16:16 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-75400-502-qBnR6D7ndI@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox