Improve the configure test for presence of ucontext functions by
making linker warnings fatal; this allows us to detect when we are
linked with a glibc which implements makecontext() to always return
ENOSYS.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
Compiling on an Ubuntu Natty
On 23 February 2012 16:16, Peter Maydell peter.mayd...@linaro.org wrote:
Improve the configure test for presence of ucontext functions by
making linker warnings fatal; this allows us to detect when we are
linked with a glibc which implements makecontext() to always return
ENOSYS.
Er, ignore
On 13 October 2011 23:23, Andreas Färber andreas.faer...@web.de wrote:
Am 13.10.2011 16:26, schrieb Andreas Färber:
Am 12.10.2011 18:21, schrieb Peter Maydell:
Improve the configure test for presence of ucontext functions by
making linker warnings fatal; this allows us to detect when we are
On 10/14/2011 02:30 PM, Peter Maydell wrote:
I've also just discovered that it's no use on Oneiric,
where the linker warning has gone away but the syscall
still always returns ENOSYS.
I think we should just always use the gthread implementation
rather than preferring a
On 10/14/2011 02:47 PM, Paolo Bonzini wrote:
A user-space longjmp will always be slower than a mutex+condvar+context
switch.
Gah, I obviously meant faster. :)
Paolo
On 14 October 2011 13:55, Paolo Bonzini pbonz...@redhat.com wrote:
On 10/14/2011 02:47 PM, Paolo Bonzini wrote:
A user-space longjmp will always be slower than a mutex+condvar+context
switch.
Gah, I obviously meant faster. :)
Ah, I hadn't actually looked at the coroutine-gthread.c code, and
Am 12.10.2011 18:21, schrieb Peter Maydell:
Improve the configure test for presence of ucontext functions by
making linker warnings fatal; this allows us to detect when we are
linked with a glibc which implements makecontext() to always return
ENOSYS.
Signed-off-by: Peter
Am 13.10.2011 16:26, schrieb Andreas Färber:
Am 12.10.2011 18:21, schrieb Peter Maydell:
Improve the configure test for presence of ucontext functions by
making linker warnings fatal; this allows us to detect when we are
linked with a glibc which implements makecontext() to always return
Improve the configure test for presence of ucontext functions by
making linker warnings fatal; this allows us to detect when we are
linked with a glibc which implements makecontext() to always return
ENOSYS.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
---
Compiling on an Ubuntu Natty