#7050: stage 1 compiler crashes when the "quickest" build flavour is chosen
---------------------------------+------------------------------------------
 Reporter:  ilya                 |          Owner:                
     Type:  bug                  |         Status:  new           
 Priority:  normal               |      Component:  Compiler      
  Version:  7.5                  |       Keywords:                
       Os:  MacOS X              |   Architecture:  x86_64 (amd64)
  Failure:  Building GHC failed  |       Testcase:                
Blockedby:                       |       Blocking:                
  Related:                       |  
---------------------------------+------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7050>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to