Skip to content

compiler panic: funResultTy base:GHC.Prim.*{(w) tc 34d}

To reproduce the panic,

git clone linux.cs.tufts.edu:/r/ghc/git/experimental.git
git pull -v origin/norman
git branch --track norman origin/norman
git checkout norman 
git revert b02c5c3  ## I'm a little shaky on this one

The failing compile command and its error message are:

/usr/bin/ghc -#include cutils.h -DSTAGE=1 -package-name ghc-6.11.20090424 -hide-all-packages -no-user-package-conf -package-conf /usr/local/nr/git/ghc/experimental/libraries/bootstrapping.conf -i -idist-stage1/build -inativeGen -ibasicTypes -icmm -icodeGen -icoreSyn -icprAnalysis -ideSugar -ighci -ihsSyn -iiface -imain -iparser -iprelude -iprofiling -irename -isimplCore -isimplStg -ispecialise -istgSyn -istranal -itypecheck -itypes -iutils -ivectorise -idist-stage1/build/autogen -Idist-stage1/build/autogen -Idist-stage1/build -Istage1 -I../libraries/base/cbits -I../libraries/base/include -I. -Iparser -Iutils -optP-include -optPdist-stage1/build/autogen/cabal_macros.h -odir dist-stage1/build -hidir dist-stage1/build -stubdir dist-stage1/build -package Cabal-1.7.0 -package array-0.1.0.0 -package base-3.0.1.0 -package bytestring-0.9.0.1 -package containers-0.1.0.1 -package directory-1.0.0.0 -package extensible-exceptions-0.1.1.0 -package filepath-1.1.0.1 -package haskell98-1.0.1.0 -package hpc-0.5.0.2 -package old-time-1.0.0.0 -package process-1.0.0.0 -package unix-2.3.0.0 -O -Wall -fno-warn-name-shadowing -fno-warn-orphans -XPatternSignatures -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types -XScopedTypeVariables -XDeriveDataTypeable -XRelaxedPolyRec -idist-stage1/build -Werror -H64m -O0 -fasm -Rghc-timing   -c cmm/CmmLiveZ.hs -o dist-stage1/build/CmmLiveZ.o  -ohi dist-stage1/build/CmmLiveZ.hi
ghc-6.8.2: panic! (the 'impossible' happened)
  (GHC version 6.8.2 for i386-unknown-linux):
	funResultTy base:GHC.Prim.*{(w) tc 34d}

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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