On 4/5/07, Tim Chevalier <[EMAIL PROTECTED]> wrote:

Okay, I'm just trying to reproduce what you did here... in the typedef
for StgEntCounter in Rts.h, I changed the three instances of StgWord32
to StgWord, and correspondingly, in emitTickyCounter in CgTicky.hs, I
changed the three instances of I32 to wordRep. But I still get the
segfault. Is that what you did? Would it be easier to send me a patch
for what you changed so far?


Also -- I just noticed that my segfault isn't the same as your
segfault, apparently, because I'm not using a 64-bit machine (or
rather, I am, but my OS thinks it's running on a 32-bit machine for
some reason I don't want to explore). I get a segfault if I run with
-rstderr, but everything works perfectly if I run with -rfoo.txt (or
any other output file name I try). I'll look into that, but I'm
surprised that you were able to eliminate the segfault just by
changing the word sizes...

Cheers,
Tim

--
Tim Chevalier * [EMAIL PROTECTED] * Often in error, never in doubt
Confused? See http://catamorphism.org/transition.html

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to