I'm getting these failures on 'validate'. Several relate to unsafePerformIO.
cabal ghcpkg01 [bad stdout] (normal)
codeGen/should_compile cg005 [stderr mismatch] (optasm)
driver T4437 [exit code non-0] (normal)
dynlibs T3807 [bad exit code] (normal)
ffi/should_run ffi005 [exit code non-0] (normal)
perf/compiler T4801 [stat too good] (normal)
rts T4059 [bad stderr] (normal)
Can someone fix, please?
Simon
=====> ghcpkg01(normal) 4 of 14 [0, 0, 0]
cd . && $MAKE -s --no-print-directory ghcpkg01 </dev/null
>ghcpkg01.run.stdout 2>ghcpkg01.run.stderr
Actual stdout output differs from expected:
--- ./ghcpkg01.stdout.normalised 2011-06-20 17:41:59.500102415 +0100
+++ ./ghcpkg01.run.stdout.normalised 2011-06-20 17:41:59.500102415 +0100
@@ -17,6 +17,7 @@
exposed: True
exposed-modules: A
hidden-modules: B C.D
+trusted: False
import-dirs: /usr/local/lib/testpkg "c:/Program Files/testpkg"
library-dirs: /usr/local/lib/testpkg "c:/Program Files/testpkg"
hs-libraries: testpkg-1.2.3.4
=====> cg005(optasm) 79 of 89 [0, 0, 0]
cd ./should_compile &&
'/64playpen/simonpj/builds/validate-HEAD/inplace/bin/ghc-stage2' -fforce-recomp
-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -c
cg005.hs -O -fasm >cg005.comp.stderr 2>&1
Actual stderr output differs from expected:
--- /dev/null 2011-02-28 12:26:55.427559551 +0000
+++ ./should_compile/cg005.comp.stderr.normalised 2011-06-20
17:43:06.188228999 +0100
@@ -0,0 +1,5 @@
+
+cg005.hs:3:1:
+ Warning: In the use of `unsafePerformIO'
+ (imported from Foreign):
+ Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This
function will be removed in the next release"
*** unexpected failure for cg005(optasm)
=====> ffi005(normal) 2534 of 2812 [0, 9, 0]
cd ./ffi/should_run &&
'/64playpen/simonpj/builds/validate-HEAD/bindisttest/install dir/bin/ghc'
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf
-rtsopts -o ffi005 ffi005.hs >ffi005.comp.stderr 2>&1
Compile failed (status 256) errors were:
[1 of 1] Compiling Main ( ffi005.hs, ffi005.o )
ffi005.hs:43:23:
Ambiguous occurrence `unsafePerformIO'
It could refer to either `Foreign.unsafePerformIO',
imported from Foreign at ffi005.hs:4:1-14
or `System.IO.Unsafe.unsafePerformIO',
imported from System.IO.Unsafe at ffi005.hs:7:1-23
*** unexpected failure for ffi005(normal)
=====> T4437(normal) 1218 of 2812 [0, 6, 0]
cd ./driver && '/64playpen/simonpj/builds/validate-HEAD/bindisttest/install
dir/bin/ghc' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output
-no-user-package-conf -rtsopts -o T4437 T4437.hs -package ghc
>T4437.comp.stderr 2>&1
Compile failed (status 256) errors were:
[1 of 1] Compiling Main ( T4437.hs, T4437.o )
T4437.hs:9:39:
Couldn't match expected type `(String,
CmdLineParser.FlagSafety,
ExtensionFlag,
DynFlags.TurnOnFlag -> DynFlags.DynP ())'
with actual type `(t0, t1, t2)'
In the pattern: (ext, _, _)
In a stmt of a list comprehension: (ext, _, _) <- xFlags
In the expression: [ext | (ext, _, _) <- xFlags]
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc