[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fw: Re: Installation problems on Alpha/Linux (PR#1350)



Ci-dessous, la correction du bug sur alpha:


Begin forwarded message:

Date: Mon, 26 Aug 2002 17:14:42 +0200 (MET DST)
From: xavier.leroy@inria.fr
To: caml@pauillac.inria.fr
Subject: Re: Installation problems on Alpha/Linux (PR#1350)


> I attached the entire session log to this mail.

Thanks.  It appears to be the same problem that we encountered on
Itanium/Linux: malloc() can return blocks that are very far apart
(e.g. several terabytes apart), causing an internal bitmap used by the
OCaml GC to explode.  Guess it's a phenomenon common to all 64-bit
ports of Linux and not just the Itanium port.

The good news is that the workaround is already in the sources, it
just needs to be activated.  Here's how: without re-running "configure",
add the following line to config/s,h:
#define USE_MMAP_INSTEAD_OF_MALLOC

Then do make clean, make world, make opt.

Let me know if it works.  In the meantime, I'll fix the configure script.

All the best,

- Xavier Leroy





Reply to: