- 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");
+ lose("This version of SBCL is compiled with threading support, but your kernel\n"
+ "is too old to support this. Please use a more recent kernel or\n"
+ "a version of SBCL without threading support.\n");
}
if(! isnptl()) {
}
if(! isnptl()) {
- lose("This version of SBCL only works correctly with the NPTL threading library. Please use a newer glibc, use an older SBCL, or stop using LD_ASSUME_KERNEL");
+ lose("This version of SBCL only works correctly with the NPTL threading\n"
+ "library. Please use a newer glibc, use an older SBCL, or stop using\n"
+ "LD_ASSUME_KERNEL\n");
}
#endif
os_vm_page_size = getpagesize();
}
#endif
os_vm_page_size = getpagesize();
@@ -161,7+167,11 @@ Please use a more recent kernel or a version of SBCL without threading support.\
* don't do this trick on other platforms.
*/
#ifdef LISP_FEATURE_X86
* don't do this trick on other platforms.
*/
#ifdef LISP_FEATURE_X86
- if ((major_version == 2 && minor_version >= 6)
+ if ((major_version == 2
+ /* Some old kernels will apparently lose unsupported personality flags
+ * on exec() */
+ && ((minor_version == 6 && patch_version >= 11)
+ || (minor_version > 6)))
|| major_version >= 3)
{
int pers = personality(0xffffffffUL);
|| major_version >= 3)
{
int pers = personality(0xffffffffUL);
@@ -198,6+208,10 @@ Please use a more recent kernel or a version of SBCL without threading support.\
fprintf(stderr, "WARNING: Couldn't re-execute SBCL with the proper personality flags (maybe /proc isn't mounted?). Trying to continue anyway.\n");
}
}
fprintf(stderr, "WARNING: Couldn't re-execute SBCL with the proper personality flags (maybe /proc isn't mounted?). Trying to continue anyway.\n");
}
}
+ /* Use SSE detector. Recent versions of Linux enable SSE support
+ * on SSE capable CPUs. */
+ /* FIXME: Are there any old versions that does not support SSE? */