ghc 6.10.1 on freebsd 7 amd64 - ghci problems

Simon Marlow marlowsd at
Mon Dec 15 04:26:53 EST 2008

Markus Barenhoff wrote:

> I've updated my source tree today. 
> But now I've problem while compiling the ghc
> Here is the the build output:
> [...]
> /usr/home/alios/src/haskell/ghc/ghc/ghc/stage1-inplace/ghc -DGHCI_TABLES_NEXT_TO_CODE -DSTAGE=2 -package-name ghc-6.11.20081211 -hide-all-packages -no-user-package-conf -i -idist-stage2/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-stage2/build/autogen -Idist-stage2/build/autogen -Idist-stage2/build -I../libffi/build/include -Istage2plus -I../libraries/base/cbits -I../libraries/base/include -I. -Iparser -Iutils -optP-DGHCI -optP-include -optPdist-stage2/build/autogen/cabal_macros.h -odir dist-stage2/build -hidir dist-stage2/build -stubdir dist-stage2/build -package Cabal-1.5.5 -package array- -package base- -package bytestring- -package containers- -package directory- -package filepath- -package haskell98- -package hpc-0.
5.0.2 -package old-time- -package process- -package template-haskell- -package unix- -O -Wall -fno-warn-name-shadowing -fno-warn-orphans -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types -XScopedTypeVariables -XDeriveDataTypeable -prof -hisuf p_hi -hcsuf p_hc -osuf p_o -idist-stage2/build  -H32m -O -Rghc-timing -O2  -c nativeGen/MachRegs.lhs -o dist-stage2/build/MachRegs.p_o  -ohi dist-stage2/build/MachRegs.p_hi
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.11.20081211 for x86_64-unknown-freebsd):
>         CoreToStg.myCollectArgs
>     (__scc {trivColorable ghc-6.11.20081211:MachRegs !}
>      ghc-6.11.20081211:MachRegs.isSqueesed{v r2FI} [gid] 0 0)
>       eta_s2Ni{v} [lid]
> Please report this as a GHC bug:

This is a known problem with the build right now.  I'll try to install a 
fix this week, but in the meantime you can avoid building profiled 
libraries by copying mk/ to mk/ and uncommenting the 
line that says 'BuildFlavour = quick'.


More information about the Glasgow-haskell-users mailing list