at 18.09-beta 39 lines 2.1 kB view raw
1diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure 2index cace758c01..38fe7fe0b0 100644 3--- a/sysdeps/unix/sysv/linux/configure 4+++ b/sysdeps/unix/sysv/linux/configure 5@@ -69,7 +69,7 @@ fi 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel header at least $minimum_kernel" >&5 7 $as_echo_n "checking for kernel header at least $minimum_kernel... " >&6; } 8 decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; 9-abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; 10+abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; 11 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12 /* end confdefs.h. */ 13 #include <linux/version.h> 14diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac 15index 13abda0a51..6abc12eaed 100644 16--- a/sysdeps/unix/sysv/linux/configure.ac 17+++ b/sysdeps/unix/sysv/linux/configure.ac 18@@ -50,7 +50,7 @@ fi 19 AC_MSG_CHECKING(for kernel header at least $minimum_kernel) 20 changequote(,)dnl 21 decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; 22-abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; 23+abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; 24 changequote([,])dnl 25 AC_TRY_COMPILE([#include <linux/version.h> 26 #if LINUX_VERSION_CODE < $decnum 27diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h 28index 823cd8224d..482caaeeec 100644 29--- a/sysdeps/unix/sysv/linux/dl-osinfo.h 30+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h 31@@ -39,7 +39,7 @@ 32 GLRO(dl_osversion) = version; \ 33 \ 34 /* Now we can test with the required version. */ \ 35- if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION) \ 36+ if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION && version != 0x020620) \ 37 /* Not sufficent. */ \ 38 FATAL ("FATAL: kernel too old\n"); \ 39 } \