id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
7050,"stage 1 compiler crashes when the ""quickest"" build flavour is chosen",ilya,,"A fresh build from scratch of the ""master"" branch from the GHC repository runs into the following problem if the build flavour is set to ""quickest"" in mk/build.mk file: 

{{{
BuildFlavour = quickest
}}}

The compiler successfully passes stage 0 and the last lines of stage 1 (run with verbosity level V=1) look as follows:

{{{
make -r --no-print-directory -f ghc.mk phase=final all
""inplace/bin/ghc-stage1""   -H64m -O0 -fasm    -package-name base-4.6.0.0 -hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build -ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include   -optP-DOPTIMISE_INTEGER_GCD_LCM -optP-include -optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.2.0.0 -package integer-gmp-0.3.0.0 -package rts-1.0  -package-name base -XHaskell98 -XCPP -O0 -fasm  -no-user-package-db -rtsopts      -odir libraries/base/dist-install/build -hidir libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/base/./Control/Concurrent/Chan.hs -o libraries/base/dist-install/build/Control/Concurrent/Chan.o
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.5.20120704 for x86_64-apple-darwin):
	<<loop>>

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

make[1]: *** [libraries/base/dist-install/build/Control/Concurrent/Chan.o] Error 1
make: *** [all] Error 2
}}}",bug,closed,normal,,Compiler,7.5,fixed,,,MacOS X,x86_64 (amd64),Building GHC failed,Unknown,,,,
