failed to set mtrr: invalid argument
Andriy Gapon
avg at icyb.net.ua
Thu May 21 13:55:05 UTC 2009
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 at 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
More information about the freebsd-stable
mailing list