stage 1 compiler crashes when the "quickest" build flavour is chosen
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
Trac metadata
Trac field | Value |
---|---|
Version | 7.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |