From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNheB-0000r4-8O for qemu-devel@nongnu.org; Wed, 12 Mar 2014 07:48:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNhe4-000412-Lj for qemu-devel@nongnu.org; Wed, 12 Mar 2014 07:48:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNhe4-0003zu-Dj for qemu-devel@nongnu.org; Wed, 12 Mar 2014 07:48:24 -0400 From: "Dr. David Alan Gilbert (git)" Date: Wed, 12 Mar 2014 11:48:17 +0000 Message-Id: <1394624898-2730-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH 0/1] configure time fix for thread naming on old glibc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, jan.kiszka@siemens.com, mst@redhat.com From: "Dr. David Alan Gilbert" 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(-) -- 1.8.5.3