Skip to content

SIGSEGV in GHCi when accelerate in set of dependencies

Whenever a library or executable depends on accelerate it crashes GHCi 8.6.4

executable bug
  main-is:             Main.hs
  build-depends:       base, accelerate
  default-language:    Haskell2010
Build profile: -w ghc-8.6.4 -O1
In order, the following will be built (use -v for more details):
 - package-0.1.0.0 (exe:bug) (first run)
Configuring executable 'bug' for package-0.1.0.0..
Preprocessing executable 'bug' for package-0.1.0.0..
GHCi, version 8.6.4: http://www.haskell.org/ghc/  :? for help
cabal: repl failed for exe:bug from package-0.1.0.0. The build process segfaulted (i.e. SIGSEGV).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information