[Mono-bugs] [Bug 350649] [PPC] Unhandled Exception: System.ExecutionEngineException: SIGILL

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 15 21:38:40 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=350649

User bill at arrowsreach.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=350649#c14





--- Comment #14 from Bill Farrow <bill at arrowsreach.com>  2008-01-15 19:38:40 MST ---
I made a further attempt by following the http://www.mono-project.com/Mono:ARM
page with some changes for my situation.

Compile mono-20080110 on x86 Host.
  $ ./configure
  $ make
  $ make install DESTDIR=`pwd`/tmptree
Copy tmptree from Host to the Target filesystem

Compile mono-20080110 on ppc Target (instead of using scratchbox)
  $ ./configure --disable-mcs-build
  $ make
  $ make install

Looks good at this point on the ppc Target:
  $ /usr/local/bin/mono --version 

  Mono JIT compiler version 20080110 (tarball)
  Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  ppc
        Disabled:      none

  $ mcs --version

  Mono C# compiler version 2008.110.0.0


It will run assemblies that were compiled on the x86 Host:
  $ mono HelloWorldHost.exe

  Hello Mono World (Compiled on Host)

It will NOT run assemblies compiled on the ppc Target:
  $ mcs HelloWorldTarget.cs
  $ mono HelloWorldTarget.exe

  Cannot open assembly HelloWorldTarget.exe.

Here are the first few lines with the verbose option:
  $ mono -v HelloWorldTarget.exe

  Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string
(object,intptr,intptr,intptr) emitted at 0x30384028 to 0x30384164 (code length
316) [HelloWorldTarget.exe]
  Method System.OutOfMemoryException:.ctor (string) emitted at 0x30384168 to
0x303841c0 (code length 88) [HelloWorldTarget.exe]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list