[GHC] #11988: All ghc-compiled binaries seg-fault (on Windows)

GHC ghc-devs at haskell.org
Tue Apr 26 22:25:42 UTC 2016


#11988: All ghc-compiled binaries seg-fault (on Windows)
-------------------------------------+-------------------------------------
           Reporter:  simonpj        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  highest        |         Milestone:
          Component:  Compiler       |           Version:  8.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Bad news.  On Windows, every binary built with GHC seg-faults.  Even
 {{{
 main = print “Hello”
 }}}
 Thus
 {{{
 /cygdrive/c/tmp$ c:/code/HEAD/inplace/bin/ghc-stage1 Hello.hs
 [1 of 1] Compiling Main             ( Hello.hs, Hello.o )
 Linking Hello.exe ...
 /cygdrive/c/tmp$ ./Hello
 Segmentation fault/access violation in generated code
 }}}
 (And of course including the stage-2 compiler.)
 This started happening sometime in the last day or two; I don’t know
 exactly when.
 This is with a fresh tree, downloaded from the git repo, with config
 settings for validation.

 Might someone look at this?  It’s pretty serious!

 Simon

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


More information about the ghc-tickets mailing list