Browse thread
Caml interface with C on x86_64
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-03-13 (16:39) |
From: | Markus Mottl <markus.mottl@g...> |
Subject: | Re: [Caml-list] Allocating caml lists from C : possible bug on amd64 |
On 3/13/06, "Sayan (Sébastien Li-Thiao-Té)" <sayan@crans.org> wrote: > > I have already tried to be GC-friendly, and use the "standard" way to do > things. Well, you shouldn't expect the GC to become more friendly towards you when you become less friendly towards the GC ;-) For example the following function also works using a 32-bit > chroot, but also fails with the 64-bit compiler. The question is : why > does it fail with the 64-bit compiler? Obviously because of a bug: the allocation functions return negative values on 64-bit machines. You should submit a bug report here: http://www.ocaml.org/mantis Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com