[Mono-dev] mono for arm does not work with AOT

josepascual josepascual at almudi.com
Tue Jul 24 10:44:41 EDT 2007


Hi Everyone,

mono version 1.2.4 (download from
http://go-mono.com/sources/mono/mono-1.2.4.tar.bz2)

compiled inside scratchbox (not for ARMEL)
============================================================================
============================
gcc version :

Target: arm-unknown-linux-gnu
Configured with:
/tmp/jhakala.16079/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-4.0.1-glib
c-2.3.2/gcc-4.0.1/configure --target=arm-unknown-linux-gnu
--host=i686-host_pc-linux-gnu
--prefix=/tmp/jhakala.16079/scratchbox/compilers/arm-linux-ct401-2.3
--with-headers=/tmp/jhakala.16079/scratchbox/compilers/arm-linux-ct401-2.3/a
rm-unknown-linux-gnu/include
--with-local-prefix=/tmp/jhakala.16079/scratchbox/compilers/arm-linux-ct401-
2.3/arm-unknown-linux-gnu --disable-nls --enable-threads=posix
--enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++
--enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.0.1
============================================================================
============================

test program

using System;

namespace Dela.Mono.Examples
{
   public class HelloWorld
   {
      public static void Main(string[] args)
      {
         Console.WriteLine("Hello World");
      }
   }
}
============================================================================
============================
output error:

mono --aot HelloWorld.exe
Mono Ahead of Time compiler - compiling assembly
/mono-examples/HelloWorld.exe

** ERROR **: file mini-arm.c: line 2158 (mono_arch_output_basic_block):
should not be reached
aborting...
Stacktrace:


Native stacktrace:

============================================================================
============================

thank you,

Jose Pascual




More information about the Mono-devel-list mailing list