64 bit windows executable built with ghc-7.9.20140405+LLVM segfaults
|Reported by:||awson||Owned by:|
|Operating System:||Windows||Architecture:||x86_64 (amd64)|
|Type of failure:||Runtime crash||Test Case:|
|Related Tickets:||Differential Rev(s):|
-- test.hs import System.Mem (performMajorGC) main = performMajorGC >> putStrLn "Done"
built with ghc -pgmlo opt -pgmlc llc -fllvm --make test.hs segfaults both for LLVM 3.4 and 3.5svn (taken from http://sourceforge.net/projects/msys2/files/REPOS/MINGW/x86_64).
32-bit ghc-7.9.20140404+llvm produces good executable.
Adding ArchX86_64 OSMinGW32 case to moduleLayout in compiler/llvmGen/LlvmCodeGen/Ppr.hs improves things slightly (some code segfaulting without it starts to work) but still does not cure the code above.
Also I've found the Cmm produced for LLVM CG differs from that produced for NCG.
Change History (38)
comment:32 Changed 5 months ago by bgamari
- Milestone changed from 8.0.1 to 8.2.1
- Status changed from infoneeded to upstream