* [PATCH] configure: remove useless NPTL probe
@ 2021-10-25 8:19 Paolo Bonzini
2021-10-25 15:08 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2021-10-25 8:19 UTC (permalink / raw)
To: qemu-devel
Using a linuxthreads system with a recent QEMU will have bigger problems
than just not having NPTL. Remove the unnecessary check.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/configure b/configure
index 03162008aa..b5c36347eb 100755
--- a/configure
+++ b/configure
@@ -1994,25 +1994,6 @@ if ! has "$pkg_config_exe"; then
error_exit "pkg-config binary '$pkg_config_exe' not found"
fi
-##########################################
-# NPTL probe
-
-if test "$linux_user" = "yes"; then
- cat > $TMPC <<EOF
-#include <sched.h>
-#include <linux/futex.h>
-int main(void) {
-#if !defined(CLONE_SETTLS) || !defined(FUTEX_WAIT)
-#error bork
-#endif
- return 0;
-}
-EOF
- if ! compile_object ; then
- feature_not_found "nptl" "Install glibc and linux kernel headers."
- fi
-fi
-
##########################################
# xen probe
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] configure: remove useless NPTL probe
2021-10-25 8:19 [PATCH] configure: remove useless NPTL probe Paolo Bonzini
@ 2021-10-25 15:08 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2021-10-25 15:08 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel
On 10/25/21 1:19 AM, Paolo Bonzini wrote:
> Using a linuxthreads system with a recent QEMU will have bigger problems
> than just not having NPTL. Remove the unnecessary check.
>
> Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
> ---
> configure | 19 -------------------
> 1 file changed, 19 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-25 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 8:19 [PATCH] configure: remove useless NPTL probe Paolo Bonzini
2021-10-25 15:08 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).