[oe] Mono

Hodgson, Simon Simon.Hodgson at nortechonline.co.uk
Wed Nov 4 21:30:33 UTC 2009


________________________________________
From: openembedded-devel-bounces at lists.openembedded.org [openembedded-devel-bounces at lists.openembedded.org] On Behalf Of Koen Kooi [k.kooi at student.utwente.nl]
Sent: 04 November 2009 20:36
To: openembedded-devel at lists.openembedded.org
Subject: Re: [oe] Mono

On 04-11-09 21:11, Hodgson, Simon wrote:
> I've built Mono for OpenEmbedded to run on an arm processor. But when I try to run just a simple Hello World test I get:
>
> mini-codegen.c:1073:mono_local_regalloc: assertion failed: (ins->dreg != -1)
>
> Does anyone have any suggestion as to what I might be doing wrong?

I'm building locally with:

koen at dominion:/OE/org.openembedded.dev/recipes/asio$ git diff ../mono
diff --git a/recipes/mono/mono_2.4.2.3.bb b/recipes/mono/mono_2.4.2.3.bb
index 5e659f3..261d090 100644
--- a/recipes/mono/mono_2.4.2.3.bb
+++ b/recipes/mono/mono_2.4.2.3.bb
@@ -2,7 +2,7 @@ require mono-${PV}.inc

  DEPENDS = "mono-native mono-mcs-intermediate glib-2.0 perl-native"

-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"

  # mono makes use of non-thumb-compatible inline asm.
  ARM_INSTRUCTION_SET = "arm"
@@ -10,7 +10,7 @@ ARM_INSTRUCTION_SET = "arm"
  SRC_URI += "file://configure.patch;patch=1\
             file://mini-arm.patch;patch=1\
              file://0001-remove-docs-dir-from-build.patch;patch=1 \
-            file://mono-cross-compilation-for-amd64.patch;patch=1 \
+#            file://mono-cross-compilation-for-amd64.patch;patch=1 \
             "

  # Per http://www.mono-project.com/Mono:ARM

That seems to fix most issues for me. I suspect it breaks for amd64
targets, but I don't care about those (yet).

regards,

Koen


That fixed it - thanks!

Simon



More information about the Openembedded-devel mailing list