sbcl (1:1.0.40.0-3) src/runtime/linux-os.c

Summary

 src/runtime/linux-os.c |    4 ++++
 1 file changed, 4 insertions(+)

    
download this patch

Patch contents

--- sbcl-1.0.40.0.orig/src/runtime/linux-os.c
+++ sbcl-1.0.40.0/src/runtime/linux-os.c
@@ -213,6 +213,10 @@
         FSHOW((stderr,"linux kernel %d.%d predates 2.4;\n enabling workarounds for SPARC kernel bugs in signal handling.\n", major_version,minor_version));
         linux_sparc_siginfo_bug = 1;
 #endif
+#ifdef LISP_FEATURE_SB_THREAD
+        lose("This version of sbcl is compiled with threading support, but your kernel is too old to support this.\n\
+Please use a more recent kernel or a version of sbcl without threading support.\n");
+#endif
     }
 #ifdef LISP_FEATURE_SB_THREAD
 #if !defined(LISP_FEATURE_SB_LUTEX) && !defined(LISP_FEATURE_SB_PTHREAD_FUTEX)