Re: Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
On Sat, Nov 22, 2008 at 07:02:26PM +0100, Aurelien Jarno wrote: On Sat, Nov 22, 2008 at 12:58:38PM +0100, Bastian Blank wrote: The traditional hwcaps are read from the interpreter data via AT_HWCAP. The pseudo hwcaps are defined in the vdso, but I fail to find this code. Look at hwcap_extra in elf/ldconfig.c It is _dl_important_hwcaps in elf/dl-sysdep.c. Bastian -- Beam me up, Scotty! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
On Sat, Nov 22, 2008 at 10:41:01AM +, Richard Kettlewell wrote: Aurelien Jarno wrote: The value in this file is the correct one. Where is this documented? In the kernel. However, I was not able to find the code which processes this hwcaps in libc. The traditional hwcaps are read from the interpreter data via AT_HWCAP. The pseudo hwcaps are defined in the vdso, but I fail to find this code. Bastian -- Immortality consists largely of boredom. -- Zefrem Cochrane, Metamorphosis, stardate 3219.8 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
On Sat, Nov 22, 2008 at 12:58:38PM +0100, Bastian Blank wrote: On Sat, Nov 22, 2008 at 10:41:01AM +, Richard Kettlewell wrote: Aurelien Jarno wrote: The value in this file is the correct one. Where is this documented? In the kernel. However, I was not able to find the code which processes this hwcaps in libc. The traditional hwcaps are read from the interpreter data via AT_HWCAP. The pseudo hwcaps are defined in the vdso, but I fail to find this code. Look at hwcap_extra in elf/ldconfig.c -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
Package: libc6-xen Version: 2.7-16 As shipped, /etc/ld.so.conf.d/libc6-xen.conf read as follows: # This directive teaches ldconfig to search in nosegneg subdirectories # and cache the DSOs there with extra bit 1 set in their hwcap match # fields. In Xen guest kernels, the vDSO tells the dynamic linker to # search in nosegneg subdirectories and to match this extra hwcap bit # in the ld.so.cache file. hwcap 1 nosegneg However I still got thousands of 4gb seg fixup messages and ldd revealed that the runtime linker was not using the Xen-friendly Libc. Changing the 1 to 0, based on a mailing list posting I found, fixed the problem. Unfortunately I've not found where any of this is documented (the ldconfig man page does not contain any useful pointers) so this is slightly guesswork on my part. Perhaps the man page could be improved. (I'm using etch's Xen and running testing and unstable VMs; the kernel in all cases is 2.6.18-6-xen-686.) ttfn/rjk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
Processing commands for [EMAIL PROTECTED]: reassign 506420 linux-image-2.6.18-6-xen-686 Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf? Bug reassigned from package `libc6-xen' to `linux-image-2.6.18-6-xen-686'. thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
reassign 506420 linux-image-2.6.18-6-xen-686 thanks On Fri, Nov 21, 2008 at 10:14:29AM +, Richard Kettlewell wrote: Package: libc6-xen Version: 2.7-16 As shipped, /etc/ld.so.conf.d/libc6-xen.conf read as follows: # This directive teaches ldconfig to search in nosegneg subdirectories # and cache the DSOs there with extra bit 1 set in their hwcap match # fields. In Xen guest kernels, the vDSO tells the dynamic linker to # search in nosegneg subdirectories and to match this extra hwcap bit # in the ld.so.cache file. hwcap 1 nosegneg However I still got thousands of 4gb seg fixup messages and ldd revealed that the runtime linker was not using the Xen-friendly Libc. Changing the 1 to 0, based on a mailing list posting I found, fixed the problem. Unfortunately I've not found where any of this is documented (the ldconfig man page does not contain any useful pointers) so this is slightly guesswork on my part. Perhaps the man page could be improved. The value in this file is the correct one. (I'm using etch's Xen and running testing and unstable VMs; the kernel in all cases is 2.6.18-6-xen-686.) This kernel is broken, reassigning the bug. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `-people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]