From owner-freebsd-stable@FreeBSD.ORG Thu May 21 13:55:04 2009 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E67FC1065675; Thu, 21 May 2009 13:55:04 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id EB9D58FC1B; Thu, 21 May 2009 13:55:03 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA13889; Thu, 21 May 2009 16:55:01 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A155D34.7050007@icyb.net.ua> Date: Thu, 21 May 2009 16:55:00 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: Robert Noland 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> In-Reply-To: <1242834982.1752.86.camel@balrog.2hip.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: "Paul B. Mahol" , freebsd-stable@FreeBSD.org Subject: Re: failed to set mtrr: invalid argument X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 13:55:05 -0000 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 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