Skip to content

GHC Panic compiling hgalib-0.2

Building hgalib-0.2 results in a compiler panic. GHC was compiled from source, version 6.10.4. Linux kernel 2.6.28-15-generic (Ubuntu), gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4), gcc target is i486.

$ cabal install hgalib

Resolving dependencies...
Configuring hgalib-0.2...
Preprocessing library hgalib-0.2...
Building hgalib-0.2...
Binary: Int64 truncated to fit in 32 bit Int
ghc: panic! (the 'impossible' happened)
  (GHC version 6.10.4 for i386-unknown-linux):
	Prelude.chr: bad argument
Trac metadata
Trac field Value
Version 6.10.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC daofma@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information