Trouble with ghc on linux x86_64

Simon Marlow marlowsd at
Tue Nov 18 06:06:30 EST 2008

Bit Connor wrote:
> On Fri, Nov 14, 2008 at 5:36 AM, Simon Marlow <marlowsd at> wrote:
>> Compiling and running executables should work fine, only GHCi is affected by
>> the above bug.  Could you try -v when linking and see what stage is hanging?
> Here is an example with a standard cabal Setup.lhs file. It outputs
> the following and then hangs. When I look at "top" then there is an
> "ld" process taking up almost zero cpu, but hundreds of MB of memory.

Since it seems to be hanging in the linker, and this is a Xen instance, 
perhaps you're running out of memory and swapping?

BTW, I've checked in a potential fix for the mmap() problem you reported 
earlier, see


More information about the Glasgow-haskell-users mailing list