On Fri, Mar 1, 2013 at 7:09 AM, Andreas Volz <li...@brachttal.net> wrote:
> Hello,
>
> static void
> _ecore_coroutine_setjmp(Ecore_Coroutine *coro)
> {
>    setjmp(coro->context);
>
>    /* The idea of this trick come from libcoroutine */
>    /* __jmpbuf[6] == stack pointer */
>    /* __jmpbuf[7] == program counter */
>    self->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack));
>    self->env[0].__jmpbuf[7] =
>    ((uintptr_t)_ecore_coroutine_entry_point);
> }
>
> lib/ecore/ecore_coroutine.c: In function '_ecore_coroutine_setjmp':
> lib/ecore/ecore_coroutine.c:120:4: error: 'self' undeclared (first use
> in this function)
>
> I didn't find self variable in the code. What is the problem?

Typo, fixed upstream.

> Compile system: Android

Problem is that you should never have reached this code on a Linux.
Could you check if you have ucontext.h ? Also can you check arm call
stack and if the stack pointer and the program counter are really at
position 6 and 7 on the stack ?
-- 
Cedric BAIL

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to