[GHC] #13210: Can't run terminfo code in GHCi on Windows

GHC ghc-devs at haskell.org
Mon Jan 30 21:57:34 UTC 2017


#13210: Can't run terminfo code in GHCi on Windows
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.2
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 No, it's not, will be done for 8.4. It's the same underlying reason. The
 `mingw` spec file for GCC adds `-lpthread` automatically in certain
 circumstances. In this case you can get it to work by just adding
 `-lpthread` manually to your link command. https://github.com/gcc-
 mirror/gcc/blob/master/gcc/config/i386/mingw32.h#L91

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


More information about the ghc-tickets mailing list