A question about ghc-cabal

Roman Leshchinskiy rl at cse.unsw.edu.au
Thu Jan 20 09:18:03 CET 2011


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) and it should be using the stage2 compiler since stage1 can't compile DPH anyway.

Roman





More information about the Cvs-ghc mailing list