Paolo

Did you validate?  I'm seeing these failures

Simon


Unexpected failures:
   ffi/should_compile  cc005 [exit code non-0] (normal)
   ffi/should_compile  cc008 [exit code non-0] (normal)
   ffi/should_compile  cc010 [exit code non-0] (normal)

=====> cc005(normal) 1703 of 3260 [0, 0, 0]
cd ./ffi/should_compile && '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' 
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf 
-rtsopts  -fno-ghci-history -c cc005.hs   -XForeignFunctionInterface 
-optc-Wno-implicit >cc005.comp.stderr 2>&1
Compile failed (status 256) errors were:

cc005.hs:9:1:
    Unacceptable result type in foreign declaration: IO (Ptr ())
    When checking declaration:
      foreign import ccall safe "wrapper" d8 :: (Int -> IO ()) -> IO Addr

*** unexpected failure for cc005(normal)
=====> cc007(normal) 1704 of 3260 [0, 1, 0]
cd ./ffi/should_compile && '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' 
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf 
-rtsopts  -fno-ghci-history -c cc007.hs   -XForeignFunctionInterface 
-optc-Wno-implicit >cc007.comp.stderr 2>&1
=====> cc008(normal) 1705 of 3260 [0, 1, 0]
cd ./ffi/should_compile && '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' 
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf 
-rtsopts  -fno-ghci-history -c cc008.hs   -XForeignFunctionInterface 
-optc-Wno-implicit >cc008.comp.stderr 2>&1
Compile failed (status 256) errors were:

cc008.hs:8:1:
    Unacceptable result type in foreign declaration: IO (Ptr ())
    When checking declaration:
      foreign import ccall safe "wrapper" mkFoo :: IO () -> IO (NPtr Int)

*** unexpected failure for cc008(normal)
=====> cc009(normal) 1706 of 3260 [0, 2, 0]
cd ./ffi/should_compile && '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' 
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf 
-rtsopts  -fno-ghci-history -c cc009.hs   -XForeignFunctionInterface 
-optc-Wno-implicit >cc009.comp.stderr 2>&1
=====> cc010(normal) 1707 of 3260 [0, 2, 0]
cd ./ffi/should_compile && '/5playpen/simonpj/HEAD/inplace/bin/ghc-stage2' 
-fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf 
-rtsopts  -fno-ghci-history -c cc010.hs   -XForeignFunctionInterface 
-optc-Wno-implicit >cc010.comp.stderr 2>&1
Compile failed (status 256) errors were:

cc010.hs:3:1:
    Unacceptable argument type in foreign declaration: Ptr ()
    When checking declaration:
      foreign import ccall safe "dynamic" imp :: Ptr () -> Int

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to