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

GHC ghc-devs at haskell.org
Tue Nov 24 00:48:11 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:                    |
-------------------------------------+-------------------------------------
Changes (by lukexi):

 * priority:  normal => high
 * status:  new => patch


Comment:

 OK, with these 5 symbols added all of my libraries are working perfectly
 again.

 {{{
 diff --git a/rts/Linker.c b/rts/Linker.c
 index 68f1f59..a939e35 100644
 --- a/rts/Linker.c
 +++ b/rts/Linker.c
 @@ -525,6 +525,11 @@ typedef struct _RtsSymbolVal {
        SymI_HasProto(isalnum)                             \
        SymI_HasProto(isascii)                             \
        RTS___MINGW_VFPRINTF_SYM                           \
 +      SymI_HasProto(__mingw_vsscanf)                     \
 +      SymI_HasProto(__mingw_vprintf)                     \
 +      SymI_HasProto(__mingw_vsprintf)                    \
 +      SymI_HasProto(__ms_vsnprintf)                      \
 +      SymI_HasProto(strdup)                              \
        SymI_HasProto(strcmp)                              \
        SymI_HasProto(memmove)                             \
        SymI_HasProto(realloc)                             \
 }}}

 After fully upgrading my MSYS2 installation I was also able to remove the
 brittle `extra-lib-dirs` hacks in my libraries that needed
 `libstdc++-6.dll`, which is great!

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


More information about the ghc-tickets mailing list