Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/libGL the drivers we dlopen need pthread.



details:   https://anonhg.NetBSD.org/src/rev/78e1e905ae56
branches:  trunk
changeset: 998240:78e1e905ae56
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Apr 11 10:15:53 2019 +0000

description:
the drivers we dlopen need pthread.
I'm not sure about the exact scenario causing failure, but using the
libc pthread stubs isn't sufficient.

fixes one of the glmark2 crashes (at startup with llvmpipe)

diffstat:

 external/mit/xorg/lib/libGL/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 20b61a2b3527 -r 78e1e905ae56 external/mit/xorg/lib/libGL/Makefile
--- a/external/mit/xorg/lib/libGL/Makefile      Thu Apr 11 09:59:24 2019 +0000
+++ b/external/mit/xorg/lib/libGL/Makefile      Thu Apr 11 10:15:53 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.24 2019/04/09 14:31:06 maya Exp $
+#      $NetBSD: Makefile,v 1.25 2019/04/11 10:15:53 maya Exp $
 
 .include <bsd.own.mk>
 
@@ -191,7 +191,8 @@
                xcb-dri2        ${.CURDIR}/../libxcb/dri2 \
                xcb-glx         ${.CURDIR}/../libxcb/glx \
                expat           ${NETBSDSRCDIR}/external/mit/expat/lib/libexpat \
-               m               ${NETBSDSRCDIR}/lib/libm
+               m               ${NETBSDSRCDIR}/lib/libm \
+               pthread         ${NETBSDSRCDIR}/lib/libpthread
 
 MKLINT=no
 



Home | Main Index | Thread Index | Old Index