Re: [fedora-arm] getcontext returns ENOSYS

2012-04-29 Thread Michael Hope
On 29 April 2012 01:39, Richard W.M. Jones rjo...@redhat.com wrote: For the record, attached is the patch to Fedora glibc.  It works, and gets us past the missing ucontext problem. However, qemu-system-arm fails very quickly afterwards somewhere in TCG code.  I suspect that qemu cannot

Re: [fedora-arm] getcontext returns ENOSYS

2012-04-28 Thread Richard W.M. Jones
For the record, attached is the patch to Fedora glibc. It works, and gets us past the missing ucontext problem. However, qemu-system-arm fails very quickly afterwards somewhere in TCG code. I suspect that qemu cannot emulate the same hardware as required by my kernel

Re: [fedora-arm] getcontext returns ENOSYS

2012-04-28 Thread Richard W.M. Jones
On Sat, Apr 28, 2012 at 03:29:54PM +0100, Peter Robinson wrote: On Sat, Apr 28, 2012 at 2:39 PM, Richard W.M. Jones rjo...@redhat.com wrote: For the record, attached is the patch to Fedora glibc.  It works, and gets us past the missing ucontext problem. If we need this eventually for

Re: [fedora-arm] getcontext returns ENOSYS

2012-04-28 Thread Peter Robinson
On Sat, Apr 28, 2012 at 3:38 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Sat, Apr 28, 2012 at 03:29:54PM +0100, Peter Robinson wrote: On Sat, Apr 28, 2012 at 2:39 PM, Richard W.M. Jones rjo...@redhat.com wrote: For the record, attached is the patch to Fedora glibc.  It works, and

[fedora-arm] getcontext returns ENOSYS

2012-04-27 Thread Richard W.M. Jones
Has anyone tried to port software which uses getcontext/setcontext (ie. coroutines, green threads etc)? Although we have compiled qemu for ARM, it fails to run because getcontext returns an error with errno == ENOSYS. qemu contains its own coroutine implementation. Rich. -- Richard Jones,

Re: [fedora-arm] getcontext returns ENOSYS

2012-04-27 Thread Richard W.M. Jones
On Fri, Apr 27, 2012 at 07:58:38PM +0100, Richard W.M. Jones wrote: Has anyone tried to port software which uses getcontext/setcontext (ie. coroutines, green threads etc)? Although we have compiled qemu for ARM, it fails to run because getcontext returns an error with errno == ENOSYS.