From 52d7980753305261c4d9123f89bd78fa76527b03 Mon Sep 17 00:00:00 2001 From: Jon Olav Hauglid Date: Thu, 12 Jun 2014 12:35:55 +0200 Subject: Bug#18913935: REMOVE SUPPORT FOR LINUXTHREADS This patch removes support for LinuxThreads. It was superseded by NPTL in Linux 2.6 (2003). --- sql/signal_handler.cc | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'sql/signal_handler.cc') diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index 51b9d7a2c51..cbf58bb6e57 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -42,9 +42,6 @@ static volatile sig_atomic_t segfaulted= 0; extern ulong max_used_connections; extern volatile sig_atomic_t calling_initgroups; -#ifdef HAVE_NPTL -extern volatile sig_atomic_t ld_assume_kernel_is_set; -#endif extern const char *optimizer_switch_names[]; @@ -296,21 +293,6 @@ extern "C" sig_handler handle_fatal_signal(int sig) } #endif -#ifdef HAVE_NPTL - if (thd_lib_detected == THD_LIB_LT && !ld_assume_kernel_is_set) - { - my_safe_printf_stderr("%s", - "You are running a statically-linked LinuxThreads binary on an NPTL\n" - "system. This can result in crashes on some distributions due to " - "LT/NPTL conflicts.\n" - "You should either build a dynamically-linked binary, " - "or force LinuxThreads\n" - "to be used with the LD_ASSUME_KERNEL environment variable.\n" - "Please consult the documentation for your distribution " - "on how to do that.\n"); - } -#endif - if (locked_in_memory) { my_safe_printf_stderr("%s", "\n" -- cgit v1.2.1