Bug#600408: ocaml: Building OCaml with LOCAL_CALLBACK_BYTECODE enabled
Le 16/10/2010 23:24, Guillaume Yziquel a écrit :
> Package: ocaml
> Version: 3.12.0-1~38
> Severity: normal
Does this apply to 3.10.2 as well?
> I'm currently having issues with C++ callbacks to OCaml, [...]
Could you be more precise?
> [...] and digging into
> the callbacks.c file, I discovered that OCaml in Debian is not built
> with the LOCAL_CALLBACK_BYTECODE macro enabled.
Why should it be?
> It seems to me that the current situation might be a can of worms and
> segfaults, and I'm wondering whether it would not be a good idea to
> build OCaml with LOCAL_CALLBACK_BYTECODE enabled.
Where did you get that from? Is this LOCAL_CALLBACK_BYTECODE documented
somewhere? The only usage I see is in byterun/callback.c, and I don't
see why it should matter here (we are just using the standard bytecode
interpreter).
Cheers,
--
Stéphane
Reply to: