Runtime failure with ghc 7.2.2 and LLVM 3.0 64bit on Mac OS X 10.7
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.2.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (LLVM) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | nlhepler@gmail.com |
| Operating system | |
| Architecture |