I wanted to use LLVM as backend for GHC and all my Haskell packages. When I do this, hs-cabal-install is unusable. Simple commands like "cabal update" or "cabal build" crash with segfaults. Removing the option LLVM for all the packages in Haskell's environment makes hs-cabal-install usable again.
Option LLVM does not affect all Haskell packages. It is only a problem with cabal, which I've identified so far.
To change options, you need to erase all previous settings in /var/db/ports which affect lang/ghc and */hs-*, then rebuild all packages.
This sounds like an upstream issue (although it might be fully FreeBSD-specific only). I will take a look into this.
Is this still relevant?
Not relevant anymore, as LLVM option have been removed.
See comment 4. Close here overcome by events.