tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libdrm-2.4.11 and xf86-video-intel-2.7.x on DragonFly (might affect others as well)



On Mon, 25 May 2009 18:04:22 +0900, Hasso Tepper <hasso%netbsd.org@localhost> 
wrote:

> Thanks to many small hints from various sources I found out why the new
> libdrm/intel doesn't work at all on DragonFly - xorg server (probably)
> needs to be linked against libpthread - (the new?) intel_bufmgr_* code
> uses pthread mutexes.
>
> The mesa/xserver update I posted earlier solved the issue because the Xorg
> binary gets linked against libpthread indirectly in there - via openssl.
>
> I don't know how to solve it though. I guess that linking Xorg server
> against libpthread is the way to go (although linking libdrm library
> against libpthread would work as well on DragonFly). But what's the
> portable way to do it?

x11/modular-xorg-server/Makefile should include mk/dlopen.buildlink3.mk,
and adjust _BLNK_DLOPEN_REQUIRE_PTHREAD_PLATFORMS in mk/dlopen.builtin.mk?

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index