All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD
@ 2017-04-05 16:24 Emil Velikov
  2017-04-05 16:43 ` Eric Engestrom
  0 siblings, 1 reply; 3+ messages in thread
From: Emil Velikov @ 2017-04-05 16:24 UTC (permalink / raw)
  To: dri-devel; +Cc: emil.l.velikov

From: Emil Velikov <emil.velikov@collabora.com>

As mentioned on the xcb mailing list, the platform uses the GLIBC
forwarding mechanism.

https://lists.freedesktop.org/archives/xcb/2016-November/010896.html

Cc: Andreas Boll <andreas.boll.dev@gmail.com>
Reported-by: Andreas Boll <andreas.boll.dev@gmail.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
---
I'm slightly inclined to go a single *gnu* but I'm not 100% sure if that
won't catch some corner case platforms. Opinions ?
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f1a13090..0f6fe46d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,7 @@ LT_INIT([disable-static])
 dnl pthread-stubs is mandatory on BSD platforms, due to the nature of the
 dnl project. Even then there's a notable issue as described in the project README
 case "$host_os" in
-linux* | cygwin* | darwin* | solaris* | gnu*)
+linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu*)
     pthread_stubs_possible="no"
     ;;
 * )
-- 
2.11.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD
  2017-04-05 16:24 [PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD Emil Velikov
@ 2017-04-05 16:43 ` Eric Engestrom
  2017-04-05 16:53   ` Andreas Boll
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Engestrom @ 2017-04-05 16:43 UTC (permalink / raw)
  To: Emil Velikov; +Cc: dri-devel

On Wednesday, 2017-04-05 17:24:31 +0100, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov@collabora.com>
> 
> As mentioned on the xcb mailing list, the platform uses the GLIBC
> forwarding mechanism.
> 
> https://lists.freedesktop.org/archives/xcb/2016-November/010896.html
> 
> Cc: Andreas Boll <andreas.boll.dev@gmail.com>
> Reported-by: Andreas Boll <andreas.boll.dev@gmail.com>
> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
> ---
> I'm slightly inclined to go a single *gnu* but I'm not 100% sure if that
> won't catch some corner case platforms. Opinions ?

Go with `*gnu*` and replace it with something more complex if/when
someone reports this breaks their platform?
Without knowing any more, it's almost as likely that this hypothetical
platform would match `*-gnu*` as well anyway.

Either way:
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>

> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index f1a13090..0f6fe46d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -64,7 +64,7 @@ LT_INIT([disable-static])
>  dnl pthread-stubs is mandatory on BSD platforms, due to the nature of the
>  dnl project. Even then there's a notable issue as described in the project README
>  case "$host_os" in
> -linux* | cygwin* | darwin* | solaris* | gnu*)
> +linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu*)
>      pthread_stubs_possible="no"
>      ;;
>  * )
> -- 
> 2.11.1
> 
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD
  2017-04-05 16:43 ` Eric Engestrom
@ 2017-04-05 16:53   ` Andreas Boll
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Boll @ 2017-04-05 16:53 UTC (permalink / raw)
  To: Eric Engestrom; +Cc: Emil Velikov, dri-devel

2017-04-05 18:43 GMT+02:00 Eric Engestrom <eric.engestrom@imgtec.com>:
> On Wednesday, 2017-04-05 17:24:31 +0100, Emil Velikov wrote:
>> From: Emil Velikov <emil.velikov@collabora.com>
>>
>> As mentioned on the xcb mailing list, the platform uses the GLIBC
>> forwarding mechanism.
>>
>> https://lists.freedesktop.org/archives/xcb/2016-November/010896.html
>>
>> Cc: Andreas Boll <andreas.boll.dev@gmail.com>
>> Reported-by: Andreas Boll <andreas.boll.dev@gmail.com>
>> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
>> ---
>> I'm slightly inclined to go a single *gnu* but I'm not 100% sure if that
>> won't catch some corner case platforms. Opinions ?
>
> Go with `*gnu*` and replace it with something more complex if/when
> someone reports this breaks their platform?
> Without knowing any more, it's almost as likely that this hypothetical
> platform would match `*-gnu*` as well anyway.
>
> Either way:
> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>

Yeah, sounds good.

Either way too for this and the mesa patch:
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>

>
>> ---
>>  configure.ac | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index f1a13090..0f6fe46d 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -64,7 +64,7 @@ LT_INIT([disable-static])
>>  dnl pthread-stubs is mandatory on BSD platforms, due to the nature of the
>>  dnl project. Even then there's a notable issue as described in the project README
>>  case "$host_os" in
>> -linux* | cygwin* | darwin* | solaris* | gnu*)
>> +linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu*)
>>      pthread_stubs_possible="no"
>>      ;;
>>  * )
>> --
>> 2.11.1
>>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-05 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 16:24 [PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD Emil Velikov
2017-04-05 16:43 ` Eric Engestrom
2017-04-05 16:53   ` Andreas Boll

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.