[GHC] #11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X

#11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Keywords: | Operating System: MacOS X Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- It seems cb3456d82eaa8cea6b3 breaks OSX: {{{ ClockGetTime.hsc:24:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' ..../inplace/lib/template-hsc.h:36:41: note: expanded from macro 'hsc_const' hsc_printf ("%lld", (long long)(x)); }}} Probably also a problem on *BSD. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11733 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by erikd): This may help: http://stackoverflow.com/questions/5167269/clock-gettime- alternative-in-mac-os-x -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11733#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X
-------------------------------------+-------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: MacOS X | 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

#11733: Undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' on OS X -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by erikd): * status: new => closed * resolution: => fixed Comment: This has been fixed and is currently not applicable to the ghc-8.0 branch as the problem it fixes is not yet on the ghc-8.0 branch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11733#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC