So, I have a cross-ghc configured like this:

./configure --host=x86_64-apple-darwin --target=i386-apple-darwin

After successfully building stage1 I get this error when configuring
dph/dph-lifted-base:

$ "inplace/bin/ghc-cabal" configure
--with-ghc="/Users/ggreif/ghc/inplace/bin/ghc-stage1"
--with-ghc-pkg="/Users/ggreif/ghc/inplace/bin/ghc-pkg"
--enable-library-for-ghci --configure-option=CFLAGS=" -m32
-fno-stack-protector  " --configure-option=LDFLAGS=" -m32  "
--configure-option=CPPFLAGS=" -m32  " --with-gcc="/usr/bin/gcc"
--configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar"
--with-ranlib="ranlib" -- dist-install libraries/dph/dph-lifted-base
Configuring dph-lifted-base-0.5.2.0...
ghc-cabal: At least the following dependencies are missing:
ghc ==7.*
make[1]: *** [libraries/dph/dph-lifted-base/dist-install/package-data.mk]
Error 1
make: *** [all] Error 2
$ inplace/bin/ghc-stage1 --version
The Glorious Glasgow Haskell Compilation System, version 7.5.20120111

Another weirdness I am experiencing. I can remove the depencency from
the cabal file (which helps) but I get the same issue in the next
configure, etc.

Another issue (after correcting the above 4 times)

libraries/dph/dph-lifted-vseg/Data/Array/Parallel/PArray/PData/Base.hs:20:8:
    Could not find module `SpecConstr'
    Use -v to see a list of the files searched for.
make[1]: *** 
[libraries/dph/dph-lifted-vseg/dist-install/build/.depend-v.haskell]
Error 1
make: *** [all] Error 2

Turns out there is no such module in Base any more. Removing the
imports (in some places) allows the configuring to continue.

Down the road, I even see "package ghc unknown" when configuring
utils/mkUserGuidePart.

What is going on? Has anybody expreienced such things? Am I getting
the wring dependencies? Or just the perils of living near the bleeding
edge?

I am preparing for a long debug-night.

Cheers,

    Gabor

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to