#4172: GHC build failes when BuildFlavour = prof is used
---------------------------------+------------------------------------------
    Reporter:  Phyx-             |        Owner:                     
        Type:  bug               |       Status:  new                
    Priority:  high              |    Milestone:  6.14.1             
   Component:  Compiler          |      Version:  6.13               
    Keywords:                    |     Testcase:                     
   Blockedby:                    |   Difficulty:                     
          Os:  Unknown/Multiple  |     Blocking:                     
Architecture:  Unknown/Multiple  |      Failure:  Building GHC failed
---------------------------------+------------------------------------------

Comment(by igloo):

 Aha, compiling with `-dcore-lint` fails with
 {{{
 $ "inplace/bin/ghc-stage1" -prof  -H64m -O0 -fasm -dcore-lint    -package-
 name ghc-6.13.20100801 -hide-all-packages -i -icompiler/basicTypes
 -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar
 -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icompiler/llvmGen
 -icompiler/main -icompiler/nativeGen -icompiler/parser -icompiler/prelude
 -icompiler/profiling -icompiler/rename -icompiler/simplCore
 -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn
 -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils
 -icompiler/vectorise -icompiler/stage2/build
 -icompiler/stage2/build/autogen -Icompiler/stage2/build
 -Icompiler/stage2/build/autogen -Icompiler/../libffi/build/include
 -Icompiler/stage2 -Icompiler/../libraries/base/cbits
 -Icompiler/../libraries/base/include -Icompiler/. -Icompiler/parser
 -Icompiler/utils   -optP-DGHCI -optP-include
 -optPcompiler/stage2/build/autogen/cabal_macros.h -package Cabal-1.9.2
 -package array-0.3.0.0 -package base-4.3.0.0 -package bin-package-
 db-0.0.0.0 -package bytestring-0.9.1.7 -package containers-0.3.0.0
 -package directory-1.0.1.2 -package filepath-1.2.0.0 -package hpc-0.5.0.5
 -package old-time-1.0.0.5 -package process-1.0.1.3 -package template-
 haskell-2.4.0.0 -package unix-2.4.0.1  -Wall -fno-warn-name-shadowing
 -fno-warn-orphans -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards
 -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances
 -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types
 -XScopedTypeVariables -XDeriveDataTypeable -XRelaxedPolyRec
 -DGHCI_TABLES_NEXT_TO_CODE -auto-all -DSTAGE=2 -no-user-package-conf
 -rtsopts -O -fasm -dcore-lint     -odir compiler/stage2/build -hidir
 compiler/stage2/build -stubdir compiler/stage2/build -hisuf p_hi -osuf
 p_o -hcsuf p_hc -c compiler/cmm/StackColor.hs -o
 compiler/stage2/build/StackColor.p_o
 *** Core Lint errors : in result of Float out(not lambdas, constants) ***
 <no location info>:
     [RHS of ds_s1TX :: Data.Maybe.Maybe GHC.Types.Int]
     Recursive or top-level binder has strict demand info: ds_s1TX
     Binder's demand info: X
 *** Offending Program ***
 [...]
 }}}
 (offending program in attached log)

 Possibly related to #4186.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4172#comment:7>
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