r2329 - in glibc-package/trunk/debian: . script.in sysdeps
Author: aurel32
Date: 2007-06-01 15:24:56 +0000 (Fri, 01 Jun 2007)
New Revision: 2329
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/script.in/kernelcheck.sh
glibc-package/trunk/debian/sysdeps/arm.mk
Log:
* debian/sysdeps/arm.mk, debian/script.in/kernelcheck.sh: bump minimum
kernel requirement to 2.6.12 on hppa to get __ARM_NR_set_tls syscall.
Closes: #421037.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2007-06-01 15:03:45 UTC (rev 2328)
+++ glibc-package/trunk/debian/changelog 2007-06-01 15:24:56 UTC (rev 2329)
@@ -11,6 +11,9 @@
short replies.
* sysdeps/depflags.mk, sysdeps/depflags.pl: use DEB_HOST_ARCH_OS and
DEB_HOST_ARCH instead of DEB_HOST_GNU_SYSTEM and DEB_HOST_GNU_TYPE.
+ * debian/sysdeps/arm.mk, debian/script.in/kernelcheck.sh: bump minimum
+ kernel requirement to 2.6.12 on hppa to get __ARM_NR_set_tls syscall.
+ Closes: #421037.
[ Clint Adams ]
* debian/local/manpages/ld.so.8: quote accepted values for LD_DEBUG.
@@ -20,7 +23,7 @@
* Update Vietnamese debconf translation, by Clytie Siddall.
closes: #426824.
- -- Clint Adams <schizo@debian.org> Thu, 31 May 2007 13:33:52 -0400
+ -- Aurelien Jarno <aurel32@debian.org> Fri, 01 Jun 2007 17:22:12 +0200
glibc (2.5-9) unstable; urgency=low
Modified: glibc-package/trunk/debian/script.in/kernelcheck.sh
===================================================================
--- glibc-package/trunk/debian/script.in/kernelcheck.sh 2007-06-01 15:03:45 UTC (rev 2328)
+++ glibc-package/trunk/debian/script.in/kernelcheck.sh 2007-06-01 15:24:56 UTC (rev 2329)
@@ -77,6 +77,19 @@
fi
fi
+ # arm boxes require __ARM_NR_set_tls in the kernel to function properly.
+ if [ "$realarch" = arm ]
+ then
+ if kernel_compare_versions "$kernel_ver" lt 2.6.12
+ then
+ echo WARNING: This version of glibc requires that you be running
+ echo kernel version 2.6.12 or later. Earlier kernels contained
+ echo bugs that may render the system unusable if a modern version
+ echo of glibc is installed.
+ exit_check
+ fi
+ fi
+
# The GNU libc is now built with --with-kernel= >= 2.4.1 on m68k
if [ "$realarch" = m68k ]
then
Modified: glibc-package/trunk/debian/sysdeps/arm.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/arm.mk 2007-06-01 15:03:45 UTC (rev 2328)
+++ glibc-package/trunk/debian/sysdeps/arm.mk 2007-06-01 15:24:56 UTC (rev 2329)
@@ -1 +1,5 @@
libc_add-ons = ports nptl $(add-ons)
+
+# We need __ARM_NR_set_tls syscall
+libc_MIN_KERNEL_SUPPORTED = 2.6.12
+
Reply to: