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

GHC ghc-devs at haskell.org
Mon Nov 30 16:30:49 UTC 2015


#10726: Upgrade MingW-w64 distributions for windows
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:
            Type:  task              |               Status:  patch
        Priority:  high              |            Milestone:  8.0.1
       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 RyanGlScott):

 D'oh, you're right, I forgot about `-D__USE_FFI__`. Running `ghc-stage2
 --interactive -D__USE_FFI__ -isrc src/Data/Number/LogFloat.hs` does indeed
 trigger the same error.

 Another curiosity: I rebuilt GHC with the following change:

 {{{#!patch
 diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
 index 8413d31..31b190e 100644
 --- a/rts/RtsSymbols.c
 +++ b/rts/RtsSymbols.c
 @@ -123,6 +123,8 @@
        SymI_HasProto(isalnum)                             \
        SymI_HasProto(isascii)                             \
        RTS___MINGW_VFPRINTF_SYM                           \
 +      SymI_HasProto(log1p)                               \
 +      SymI_HasProto(expm1)                               \
        SymI_HasProto(strcmp)                              \
        SymI_HasProto(memmove)                             \
        SymI_HasProto(realloc)                             \
 }}}

 And still experienced the same `unknown symbol log1p` error as before.

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


More information about the ghc-tickets mailing list