Validate failures in DPH
Simon Peyton-Jones <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <59543203684B2244980D7E4057D5FBC13F70B9BA@DB3EX14MBXC310.europe.corp.microsoft.com> |
I'm getting these failures in DPH when validating on Windows (32-bit)
dph/nbody dph-nbody-copy-fast [exit code non-0] (normal)
dph/nbody dph-nbody-vseg-fast [exit code non-0] (normal)
It's a type error as below. Can anyone (Manuel, Ben?) say what's wrong and how to fix it? I assume it's some kind of library mismatch.
Simon
cd ./dph/nbody && 'C:/code/HEAD/inplace/bin/ghc-stage2.exe' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -outputdir vseg-fast --make -o dph-nbody-vseg-fast Main -O0 -package dph-lifted-vseg -package dph-prim-par >dph-nbody-vseg-fast.comp.stderr 2>&1
Compile failed (status 256) errors were:
[ 1 of 10] Compiling Randomish ( Randomish.hs, vseg-fast\Randomish.o )
Randomish.hs:59:67:
Couldn't match expected type `Word64' with actual type `Integer'
In the second argument of `mod', namely `range'
In the first argument of `(+)', namely `(x `mod` range)'
In the second argument of `($)', namely `(x `mod` range) + valMin'
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc