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

GHC ghc-devs at haskell.org
Tue Nov 17 04:49:12 UTC 2015


#10726: Upgrade MingW-w64 distributions for windows
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            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 lukexi):

 It's the use of Template Haskell that's triggering the runtime linker, but
 perhaps I'm confused in assuming it's the same as `--interactive`?

 (I assume you're asking about `run` because you thought I was using
 `--interactive` — the error happens during compilation so I never get a
 working binary)

 OK! I'm able to compile again if I add `SymI_HasProto(__mingw_vsscanf)` to
 `Linker.c` — is that the right way to go?



 (The issue you fixed in #10672 happened with both `cabal` and `stack` —
 since `stack` uses Cabal-as-a-library internally I'm pretty certain
 `cabal` will do the same thing but I can give it a try!

 And to restate: the `ghc-7.10.2` tag with #10672's patches applied doesn't
 manifest the unknown symbol issue mentioned in comment 31 — only 7.10.3
 does which is why I'm looking for what broke)

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


More information about the ghc-tickets mailing list