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

#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

#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

#11988: All ghc-compiled binaries seg-fault (on Windows) ---------------------------------+---------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: infoneeded Priority: highest | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Changes (by thomie): * cc: Phyx- (added) * status: new => infoneeded * os: Unknown/Multiple => Windows Comment: Is this still a problem? Which version of msys2 do you use (copy-paste the output of `uname -a`), and which version of Windows? I did a validate on Windows a few days ago, and everything worked fine. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11988#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11988: All ghc-compiled binaries seg-fault (on Windows)
---------------------------------+----------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: closed
Priority: highest | Milestone:
Component: Compiler | Version: 8.1
Resolution: fixed | Keywords:
Operating System: Windows | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
---------------------------------+----------------------------------------
Changes (by simonpj):
* status: infoneeded => closed
* resolution: => fixed
Comment:
Ah... I think it turned out to be a bad patch which we rolled back. (I
think simonmar then fixed it.)
I'll close this
Simon
I think the revert was this
{{{
commit 546f24e4f8a7c086b1e5afcdda624176610cbcf8
Author: Simon Peyton Jones
participants (1)
-
GHC