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

Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?



Aurelien Jarno wrote:
On Fri, Nov 21, 2008 at 10:14:29AM +0000, 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.

Where is this documented?

ttfn/rjk



Reply to: