Does ghc (any version) work on Linux with glibc-2 (libc6)?

I've installed the 2.10 binary release. The compiler seems to work. I have  
the libc5 compatibility package installed, and I'm also using pgcc, if
that makes any difference.

The problem is that the executables I've so far generated with ghc will
not run at all. They always immediately give an error message like the
following:

heap space exhausted
while trying to allocate 68436 bytes in a 0-byte heap

I'm guessing this is because the executable is linked with libc6, but
if anyone can shed light on this problem, or knows a fix, I'd be grateful.

   Tony

Antony Bowers, Department of Computer Science, University of Bristol, UK.
http://www.cs.bris.ac.uk/~bowers/

Reply via email to