From: Normand <normand@linux.vnet.ibm.com>
To: caml-list@inria.fr
Subject: [Caml-list] Where is defined the caml_program initial entry point called from asmrun/*/
Date: Fri, 28 Mar 2014 12:09:02 +0100 [thread overview]
Message-ID: <5335584E.5080908@linux.vnet.ibm.com> (raw)
In-Reply-To: <20140322122400.GD10374@annexia.org>
I still have problems while porting ocaml on ppc64le archi. I was able to generate the ocamlcompopt, but obviously with missing changes because the first trial is segfault.
Investigating the failure with gdb I was able to trace the code from "caml_start_program" calling "caml_program"
https://git.fedorahosted.org/cgit/fedora-ocaml.git/tree/asmrun/power64-elf.S#n350
(url without my own patches)
But I am not able to find the source code associated to the "caml_program"
Could somebody give me a clue ? I guess this is generated with help of asmcomp/*/emit.mlp
and may be the asmcomp/cmmgen.ml but the generated asmcom/cmmgen.s do not match the disassemble code displayed via gdb.
--
Michel Normand
next prev parent reply other threads:[~2014-03-28 11:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-20 15:53 [Caml-list] need help to investigate an ocaml build error on ppc64le archi Normand
2014-03-20 18:36 ` Normand
2014-03-22 12:20 ` Richard W.M. Jones
2014-03-22 12:24 ` Richard W.M. Jones
2014-03-28 11:09 ` Normand [this message]
2014-03-28 11:59 ` [Caml-list] Where is defined the caml_program initial entry point called from asmrun/*/ John Carr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5335584E.5080908@linux.vnet.ibm.com \
--to=normand@linux.vnet.ibm.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox