Re: profiling crashes my code

2002-05-01 Thread Ketil Z. Malde
Hal Daume III <[EMAIL PROTECTED]> writes: > I'm in a profiling kind of mood (read: am sick of my program taking too > long to run), but when I ghc with -prof -auto-all (or -auto or whatever), > when I try to run my program it seg faults. I don't want to attach all > the code, since it's really l

Re: problems with ld

2002-05-01 Thread Jay Cox
On Wed, 1 May 2002, Hal Daume III wrote: > This isn't a ghc specific question as I've just found a similar problem > with gcc, but I was hoping someone here could lend me a hand...I recently > installed RedHat 7.2 on my x86 laptop and then immediately installed > ghc 5.02.3 from rpm. Compilation

Re: profiling (again)

2002-05-01 Thread Hal Daume III
Well, I think I've narrowed the problem down to Binary...the following program crashed when profiled: module Main where import Binary import IO main = do h <- openFile "foo" WriteMode b <- openBinIO_ h put_ b 'a' hClose h Any suggestions (or new versions of Binary

profiling (again)

2002-05-01 Thread Hal Daume III
i'm using ghc 5.02.1 for sparc solaris -- Hal Daume III "Computer science is no more about computers| [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED

profiling crashes my code

2002-05-01 Thread Hal Daume III
I'm in a profiling kind of mood (read: am sick of my program taking too long to run), but when I ghc with -prof -auto-all (or -auto or whatever), when I try to run my program it seg faults. I don't want to attach all the code, since it's really long, but I *have* tested profiling on smaller progr

problems with ld

2002-05-01 Thread Hal Daume III
This isn't a ghc specific question as I've just found a similar problem with gcc, but I was hoping someone here could lend me a hand...I recently installed RedHat 7.2 on my x86 laptop and then immediately installed ghc 5.02.3 from rpm. Compilation works fine as does interpretation but linking doe

RE: No NoFib

2002-05-01 Thread Kevin Glynn
OK, that's fine. But it may be worth putting such download instructions on http://www.dcs.gla.ac.uk/fp/software/ghc/nofib.html cheers k Simon Marlow writes: > > I can't find a tarred up release of the NoFib suite, I can only find > > it in the CVS repository. Is this intentional? > >

RE: No NoFib

2002-05-01 Thread Simon Marlow
> I can't find a tarred up release of the NoFib suite, I can only find > it in the CVS repository. Is this intentional? > > The link from GHC's home page points to a very old page at Glasgow > which doesn't give a link to the software. (Perhaps the link in the > paper still works - I haven't t

No NoFib

2002-05-01 Thread Kevin Glynn
Hi, I can't find a tarred up release of the NoFib suite, I can only find it in the CVS repository. Is this intentional? The link from GHC's home page points to a very old page at Glasgow which doesn't give a link to the software. (Perhaps the link in the paper still works - I haven't tried)

Re: announce: GHC internals library (version 0.1)

2002-05-01 Thread Alastair Reid
Bernard James POPE <[EMAIL PROTECTED]> writes: > Announcing the GHC internals library, version 0.1. Essentially this > provides a means for polymorphically deconstructing values that > reside on the GHC heap, all from the comfort of your Haskell > program. Very cool! As you say, it's a similar

announce: StableTable Printer for GHC

2002-05-01 Thread Bernard James POPE
Hi all, Ever had that deep desire to see what was in that pesky Stable Pointer/Name table? Probably not, but I did, and I wrote some code to print it out in all its glory from the safe confines of a Haskell program. I thought I'd share it with you just in case one day you too want to see what is