Bug#506420: incorrect hwcap line in /etc/ld.so.conf.d/libc6-xen.conf?
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
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.)