RE: heap oversize panic when compiling with -prof -auto-all

2002-02-01 Thread Simon Marlow
On a slightly related topic: I was a bit surprised to notice that 5.02.2 appears to produce binaries that are incompatible with 5.02.1, given that it was only a minor version number change. It's not a huge deal (since this at least produced link errors), but it was a bit surprising.

RE: heap oversize panic when compiling with -prof -auto-all

2002-01-31 Thread Simon Marlow
Certainly. We've just spent lots of time trying to get this stuff to be utterly painless to compile, so please let us know if the instructions below give you any trouble. The problem is that you didn't compile the whole program with -prof: the BareBonesArrows library was compiled the

RE: heap oversize panic when compiling with -prof -auto-all

2002-01-29 Thread Simon Marlow
I tried this under Linux (debian, using ghc 5.02.2). It compiled OK, but produced an executable that dumped core immediately on startup. :-( For what it's worth, here is as much info. as I could glean from gdb: Starting program: /home/frp/afrp/src/testST Program received signal

Re: heap oversize panic when compiling with -prof -auto-all

2002-01-29 Thread Antony Courtney
Simon Marlow wrote: Profiling has received significant attention since we branched 5.02, but I'm not aware of any segfault-type bugs in the 5.02 profiling implementation. Could you perhaps send your sources and we'll look into it (and the Win2k problem you had)? Certainly. We've just

Re: heap oversize panic when compiling with -prof -auto-all

2002-01-28 Thread Antony Courtney
Julian Seward (Intl Vendor) wrote: | ghc.exe: panic! (the `impossible' happened, GHC version 5.02.1): | Oversize heap check detected. Please try compiling with -O. | [...] Upgrade to 5.02.2, wherein this oversized-heap-check entertainment is fixed. Many thanks, Julian! I

Re: heap oversize panic when compiling with -prof -auto-all

2002-01-28 Thread Antony Courtney
I wrote: I have now upgraded to 5.02.2, which gives me an entirely different show-stopper bug when using -prof -auto-all: ---begin compilation output [...output of succesfully compiling a bunch of library modules] ghc -c -package lang -package concurrent