[Mono-dev] Illegal instruction - mono ARM

Zoltan Varga vargaz at gmail.com
Wed Jan 14 16:47:16 UTC 2015


Hi,

  There could be multiple reasons for this, for example the cpu might not
match the runtime configuration, i.e. it uses hard float abi instead of a
soft float abi, it could be an old cpu that mono no longer supports (armv5
etc).

          Zoltan

On Wed, Jan 14, 2015 at 10:51 AM, oferyach <ofer at orpak.com> wrote:

> Hi
>
> I compile mono with following configuration
> ./configure --host=arm-linux-gnueabi --disable-mcs-build
> --prefix=/home/MONOTEST CC=arm-linux-gnueabi-gcc CFLAGS='-march=armv5te
> -mfloat-abi=softfp '
>
> On target machine I can run mono --version to get
> Mono JIT compiler version 3.10.0 (tarball Thu Jan  1 17:44:51 IST 2015)
> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
> www.mono-project.com
>         TLS:           normal
>         SIGSEGV:       normal
>         Notifications: epoll
>         Architecture:  armel,vfp
>         Disabled:      none
>         Misc:          softdebug
>         LLVM:          supported, not enabled.
>         GC:            sgen
>
> But trying to run any Hello application (that runs OK on host mono) result
> in
>
> Illegal instruction
>
> Running under strace does not help to understand the problem
>
> Any ideas?
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Illegal-instruction-mono-ARM-tp4665217.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150114/9e880981/attachment.html>


More information about the Mono-devel-list mailing list