Skip to content

Segmentation fault in Cabal

I get a segfault in the following program, compiled on OS X with the development version of GHC (last commit 50e4d40f), run with the command ./Setup configure. A .cabal file is not needed to produce the error.

-- ghc --make Setup.hs
import Distribution.Simple
main = defaultMainWithHooks simpleUserHooks

I discovered the problem when installing llvm-general-pure.

Trac metadata
Trac field Value
Version 7.8.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information