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:

Description

$ cabal install purescript
[1 of 1] Compiling Main             ( /tmp/purescript-0.5.6.2-11475/purescript-0.5.6.2/dist/setup/setup.hs, /tmp/purescript-0.5.6.2-11475/purescript-0.5.6.2/dist/setup/Main.o )
Linking /tmp/purescript-0.5.6.2-11475/purescript-0.5.6.2/dist/setup/setup ...
Configuring purescript-0.5.6.2...
Building purescript-0.5.6.2...
Preprocessing library purescript-0.5.6.2...
[ 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-0.5.6.2...
Preprocessing executable 'psc' for purescript-0.5.6.2...
[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):
	tyThingTyCon
    Data constructor `purescript-0.5.6.2:Language.PureScript.Options.Compile{d r21e}'

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Failed to install purescript-0.5.6.2
cabal: Error: some packages failed to install:
purescript-0.5.6.2 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.

Simon

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.

closing

Note: See TracTickets for help on using tickets.