Skip to content

configure time fix for thread naming on old glibc

Dr. David Alan Gilbert (git) qemu-devel 1 version Applied

Status from this message: I've applied this for 2.0, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1Detect pthread_setname_np at configure timeconfigure util/qemu-thread-posix.c util/qemu-thread-win32.c+48 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/1] configure time fix for thread naming on old glibc

From: "Dr. David Alan Gilbert" <[email protected]>

Peter was preferring configure time detection of pthread_setname_np to guard against my recent breaking of builds on old libc.

I've tested this on:
Fedora 20 - modern glibc - works as before
RHEL 5 - glibc 2.5:
[dgilbert@davidgil-rhel5 try]$ ./bin/qemu-system-x86_64 -nographic -name debug-threads=on
qemu: thread naming not supported on this host

and checked a mingw windows cross build builds.

A check on SLES11 is probably worth a try if someone has one to hand.

Dr. David Alan Gilbert (1):
Detect pthread_setname_np at configure time

 configure                | 28 ++++++++++++++++++++++++++++
 util/qemu-thread-posix.c | 21 ++++++++++++++++++---
 util/qemu-thread-win32.c |  2 ++
 3 files changed, 48 insertions(+), 3 deletions(-)
Signature · 1 line
1.8.5.3