ghc-testsuite-6.6 oddities

Christian Maeder maeder at
Thu Nov 16 11:21:33 EST 2006

Simon Marlow schrieb:
> Christian Maeder wrote:
>> The test files cc004.hs and ffi012.hs failed with several messages of
>> the form:
>>     calling convention not supported on this architecture: stdcall
>>     When checking declaration:
>>         foreign import stdcall safe "wrapper"
>>             wrap_f :: F -> IO (FunPtr F)
>> However, they did not make it into the summary
> They are probably expected failures for you.

Also the following output is expected. I hope it's no error in
Data.HashTab or the desugarer?

Cheers Christian

=====> maessen_hashtab(normal)
cd ./programs/maessen-hashtab &&
-no-recomp -dcore-lint -dcmm-lint -Di386_unknown_solaris2
  --make -o maessen_hashtab HashTest  -cpp  >maessen_hashtab.comp.stderr
Compile failed (status 256) errors were:
[1 of 2] Compiling Data.HashTab     ( Data/HashTab.hs, Data/HashTab.o )
[2 of 2] Compiling Main             ( HashTest.hs, HashTest.o )
*** Core Lint Errors: in result of Desugar ***
<no location info>:
    In the expression: Data.HashTab.update @ GHC.Base.Int @ GHC.Base.Int
    Argument value doesn't match argument type:
    Fun type:
        Data.HashTab.HashTable GHC.Base.Int GHC.Base.Int
        -> GHC.Base.Int
        -> GHC.Base.Int
        -> GHC.IOBase.IO GHC.Base.Bool
    Arg type: Main.HT
    Arg: ht_a4UG
*** Offending Program ***

More information about the Glasgow-haskell-users mailing list