
#8094: Intermittent segfault when using ghc-7.6.3 -e on OSX 10.6.8 ----------------------------------+---------------------------------- Reporter: rampion | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------+---------------------------------- Comment (by thoughtpolice): If you're using Snow Leopard, yes, there will be problems. From what I remember, I think the reason for this has something to do with the fact the build machines use XCode 4.1+ (which is only available on Lion and beyond,) and that causes weird dynamic linking behavior when running on older OS X machines. Here's an idea. Last year I made a build of GHC 7.4.1 on OS X Snow Leopard, using GHC 7.2.1 ( the last binary distribution built on Snow Leopard IIRC.) I think it is an official release and not an RC, if I remember correctly: http://community.haskell.org/~thoughtpolice/ghc-741-osx-sl/ I would suggest using the binary distribution (.bz2) and not the installer. This way you can install it to another directory using `./configure --prefix=$HOME/ghc-741-sl; make install`, and then set your `$PATH` appropriately to use it. Can you then try and build the 7.6.3 source code? See if GHCi works correctly. Unfortunately I no longer have access to any pre-Mountain Lion OS X machines. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8094#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler