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

GHC ghc-devs at haskell.org
Mon Nov 16 19:02:07 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):

 Progress, sort of?

 {{{
 $ stack test :linking
 bullet-mini-0.1.0.0: configure (lib + test)
 Configuring bullet-mini-0.1.0.0...
 Warning: Instead of 'ghc-options: -lmingwex' use 'extra-libraries:
 mingwex'
 Warning: Instead of 'ghc-options:
 -LC:\msys64\usr\local\ghc\mingw\x86_64-w64-mingw32\lib' use 'extra-lib-
 dirs:
 C:\msys64\usr\local\ghc\mingw\x86_64-w64-mingw32\lib'
 bullet-mini-0.1.0.0: build (lib + test)
 Preprocessing library bullet-mini-0.1.0.0...
 [1 of 1] Compiling Physics.Bullet   ( src\Physics\Bullet.hs, .stack-
 work\dist\d96ab9d9\build\Physics\Bullet.o )
 GHC runtime linker: fatal error: I found a duplicate definition for symbol
    coshf
 whilst processing object file
    C:\msys64\usr\local\ghc\mingw\x86_64-w64-mingw32\lib\libmingwex.a
 This could be caused by:
    * Loading two different object files which export the same symbol
    * Specifying the same object file twice on the GHCi command line
    * An incorrect `package.conf' entry, causing some object to be
      loaded twice.
 ghc.exe: panic! (the 'impossible' happened)
   (GHC version 7.10.2.20151030 for x86_64-unknown-mingw32):
         loadArchive
 "C:\\msys64\\usr\\local\\ghc\\mingw\\x86_64-w64-mingw32\\lib\\libmingwex.a":
 failed

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

 I used
 {{{
 ghc-options: -LC:\msys64\usr\local\ghc\mingw\x86_64-w64-mingw32\lib
 -lmingwex
 }}}

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


More information about the ghc-tickets mailing list