Hi,  

What's the latest on this problem?  Since I've hit it too :-( Is it
possible to build ghc with egcs and glibc2.1 ??  I'm trying to build
from source using the pre-built ghc-4.02 linux binaries.


regards
Kevin






Giuliano P Procida <[EMAIL PROTECTED]> writes: 
> 
> No improvement, I'm afraid.
> 
> On Tue, May 18, 1999 at 01:16:01AM -0700, Sigbjorn Finne 
> (Intl Vendor) wrote:
> > The fflush in shutdownHaskell() should not be required any longer -
> > the behaviour it purports to work around is a non-issue to us now.
> > 
> > Removing it and recompiling the RTS you're linking hsc with may
> > just be a quicker plan of attack..
> 
> Easier said than done... it was a while before I realised 
> that removing the fflush and typing make just wasn't going to
> hack it. This is because hsc is linked against the installed
> libHSrts (argh! scream!) rather than the one just re-built.
> The build remakes the fresh rts lib and re-links against the
> old one -- almost certainly not what is intended.
> 

That's the way it should be, really - how do you expect to successfully
combine 4.03's RTS with ghc/compiler/ sources that has been compiled with
3.02 (say)? The RTS and the compiled code needs to agree 100% on the
layout of heap objects, for example. If they don't, well, then you get
crashes such as the one you're now experiencing with 'hsc' ;-)

Sorry if this suggestion caused you more work - the opposite was my
intention.

--sigbjorn

Reply via email to