[Mono-dev] Error cross.compiling mono for MIPS

Angelo Compagnucci angelo.compagnucci at gmail.com
Sat Jan 24 11:22:33 UTC 2015


Hello List,

I'm cross-compiling mono 3.12.0 for mips and found an error not
present in mono 3.10.0:

sgen-os-posix.c: In function 'suspend_thread':
../../mono/utils/mono-context.h:475:61: error: 'mips_sp' undeclared
(first use in this function)
 #define MONO_CONTEXT_GET_SP(ctx) ((gpointer)((ctx)->sc_regs[mips_sp]))
                                                             ^
sgen-os-posix.c:73:17: note: in expansion of macro 'MONO_CONTEXT_GET_SP'
   stack_start = MONO_CONTEXT_GET_SP (&ctx) - REDZONE_SIZE;
                 ^
../../mono/utils/mono-context.h:475:61: note: each undeclared
identifier is reported only once for each function it appears in
 #define MONO_CONTEXT_GET_SP(ctx) ((gpointer)((ctx)->sc_regs[mips_sp]))
                                                             ^
sgen-os-posix.c:73:17: note: in expansion of macro 'MONO_CONTEXT_GET_SP'

stack_start = MONO_CONTEXT_GET_SP (&ctx) - REDZONE_SIZE;

Can you help me understanding what's happening here?

Thank you!

-- 
Profile: http://it.linkedin.com/in/compagnucciangelo


More information about the Mono-devel-list mailing list