ghc-6.2.1 panics while compiling darcs 1.0.3-rc1

Simon Marlow simonmar at microsoft.com
Wed May 11 05:56:42 EDT 2005


On 10 May 2005 17:52, Louai Khanji wrote:

> I get the following when compiling darcs:
> 
> --SNIP--
> ghc  -cpp  -package parsec -package unix -O -funbox-strict-fields 
> -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c
> ColourPrinter.lhs ghc  -cpp  -package parsec -package unix -O
> -funbox-strict-fields  -Wall 
> -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -no-auto-all
> -funfolding-use-threshold=20 -c SHA1.lhs
> ghc-6.2.1: panic! (the `impossible' happened, GHC version 6.2.1):
>         Prelude.read: no parse
> 
> Please report it as a compiler bug to
> glasgow-haskell-bugs at haskell.org, 
> or http://sourceforge.net/projects/ghc/.
> 
> make: *** [SHA1.o] Error 1
> --SNIP--
> 
> I have searched with google but didn't find any similar problem.
> 
> This is on Gentoo, on amd64, with the ghc binary (not compiled from
> source). 

This bug was fixed in GHC 6.2.2.  To work around it (as I mentioned on
the darcs list), darcs should use -funfolding-use-threshold20 instead of
-funfolding-use-threshold=20.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list