Hi Ross. For the record I've CC'ed GHC bugs due to the error message below, although as you are dealing with foreign calls it could easily be the results of bugs in the library interface rather than the compiler. At the moment I am unable to go probing into this problem I'm sorry.
| On Thu, May 06, 2004 at 12:39:40PM +1000, Mike Thomas wrote: | > I CVS updated libraries/Win32 and libraries/HGL in a HEAD | fptools build tree | > from a few weeks ago then "make boot" and "make" in each | followed by "make" | > in the HGL examples directory. I hadn't realised that the hsc binding | > existed. | > | > All built but running was a bit sad: | | Thanks, Mike. Similar results as yesterday with a fresh up-to-date source tree. An additional observation is that there are inconsistent results from one run to the next of Tests.exe which suggests to me as a first hypothesis that some memory is not being initialised: -------------------------------------------------------------------- $ ./Tests Tests.exe: internal error: stg_ap_p_ret Please report this as a bug to [EMAIL PROTECTED], or http://www.sourceforge.net/projects/ghc/ [EMAIL PROTECTED] /c/cvs/head/i386-unknown-mingw32/libraries/HGL/examples $ ./Tests [EMAIL PROTECTED] /c/cvs/head/i386-unknown-mingw32/libraries/HGL/examples $ ./Tests -------------------------------------------------------------------- Cheers Mike Thomas. _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs