Date: Thu, 21 May 2009 16:55:00 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: Robert Noland <rnoland@FreeBSD.org> Cc: "Paul B. Mahol" <onemda@gmail.com>, freebsd-stable@FreeBSD.org Subject: Re: failed to set mtrr: invalid argument Message-ID: <4A155D34.7050007@icyb.net.ua> In-Reply-To: <1242834982.1752.86.camel@balrog.2hip.net> References: <20090518222644.k2pez2x9q88o4k8g@webmail.1command.com> <1242740785.1752.4.camel@balrog.2hip.net> <20090519101524.z0z98wnwg00wccsc@webmail.1command.com> <1242760122.1752.17.camel@balrog.2hip.net> <20090519125924.q79c5na0e888s8sk@webmail.1command.com> <1242773639.1752.40.camel@balrog.2hip.net> <20090519161031.oz51pawluss8wss0@webmail.1command.com> <1242826891.1752.58.camel@balrog.2hip.net> <3a142e750905200716t318dfc30x77cfa2fa9a2478ac@mail.gmail.com> <1242829489.1752.80.camel@balrog.2hip.net> <3a142e750905200826q34d794d6o8e5abe43b49e7d7@mail.gmail.com> <1242834982.1752.86.camel@balrog.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
on 20/05/2009 18:56 Robert Noland said the following: > On Wed, 2009-05-20 at 17:26 +0200, Paul B. Mahol wrote: >> On 5/20/09, Robert Noland <rnoland@freebsd.org> wrote: >>> Yes, if xserver is built with HAL support, I see it linked with libthr. >>> If HAL is disabled, it doesn't appear to be. I'm trying to remember >>> exactly what the reported issue was, but I think it was X crashing on >>> exit. >> Looking at xorg-server source I did not see anything that points it >> must link to libthr, perhaps HAL support makes libthr linking >> mandatory. > > The issue crops up with libdrm-intel. libdrm is linked with pthread. I > know I talked about this with kib@ a while back and we determined that > the existing behavior was correct, but I think at that time we were > looking at xserver linked with libthr. Yes, it was me who was having crash-on-exit problem with intel+drm. The crash happened in pthread_mutex_destroy. The crash went away when I re-linked X with libthr added. HAL pulls in libthr dependency via libhal.la, otherwise it should be specified explicitely. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A155D34.7050007>