[GHC] #12799: Itimer.c doesn't compile on iOS non-threaded RTS
GHC
ghc-devs at haskell.org
Tue Nov 29 19:40:04 UTC 2016
#12799: Itimer.c doesn't compile on iOS non-threaded RTS
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: high | Milestone: 8.2.1
Component: Runtime System | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"1732d7ac43ca578deca39ea5a63cbf34f3cd9dd5/ghc"
1732d7ac/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="1732d7ac43ca578deca39ea5a63cbf34f3cd9dd5"
Define thread primitives if they're supported.
On iOS, we use the pthread-based implementation of Itimer.c even for a
non-threaded RTS. Since 999c464, this relies on synchronization
primitives like Mutex, so ensure those primitives are defined whenever
they are supported, even if !THREADED_RTS.
Fixes #12799.
Reviewers: erikd, austin, simonmar, bgamari
Reviewed By: simonmar, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2712
GHC Trac Issues: #12799
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12799#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list