[Mesa-dev] [PATCH 1/2] configure.ac: require pthread-stubs only where available

Eric Engestrom eric.engestrom at imgtec.com
Fri Mar 3 09:57:37 UTC 2017


On Thursday, 2017-03-02 19:02:44 +0000, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> The project is a thing only for BSD platforms. Or in other words - for
> any other platforms building/installing pthread-stubs results only in a
> pthread-stub.pc file.
> 
> And even where it provides a DSO, there's a fundamental design issue
> with it - see the pthread-stubs mailing list for the specifics.
> 
> Cc: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> CC: Gary Wong <gtw at gnu.org>
> Cc: Randy Fishel <randy.fishel at oracle.com>
> Cc: Niveditha Rau <niveditha.rau at oracle.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

This patch has been on ArchLinux for a while, and is therefore
Tested-by: Eric Engestrom <eric.engestrom at imgtec.com>
(as well as thousands of other people)

> ---
> Jeremy, others,
> 
> Afaict pthread-stubs expands to a simple .pc on your platforms, but a
> confirmation will be greatly appreciated.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index a3d1a00bdd..e94e46a0b8 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -799,7 +799,7 @@ fi
>  
>  dnl pthread-stubs is mandatory on targets where it exists
>  case "$host_os" in
> -cygwin* )
> +linux* | cygwin* | darwin* | solaris* | gnu*)
>      pthread_stubs_possible="no"
>      ;;
>  * )
> -- 
> 2.11.1
> 


More information about the mesa-dev mailing list