Yes, it is exactly the issue Brandon references. Thanks.
I have got one concern with this fix, though: doesn’t that mean that a GHC *build* on macOS 10.12 will not run on earlier versions of macOS?
In the meantime, I found,
which explains the issue. Now, when you compile on macOS 10.12 with this fix, GHC RTS will use ’clock_gettime’. However, that symbol is not available in the system libraries of earlier version of macOS, which will lead to a dyld failure when trying to run the executable.
In fact, given this is in the RTS, any Haskell program compiled with such as build of GHC would be unable to run on macOS versions older than 10.12 (unless I am mistaken). Has this been considered?
Manuel
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs