simple program fails with -shared on mac
sleipnir ➜ ~ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.2.1
sleipnir ➜ ~ ghc --make foo.hs -shared
[1 of 1] Compiling Main ( foo.hs, foo.o )
Linking foo ...
collect2: ld terminated with signal 11 [Segmentation fault]
sleipnir ➜ ~ cat foo.hs
main = putStrLn "hi"
This happened on both of the two systems I tried it on. Package installed from http://www.haskell.org/ghc/dist/7.2.1/GHC-7.2.1-x86_64.pkg