Resolved: >From the Mono Forums:
Re: mono 2.2 rc2 on ARM issues by Cliff Brake Dec 17, 2008; 11:18am :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Print | View Threaded | Show Only this Message For the record, I figured out the root cause for the Illegal Instruction. Openembedded when it builds ARM kernels turns off CONFIG_OABI_COMPAT (automatically) as a performance optimization if it detects you are building with a EABI toolchain, etc. So unless I'm missing something, at this time Mono requires OABI_COMPAT enabled in ARM kernels. We should probably fix this up at some point as there will be an increasing number of ARM systems in the future that have this turned off. Cliff -- ======================= Cliff Brake http://bec-systems.com > From: [email protected] > To: [email protected] > Date: Mon, 15 Dec 2008 15:51:39 -0500 > Subject: Re: [Angstrom-distro-users] Mono armv4t Illegal Instruction? > > > I took a little deeper look with gdb. It is apparently happening in the > mono_arch_flush_icache function: > > mono_arch_flush_icache (guint8 *code, gint size) > { > __asm __volatile ("mov r0, %0\n" > "mov r1, %1\n" > "mov r2, %2\n" > "swi 0x9f0002 @ sys_cacheflush" > : /* no outputs */ > : "r" (code), "r" (code + size), "r" (0) > : "r0", "r1", "r3" ); > > } > > > > From: [email protected] > > To: [email protected] > > Date: Fri, 12 Dec 2008 14:20:38 -0500 > > Subject: Re: [Angstrom-distro-users] Mono armv4t Illegal Instruction? > > > > > > Yes. > > > > > To: [email protected] > > > From: [email protected] > > > Date: Fri, 12 Dec 2008 20:02:14 +0100 > > > Subject: Re: [Angstrom-distro-users] Mono armv4t Illegal Instruction? > > > > > > On 12-12-08 13:28, John Smith wrote: > > > > Installed mono from the angstrom package feed on an Cirrus Logic EP9315 > > > > ARM920T (armv4t) system. > > > > > > > > mono hello.exe > > > > Illegal instruction > > > > > > Did you enable thumb support in your kernel? > > > > > > regards, > > > > > > Koen > > > > > > > > > _______________________________________________ > > > Angstrom-distro-users mailing list > > > [email protected] > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users > > > > _________________________________________________________________ > > Send e-mail faster without improving your typing skills. > > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008 > > _______________________________________________ > > Angstrom-distro-users mailing list > > [email protected] > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users > > _________________________________________________________________ > Send e-mail faster without improving your typing skills. > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008 > _______________________________________________ > Angstrom-distro-users mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users _________________________________________________________________ It’s the same Hotmail®. If by “same” you mean up to 70% faster. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad1_122008 _______________________________________________ Angstrom-distro-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
