[GHC] #10726: Upgrade MingW-w64 distributions for windows

GHC ghc-devs at haskell.org
Tue Nov 24 23:33:23 UTC 2015


#10726: Upgrade MingW-w64 distributions for windows
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:
            Type:  task              |               Status:  patch
        Priority:  high              |            Milestone:  7.10.3
       Component:  Build System      |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9218 #9014       |  Differential Rev(s):  Phab:D1123
  #10435                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 LogFloat seems to have a fallback method to a less accurate version
 depending on if FFI is used:

 {{{
 #ifdef __USE_FFI__
 foreign import ccall unsafe "math.h log1p"
     log1p :: Double -> Double
 #else
 -- See statistics:Statistics.Math for a more accurate Haskell
 -- implementation.
 log1p :: Double -> Double
 {-# INLINE [0] log1p #-}
 log1p x = log (1 + x)
 #endif
 }}}

 `__USE_FFI__` is set in the cabal file but of course won't be set using
 `--interactive`. Adding `-D__USE_FFI__` to the command should trigger the
 same error.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10726#comment:56>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list