Comment 22 for bug 810402

Revision history for this message
Stéphane Glondu (glondu) wrote : Re: [Bug 810402] Re: all native ocaml programs segfault on armel

Le 12/08/2011 16:25, Dave Martin a écrit :
> Can you try adding a ".type <function name>, %function" directive for
> each function in the startup .s file?

I've patched ocamlopt so that all symbol functions have this directive,
and the empty program works!

I'm afraid this means that everything has to be recompiled with the
patched ocamlopt... this is confirmed by a test on lwt.

What about upgrading to ocaml 3.12.1 at the same time in Ubuntu? The
packaging is ready for Debian (it is currently waiting for ACK from the
release team), and also means recompiling everything. Most packages
recompile with no source changes with ocaml 3.12.1 [1]. The permanent
OCaml transition tracker [2] will be helpful, too.