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

Rafael Teixeira monoman at gmail.com
Mon Feb 2 11:38:37 UTC 2015


You can try to use git bisect (http://git-scm.com/docs/git-bisect) to trim
down the history of changes around your problem. Probably mips_sp is in a
different header now not imported by sgen-os-posix.c, but you should look
at conditionals for MIPS. Can't dig on the sources to help further...

Good luck,

Rafael Teixeira
O..:.)oooo

On Mon, Feb 2, 2015 at 9:20 AM, Angelo Compagnucci <
angelo.compagnucci at gmail.com> wrote:

> 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
> _______________________________________________
> 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/20150202/5d622ec7/attachment.html>


More information about the Mono-devel-list mailing list