[darcs-users] darcs and ghc 6.x

David Roundy droundy at jdj5.mit.edu
Sat Oct 4 11:50:39 UTC 2003


On Fri, Oct 03, 2003 at 09:16:34PM +0200, Peter Simons wrote:
> I have made a few necessary changes to get darcs to compile with
> ghc version 6.x. Specifically, I am using the latest CVS version
> here, which dubs itself ghc 6.3. Most problems are solved, and
> the main program does compile, but fails the self-tests,
> unfortunately.

Alas, I had just made almost the same modifications, since I also just
started using ghc CVS head.  I hadn't yet pushed my changes, so now I've
merged just some of yours.

> The source of the problems is probably in the module
> FastPackedString.hs, where I had to disable the debugging of
> foreign pointers due to type-checking problems.
> 
> Does anyone have an idea how to fix this problem?

I believe I've already fixed it, but not yet recorded as I'm in the process
of helping track down what seems to be a ghc rts memory leak.  What you
ended up with (just disabling the debug code) will need to be done
anyways.  Noone but me is probably interested in seeing the hex values of
all the pointers allocated (and mmapped) as they are freed...
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list