[haiku-bugs] Re: [Haiku] #16965: __STDC_NO_THREADS__ is not defined in Haiku

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 08 Sep 2021 15:13:58 -0000

#16965: __STDC_NO_THREADS__ is not defined in Haiku
------------------------+-------------------------
  Reporter:  Begasus    |      Owner:  nobody
      Type:  bug        |     Status:  new
  Priority:  normal     |  Milestone:  Unscheduled
 Component:  - General  |    Version:  R1/beta2
Resolution:             |   Keywords:
Blocked By:             |   Blocking:
  Platform:  All        |
------------------------+-------------------------
Description changed by pulkomandy:

Old description:

When trying to build scipy I getting an error that the script wants to
include "threads.h".
This however isn't availabe in Haiku and the check for that is due to
__STDC_NO_THREADS__ not being defined.

The source of the issue is with numpy.
See a PR at https://github.com/numpy/numpy/pull/18180

''__STDC_VERSION__ = 201710
__STDC_NO_THREADS__ not defined
__GLIBC__ not defined''

New description:

 When trying to build scipy I getting an error that the script wants to
 include "threads.h".
 This however isn't availabe in Haiku and the check for that is due to
 {{{__STDC_NO_THREADS__}}} not being defined.

 The source of the issue is with numpy.
 See a PR at https://github.com/numpy/numpy/pull/18180

 {{{
 __STDC_VERSION__ = 201710
 __STDC_NO_THREADS__ not defined
 __GLIBC__ not defined
 }}}

--
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16965#comment:8>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: