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

Angelo Compagnucci angelo.compagnucci at gmail.com
Mon Feb 2 11:20:06 UTC 2015


Hello List,

Anybody willing to help here?

Some other infos. The package is built inside buildroot and with the
previous mono version there were no problems at all.
Now, on mips, and only on mips, I have that strange error. It seems
like to me that something is not correctly imported when on mips.

Any advice is really appreciated.

Angelo

2015-01-24 12:22 GMT+01:00 Angelo Compagnucci <angelo.compagnucci at gmail.com>:
> 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



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


More information about the Mono-devel-list mailing list