#5694: Runtime failure with ghc 7.2.2 and LLVM 3.0 64bit on Mac OS X 10.7
---------------------------+------------------------------------------------
Reporter: nlhepler | Owner: dterei
Type: bug | Status: new
Priority: normal | Component: Compiler (LLVM)
Version: 7.2.1 | Keywords:
Os: MacOS X | Architecture: x86_64 (amd64)
Failure: Runtime crash | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------+------------------------------------------------
HMrmr (github.com/nlhepler/HMrmr) successfully compiles with: {{{ ghc
-fforce-recomp -O -fllvm HMrmr.hs }}}, but when running the HMrmr binary
it segfaults: 11. A gdb trace yields:
{{{
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff8e6806cd in misaligned_stack_error_entering_dyld_stub_binder ()
(gdb) bt
#0 0x00007fff8e6806cd in misaligned_stack_error_entering_dyld_stub_binder
()
#1 0x0000000101104498 in ?? ()
#2 0x0000000100300440 in pvars ()
Previous frame inner to this frame (gdb could not unwind past this frame)
}}}
The same code compiles and runs fine without -fllvm.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5694>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs