From owner-freebsd-x11@freebsd.org Tue Oct 3 16:27:50 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71203E41BEA for ; Tue, 3 Oct 2017 16:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 59B107FFC1 for ; Tue, 3 Oct 2017 16:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 55CD9E41BE9; Tue, 3 Oct 2017 16:27:50 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55516E41BE8 for ; Tue, 3 Oct 2017 16:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 449897FFC0 for ; Tue, 3 Oct 2017 16:27:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v93GRouY053126 for ; Tue, 3 Oct 2017 16:27:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 222757] Some problems in mesa ports related to OpenCL Date: Tue, 03 Oct 2017 16:27:49 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2017 16:27:50 -0000 shamaz.mazum@gmail.com has reassigned Bugzilla Automation 's request for maintainer-feedback to x11@FreeBSD.org: Bug 222757: Some problems in mesa ports related to OpenCL https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222757 --- Description --- Created attachment 186882 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186882&action= =3Dedit Gallium pipe-loader patch Hello. I've tried OpenCL using lang/clover provider and encountered some problems in mesa ports (can be fixed patching graphics/mesa-dri). I use Fre= eBSD 11.1 and have the port tree updated with portsnap and packages updated with portupgrade 1) OpenCL applications do not work in X11 environment. I have exactly the s= ame problem as described here: bug #214204 (*) The fix is still the same, maybe this is a regression. I attach patch which is combined from an old patch in graphics/mesa-dri/files and the fix. I still do not know how to link -lxcb = to opencl targets. Autoconf is very complicated for me, so I do not know what = to do. 2) When I call clReleaseContext() from my program, it finishes OK, but prog= ram crashes with segmantation fault when calls atexit handlers, having very str= ange backtrace: (gdb) bt #0 0x0000000808534500 in ?? () #1 0x0000000800b754d5 in __cxa_finalize (dso=3D0x0) at /usr/src/lib/libc/stdlib/atexit.c:237 #2 0x0000000800b063d1 in exit (status=3D0) at /usr/src/lib/libc/stdlib/exi= t.c:72 #3 0x0000000000400da6 in _start () #4 0x0000000800625000 in ?? () #5 0x0000000000000000 in ?? () clinfo has the same behaviour. I do not know the solution. Any suggestions? (*) https://lists.freebsd.org/pipermail/freebsd-x11/2016-November/018240.ht= ml