r2338 - in glibc-package/branches/glibc-2.6/debian: . script.in sysdeps
Author: aurel32
Date: 2007-06-02 13:54:33 +0000 (Sat, 02 Jun 2007)
New Revision: 2338
Modified:
glibc-package/branches/glibc-2.6/debian/changelog
glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh
glibc-package/branches/glibc-2.6/debian/sysdeps/arm.mk
Log:
* debian/sysdeps/arm.mk, debian/script.in/kernelcheck.sh: bump minimum
kernel requirement to 2.6.12 on arm to get __ARM_NR_set_tls syscall.
Closes: #421037.
Modified: glibc-package/branches/glibc-2.6/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.6/debian/changelog 2007-06-01 21:06:52 UTC (rev 2337)
+++ glibc-package/branches/glibc-2.6/debian/changelog 2007-06-02 13:54:33 UTC (rev 2338)
@@ -95,6 +95,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 arm to get __ARM_NR_set_tls syscall.
+ Closes: #421037.
[ Clint Adams ]
* debian/local/manpages/ld.so.8: quote accepted values for LD_DEBUG.
Modified: glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh
===================================================================
--- glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh 2007-06-01 21:06:52 UTC (rev 2337)
+++ glibc-package/branches/glibc-2.6/debian/script.in/kernelcheck.sh 2007-06-02 13:54:33 UTC (rev 2338)
@@ -60,7 +60,20 @@
echo when you upgrade your Debian system.
exit_check
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 requires 2.6 kernel (except on m68k) because we drop to
# support linuxthreads
if [ "$realarch" != m68k ]
Modified: glibc-package/branches/glibc-2.6/debian/sysdeps/arm.mk
===================================================================
--- glibc-package/branches/glibc-2.6/debian/sysdeps/arm.mk 2007-06-01 21:06:52 UTC (rev 2337)
+++ glibc-package/branches/glibc-2.6/debian/sysdeps/arm.mk 2007-06-02 13:54:33 UTC (rev 2338)
@@ -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: