New codegen failing test-cases

David Terei davidterei at gmail.com
Mon Dec 6 03:19:29 CET 2010


I haven't looked at these branches for a fair few weeks, the problem
when they fail to build usually is because all the libraries are just
set to follow HEAD, they're not actually branched themselves, just the
ghc compiler. So there are probably some patches from ghc HEAD that
need to be pulled in to sync the compiler with the libs again. If you
want to do some work on the new codegen the first step is to try to
pull in all the patches from ghc HEAD, synchronise the branch. Its not
a fun job but GHC HQ wants to try to merge in all the new codegen
stuff to HEAD asap.

On 4 December 2010 23:45, Edward Z. Yang <ezyang at mit.edu> wrote:
> Excerpts from David Terei's message of Fri Dec 03 23:44:33 -0500 2010:
>> http://darcs.haskell.org/ghc-cmm-03Sep10/
>
> This branch fails to build for me:
>
> "inplace/bin/ghc-stage1" -M -dep-makefile libraries/dph/dph-par/dist-install/build/.depend-v.haskell.tmp  -include-pkg-deps -H64m -O -fasm -package-name dph-par-0.5 -hide-all-packages -i -ilibraries/dph/dph-par/../dph-common -ilibraries/dph/dph-par/dist-install/build -ilibraries/dph/dph-par/dist-install/build/autogen -Ilibraries/dph/dph-par/dist-install/build -Ilibraries/dph/dph-par/dist-install/build/autogen -Ilibraries/dph/dph-par/. -optP-include -optPlibraries/dph/dph-par/dist-install/build/autogen/cabal_macros.h -package array-0.3.0.2 -package base-4.3.0.0 -package dph-base-0.5 -package dph-prim-par-0.5 -package ghc-7.1.20101126 -package ghc-prim-0.2.0.0 -package random-1.0.0.3 -package template-haskell-2.5.0.0 -Odph -funbox-strict-fields -fcpr-off -fdph-this -package-name dph-par -XTypeFamilies -XGADTs -XRankNTypes -XBangPatterns -XMagicHash -XUnboxedTuples -XTypeOperators -no-user-package-conf -rtsopts -O -dcore-lint -odir libraries/dph/dph-par/dist-install/build -hidir libraries/dph/dph-par/dist-install/build -stubdir libraries/dph/dph-par/dist-install/build -hisuf hi -osuf o -hcsuf hc  libraries/dph/dph-par/../dph-common/Data/Array/Parallel.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Int.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Word8.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Float.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Double.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/PArray.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/PArray.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/Unboxed.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/Scalar.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/TH/Repr.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/Repr.hs  l!
>  ibraries
> /dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/Closure.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/Instances.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Lifted/Combinators.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/Int.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/Word8.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/Float.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/Double.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/Bool.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/PArr.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base/Tuple.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Base.hs  libraries/dph/dph-par/../dph-common/Data/Array/Parallel/Prelude/Bool.hs
>
> libraries/dph/dph-par/../dph-common/Data/Array/Parallel.hs:1:14:
>    Unsupported extension: ParallelArrays
> make[1]: *** [libraries/dph/dph-par/dist-install/build/.depend-v.haskell] Error 1
> make: *** [all] Error 2
>
> I can debug this further if you want me to.
>
> Edward
>



More information about the Glasgow-haskell-users mailing list