
#11988: All ghc-compiled binaries seg-fault (on Windows) -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: highest | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by simonpj: @@ -1,1 +1,2 @@ - Bad news. On Windows, every binary built with GHC seg-faults. Even + Bad news. On Windows, every binary built with GHC HEAD (as of today) seg- + faults. Even New description: Bad news. On Windows, every binary built with GHC HEAD (as of today) 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#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler