Opened 5 years ago

Closed 5 years ago

#9629 closed bug (fixed)

GHC panic while installing purescript

Reported by: jlburkhead Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.4.1
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


$ cabal install purescript
[1 of 1] Compiling Main             ( /tmp/purescript-, /tmp/purescript- )
Linking /tmp/purescript- ...
Configuring purescript-
Building purescript-
Preprocessing library purescript-
[ 1 of 53] Compiling Language.PureScript.Parser.State ( src/Language/PureScript/Parser/State.hs, dist/build/Language/PureScript/Parser/State.o )


[53 of 53] Compiling Language.PureScript ( src/Language/PureScript.hs, dist/build/Language/PureScript.o )
In-place registering purescript-
Preprocessing executable 'psc' for purescript-
[1 of 2] Compiling Paths_purescript ( dist/build/autogen/Paths_purescript.hs, dist/build/psc/psc-tmp/Paths_purescript.o )
[2 of 2] Compiling Main             ( psc/Main.hs, dist/build/psc/psc-tmp/Main.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.4.1 for x86_64-unknown-linux):
    Data constructor `purescript-{d r21e}'

Please report this as a GHC bug:

Failed to install purescript-
cabal: Error: some packages failed to install:
purescript- failed during the building phase. The exception was:
ExitFailure 1

Change History (3)

comment:1 Changed 5 years ago by simonpj

Does this happen with 7.8 too? I'm afraid we are unlikely to fix 7.4.1.


comment:2 Changed 5 years ago by jlburkhead

Works fine with 7.8.2

comment:3 Changed 5 years ago by carter

Resolution: fixed
Status: newclosed

yup, pure script builds fine in ghc 7.8.3, and supporting older GHC's is totally up the the pure script maintainer.


Note: See TracTickets for help on using tickets.