On 20/01/2011 08:18, Roman Leshchinskiy wrote:
On 20/01/2011, at 06:42, Manuel M T Chakravarty wrote:
After some changes to GHC's handling of DPH packages, I'm currently
fighting with the build system. In particular, I'm getting
"inplace/bin/ghc-cabal" configure
--with-ghc="/Users/chak/Code/ghc-test/inplace/bin/ghc-stage1"
--with-ghc-pkg="/Users/chak/Code/ghc-test/inplace/bin/ghc-pkg"
--with-gcc="/usr/bin/gcc"
--configure-option=--with-cc="/usr/bin/gcc"
--flag=include-ghc-prim --enable-shared --enable-library-for-ghci
--with-hscolour="/Users/chak/bin/HsColour"
--configure-option=CFLAGS="-Wall -march=i686 -m32 -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
-fno-stack-protector " --configure-option=LDFLAGS=" -march=i686
-m32 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.5 " --configure-option=CPPFLAGS="
-march=i686 -m32 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.5 " -fdph-this -- dist-install
libraries/ghc-prim Configuring ghc-prim-0.2.0.0... <command
line>: the dph-par package is not installed. To install it:
"cabal install dph".
This looks wrong to me. It shouldn't be passing -fdph-this (that's
only for dph-seq and dph-par)
Right.
and it should be using the stage2
compiler since stage1 can't compile DPH anyway.
Not in this case - it's configuring the ghc-prim package, which is
compiled with stage1.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc