[1/2] list.m4: Add some new pthread symbols

Submitted by Ben Widawsky on May 23, 2016, 10:07 p.m.

Details

Message ID 1464041227-2734-1-git-send-email-ben@bwidawsk.net
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in XCB

Not browsing as part of any series.

Commit Message

Ben Widawsky May 23, 2016, 10:07 p.m.
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 <robh@kernel.org>
Date:   Tue May 3 21:02:47 2016 -0500

    gbm: Add map/unmap functions

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

Patch hide | download patch | download mbox

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)

Comments

Am 24.05.2016 um 00:07 schrieb Ben Widawsky:
> 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 <robh@kernel.org>
> Date:   Tue May 3 21:02:47 2016 -0500
> 
>     gbm: Add map/unmap functions
> 
> Cc: Rob Clark <robclark@freedesktop.org>
> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>

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?

> ---
>  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)
>