Re: getcontext returns ENOSYS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.  qemu contains its
> own coroutine implementation.

OK looking at this a bit more, it turns out that Linaro hit this bug a
month or two ago and added a *context implementation in glibc-ports:

https://bugs.launchpad.net/qemu-linaro/+bug/883136
http://sourceware.org/ml/libc-ports/2012-02/msg00077.html
Upstream: http://sourceware.org/git/?p=glibc-ports.git;a=commit;h=402a76b62dded0ee93cfec0471aaeccb989196d2

I'm a bit confused about the relationship of glibc, glibc-ports,
Fedora and ARM.  Can we include this patch in our glibc package to fix
the bug in our qemu?

I'd prefer a real implementation of the ucontext functions, instead of
using the much less tested threads fallback code in qemu.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux