[GHC] #14081: 8.2.1 runghc from Windows x32 segfaults an all programs
GHC
ghc-devs at haskell.org
Wed Aug 2 19:56:40 UTC 2017
#14081: 8.2.1 runghc from Windows x32 segfaults an all programs
--------------------------------+----------------------------------
Reporter: sergv | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Keywords: | Operating System: Windows
Architecture: x86 | Type of failure: Runtime crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------+----------------------------------
I'd like to report pretty severe issue with `runghc` executable from
latest `8.2.1` release. Namely, `runghc` does not work at all on x32
Windows - it produces segmentation faults even on hello world program
{{{
$ cat HW.hs
module HW (main) where
main :: IO ()
main = do
putStrLn "Hello, world"
$ runghc HW.hs
Access violation in generated code when reading 77dbffff
}}}
I managed to reproduce this issue on 3 mildly different hosts already -
two of them were running `Windows 7` and the third one was `Windows Server
2008` or `2012` (I forgot which but can look it up if it's crucial). In
all 3 cases I used ghc from
`https://downloads.haskell.org/~ghc/8.2.1/ghc-8.2.1-i386-unknown-
mingw32.tar.xz`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14081>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list