[GHC] #8842: Make sure msys2 builds non emulating binaries

GHC ghc-devs at haskell.org
Tue Mar 4 06:15:52 UTC 2014


#8842: Make sure msys2 builds non emulating binaries
------------------------------------+---------------------------------
       Reporter:  schyler           |             Owner:
           Type:  task              |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Compiler          |           Version:  7.8.1-rc2
       Keywords:                    |  Operating System:  Windows
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+---------------------------------
 I came across this in my own project.

 MSys2 doesn't enter #ifdef blocks which test for _WIN32. Instead, it
 pretends to be Linux and has a set of headers which emulate things like
 mmap.

 These emulation functions are really really slow -- in my personal tests
 about 10x slower than calling the WINAPI -- so this ticket is just a
 reminder (it may already be done) for someone to check that MSys2 builds
 things non-emulated in GHC.

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


More information about the ghc-tickets mailing list