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

Bug#499366: Acknowledgement (libc6-xen - Wrong bit for nosegneg pseudo hwcap)



tags 499366 patch
thanks

Patch
diff -Nru glibc-2.7/debian/changelog glibc-2.7/debian/changelog
--- glibc-2.7/debian/changelog	2008-09-20 12:41:28.000000000 +0000
+++ glibc-2.7/debian/changelog	2008-09-20 12:41:42.000000000 +0000
@@ -1,3 +1,10 @@
+glibc (2.7-13.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Set nosegneg capability to 1 to match current kernels. (closes: #499366)
+
+ -- Bastian Blank <waldi@debian.org>  Sat, 20 Sep 2008 12:24:22 +0000
+
 glibc (2.7-13) unstable; urgency=low
 
   [ Aurelien Jarno ]
diff -Nru glibc-2.7/debian/sysdeps/i386.mk glibc-2.7/debian/sysdeps/i386.mk
--- glibc-2.7/debian/sysdeps/i386.mk	2008-09-20 12:41:28.000000000 +0000
+++ glibc-2.7/debian/sysdeps/i386.mk	2008-09-20 12:41:42.000000000 +0000
@@ -11,7 +11,7 @@
 i686_extra_config_options = $(extra_config_options) --disable-profile
 
 # We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
-# greatly increase the speed when running under the Xen hypervisor.
+# greatly increase the speed when running under the 32bit Xen hypervisor.
 GLIBC_PASSES += xen
 DEB_ARCH_REGULAR_PACKAGES += libc6-xen
 xen_add-ons = nptl $(add-ons)
@@ -24,11 +24,11 @@
 define libc6-xen_extra_pkg_install
 mkdir -p debian/libc6-xen/etc/ld.so.conf.d
 echo '# This directive teaches ldconfig to search in nosegneg subdirectories' >  debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
-echo '# and cache the DSOs there with extra bit 0 set in their hwcap match'   >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
+echo '# and cache the DSOs there with extra bit 1 set in their hwcap match'   >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
 echo '# fields. In Xen guest kernels, the vDSO tells the dynamic linker to'   >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
 echo '# search in nosegneg subdirectories and to match this extra hwcap bit'  >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
 echo '# in the ld.so.cache file.'                                             >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
-echo 'hwcap 0 nosegneg'                                                       >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
+echo 'hwcap 1 nosegneg'                                                       >> debian/libc6-xen/etc/ld.so.conf.d/libc6-xen.conf
 endef
 
 # build 64-bit (amd64) alternative library

Attachment: signature.asc
Description: Digital signature


Reply to: