[Haskell-cafe] 64-bit vs 32-bit haskell platform on Mac: misleading notice on Platform website?

Johan Tibell johan.tibell at gmail.com
Mon Oct 8 16:25:42 CEST 2012


On Mon, Oct 8, 2012 at 3:28 AM, Christiaan Baaij
<christiaan.baaij at gmail.com> wrote:
> Hi,
>
> I finally found another OS X mountain lion install and can confirm the behaviour I described earlier:
> 32-bit: compiled code works, interpreted code works
> 64-bit: compiled code works, interpreted code fails
>
> Here's the test case:
> - cabal install gloss --flags"-GLUT GLFW"
> - cabal unpack gloss-examples
> - cd gloss-examples-1.7.6.2/picture/GameEvent
> - ghci -fno-ghci-sandbox Main.hs
> - main
>
> I get the following crash report: http://pastebin.com/jZjfFtm7
>
> The weird thing is the following:
> When I run 'ghci' from inside 'gdb' (to find the origin for the segfault), everything works fine:
> ghci: segfault
> ghci from gdb: everything works
>
> I have no idea what's going on, so if anyone has any pointers on how to make sure ghci behaves the same in gdb please let me know.

Could you please file a bug report at:

http://hackage.haskell.org/trac/ghc/

Thanks!



More information about the Haskell-Cafe mailing list