[MacPorts] #52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c )
MacPorts
noreply at macports.org
Thu Oct 13 15:34:35 CEST 2016
#52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c )
----------------------------+--------------------------------
Reporter: sonientaegi@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: duplicate | Keywords:
Port: ghc |
----------------------------+--------------------------------
Description changed by mf2k@…:
Old description:
> Install ghc on sierra with Xcode 8.0 will meet compile error :
>
> :info:build rts/posix/GetTime.c:44:5:
> :info:build error: use of undeclared identifier
> 'mach_timebase_info_data_t'
> :info:build mach_timebase_info_data_t info;
>
> Luckily this was already patched on ghc haskel mirror on GitHub :
> https://github.com/ghc/ghc/commit/b7b130c5102948b38aaba723044288e16a80d492
>
> I manually altered source referencing this fix and could solve this
> compile error.
New description:
Install ghc on sierra with Xcode 8.0 will meet compile error :
{{{
:info:build rts/posix/GetTime.c:44:5:
:info:build error: use of undeclared identifier
'mach_timebase_info_data_t'
:info:build mach_timebase_info_data_t info;
}}}
Luckily this was already patched on ghc haskel mirror on GitHub :
https://github.com/ghc/ghc/commit/b7b130c5102948b38aaba723044288e16a80d492
I manually altered source referencing this fix and could solve this
compile error.
--
--
Ticket URL: <https://trac.macports.org/ticket/52601#comment:3>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list