[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2668 - in glibc-package/branches/glibc-2.7/debian: . script.in sysdeps



Author: aurel32
Date: 2007-11-16 13:43:22 +0000 (Fri, 16 Nov 2007)
New Revision: 2668

Modified:
   glibc-package/branches/glibc-2.7/debian/changelog
   glibc-package/branches/glibc-2.7/debian/script.in/kernelcheck.sh
   glibc-package/branches/glibc-2.7/debian/sysdeps/alpha.mk
   glibc-package/branches/glibc-2.7/debian/sysdeps/sh4.mk
Log:
  * script.in/kernelcheck.sh, sysdeps/alpha.mk: bump minimum kernel version to
    2.6.9 for alpha.
  * script.in/kernelcheck.sh, sysdeps/sh4.mk: bump minimum kernel version to
    2.6.11 for sh4.



Modified: glibc-package/branches/glibc-2.7/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.7/debian/changelog	2007-11-16 13:23:52 UTC (rev 2667)
+++ glibc-package/branches/glibc-2.7/debian/changelog	2007-11-16 13:43:22 UTC (rev 2668)
@@ -96,6 +96,10 @@
     /var/db/nscd.  Closes: #449198.
   * debhelper.in/nscd.postrm: remove /var/cache/nscd on purge.  Closes:
     #449198.
+  * script.in/kernelcheck.sh, sysdeps/alpha.mk: bump minimum kernel version to
+    2.6.9 for alpha.
+  * script.in/kernelcheck.sh, sysdeps/sh4.mk: bump minimum kernel version to
+    2.6.11 for sh4.
 
   [ Petr Salinger]
   * any/local-linuxthreads-unwind.diff: provide unwind-resume routine for
@@ -119,7 +123,7 @@
   [ Samuel Thibault ]
   * hurd-i386/submitted-ptr-mangle.diff: Define PTR_MANGLE for assembly.
 
- -- Aurelien Jarno <aurel32@debian.org>  Thu, 15 Nov 2007 15:47:41 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Fri, 16 Nov 2007 14:41:41 +0100
 
 glibc (2.6.1-6) unstable; urgency=low
 

Modified: glibc-package/branches/glibc-2.7/debian/script.in/kernelcheck.sh
===================================================================
--- glibc-package/branches/glibc-2.7/debian/script.in/kernelcheck.sh	2007-11-16 13:23:52 UTC (rev 2667)
+++ glibc-package/branches/glibc-2.7/debian/script.in/kernelcheck.sh	2007-11-16 13:43:22 UTC (rev 2668)
@@ -84,8 +84,8 @@
             fi	
         fi
 
-        # HPPA boxes require latest fixes in the kernel to function properly.
-        if [ "$realarch" = parisc ]
+        # Alpha and HPPA boxes require latest fixes in the kernel to function properly.
+        if [ "$realarch" = parisc -o "$realarch" = alpha ]
         then
             if linux_compare_versions "$kernel_ver" lt 2.6.9
             then
@@ -98,6 +98,20 @@
             fi
         fi
 
+        # sh4 boxes require kernel version 2.6.11 minimum
+        if [ "$realarch" = sh4 ]
+        then
+            if linux_compare_versions "$kernel_ver" lt 2.6.11
+            then
+                echo WARNING: This version of glibc requires that you be running
+                echo kernel version 2.6.11 or later.  Earlier kernels contained
+                echo bugs that may render the system unusable if a modern version
+                echo of glibc is installed.
+                kernel26_help
+                exit_check
+            fi	
+        fi
+
         # The GNU libc requires 2.6 kernel (except on m68k) because we drop to
         # support linuxthreads
         if [ "$realarch" != m68k ]

Modified: glibc-package/branches/glibc-2.7/debian/sysdeps/alpha.mk
===================================================================
--- glibc-package/branches/glibc-2.7/debian/sysdeps/alpha.mk	2007-11-16 13:23:52 UTC (rev 2667)
+++ glibc-package/branches/glibc-2.7/debian/sysdeps/alpha.mk	2007-11-16 13:43:22 UTC (rev 2668)
@@ -1 +1,5 @@
 libc = libc6.1
+
+# Requires Linux 2.6.9 for NPTL
+libc_MIN_KERNEL_SUPPORTED = 2.6.9
+

Modified: glibc-package/branches/glibc-2.7/debian/sysdeps/sh4.mk
===================================================================
--- glibc-package/branches/glibc-2.7/debian/sysdeps/sh4.mk	2007-11-16 13:23:52 UTC (rev 2667)
+++ glibc-package/branches/glibc-2.7/debian/sysdeps/sh4.mk	2007-11-16 13:43:22 UTC (rev 2668)
@@ -1,2 +1,6 @@
 # Some tests assume a fast machine
 TIMEOUTFACTOR=4
+
+# Requires Linux 2.6.9 for NPTL
+libc_MIN_KERNEL_SUPPORTED = 2.6.11
+



Reply to: