Opened 8 years ago
Last modified 8 years ago
#52601 closed defect
ghc compile error on sierra with Xcode 8.0 ( GetTime.c ) — at Initial Version
Reported by: | sonientaegi@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | ghc |
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.
Note: See
TracTickets for help on using
tickets.