Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Jürgen Hötzel" <juergen@hoetzel.info>
To: caml-list@inria.fr
Subject: [Caml-list] Unable to build Android cross-compiler with OCaml 4.02.0
Date: Mon, 29 Sep 2014 14:57:48 +0200	[thread overview]
Message-ID: <CANmXxHMqSpUOEbaA4tigu6dcQF+PGOCk_XMQWoZC-vsMvcgBkw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

Hi,

I was able to build a cross Compiler with OCaml 4.01.0 using this config:
https://github.com/vouillon/ocaml-android

But when I try to build with 4.02.0, building of the arm native stdlib
fails:

../boot/ocamlrun ../ocamlopt -strict-sequence -w +33..39 -g -warn-error A
-bin-annot -nostdlib -safe-string `./Compflags char.cmx` -c char.ml
I/97
>> Fatal error: Liveness.fundecl
Fatal error: exception Misc.Fatal_error
Makefile.shared:79: recipe for target 'char.cmx' failed


I did some git-bisecting and it seems this commit causes the error:

commit c4f3a6c70c12681871573851921d3b070be5744b
Author: Xavier Leroy <xavier.leroy@inria.fr>
Date:   Fri Jul 18 14:07:35 2014 +0000

    PR#6484 and PR#6486: CSE across memory allocations can present the GC
with memory roots that are illegal.
    Plus: lift the previous restriction that all arithmetic ops and loads
have at most one result register, this isn't true for ARM with soft floats.
    Plus: code refactoring and more comments.


    git-svn-id: http://caml.inria.fr/svn/ocaml/version/4.02@15012
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02

Any hints/help appreciated

Regards,

Jürgen

[-- Attachment #2: Type: text/html, Size: 1765 bytes --]

             reply	other threads:[~2014-09-29 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29 12:57 Jürgen Hötzel [this message]
2014-09-29 13:43 ` Peter Zotov

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=CANmXxHMqSpUOEbaA4tigu6dcQF+PGOCk_XMQWoZC-vsMvcgBkw@mail.gmail.com \
    --to=juergen@hoetzel.info \
    --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