Discussion:
[Xcb] [PATCH 1/2] list.m4: Add some new pthread symbols
Ben Widawsky
2016-05-23 22:07:06 UTC
Permalink
Lots of symbols are still missing, but this is required to build mesa as a
result of using pthread-stubs with the latest mesa, specifically:
commit 8aeb6d768b4285f600d09f38d0b406adf46c251d
Author: Rob Herring <***@kernel.org>
Date: Tue May 3 21:02:47 2016 -0500

gbm: Add map/unmap functions

Cc: Rob Clark <***@freedesktop.org>
Signed-off-by: Ben Widawsky <***@bwidawsk.net>
---
list.m4 | 3 +++
1 file changed, 3 insertions(+)

diff --git a/list.m4 b/list.m4
index 79b5b59..10c1965 100644
--- a/list.m4
+++ b/list.m4
@@ -13,3 +13,6 @@ alias(zero, int, pthread_cond_signal)
alias(zero, int, pthread_cond_broadcast)
alias(equal, int, pthread_equal)
alias(exit, void, pthread_exit)
+alias(zero, int, pthread_mutexattr_init)
+alias(zero, int, pthread_mutexattr_settype)
+alias(zero, int, pthread_mutexattr_destroy)
--
2.8.2
Ben Widawsky
2016-05-23 22:07:07 UTC
Permalink
Signed-off-by: Ben Widawsky <***@bwidawsk.net>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ef300ad..2eb9a81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_INIT([libpthread-stubs],
- 0.3,
+ 0.4,
[***@lists.freedesktop.org])
AC_CONFIG_SRCDIR([pthread-stubs.pc.in])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
--
2.8.2
Uli Schlachter
2016-05-29 13:53:47 UTC
Permalink
Post by Ben Widawsky
Lots of symbols are still missing, but this is required to build mesa as a
commit 8aeb6d768b4285f600d09f38d0b406adf46c251d
Date: Tue May 3 21:02:47 2016 -0500
gbm: Add map/unmap functions
Patch looks good to me, so pushed upstream. However, I'll skip patch 2 since
your intention (I guess) is that it is accompanied with a new release of
pthread-stubs and I'll skip that job.

Does anyone else feel like doing a release? Should perhaps some more symbols be
"implemented" first? If so, which?
Post by Ben Widawsky
---
list.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/list.m4 b/list.m4
index 79b5b59..10c1965 100644
--- a/list.m4
+++ b/list.m4
@@ -13,3 +13,6 @@ alias(zero, int, pthread_cond_signal)
alias(zero, int, pthread_cond_broadcast)
alias(equal, int, pthread_equal)
alias(exit, void, pthread_exit)
+alias(zero, int, pthread_mutexattr_init)
+alias(zero, int, pthread_mutexattr_settype)
+alias(zero, int, pthread_mutexattr_destroy)
--
- He made himself, me nothing, you nothing out of the dust
- Er machte sich mir nichts, dir nichts aus dem Staub
Loading...