[Pkg-xen-devel] libc6 packages that really support nosegneg?

Nate Carlson natecars at natecarlson.com
Thu Apr 6 19:42:44 UTC 2006


On Mon, 3 Apr 2006, Nate Carlson wrote:
> I've tried the libc6-xen package posted at:
>
> http://people.debian.org/~aurel32/xen/
>
> However, it looks like programs are still calling the libc6 libraries in 
> /lib/tls, instead of the xen-enabled ones. Is there anything special I 
> need to do to get this to work, or is the package just busted?

I've done a bit of work with a FC5 domU on a Debian dom0.. to get FC5 to 
use the nosegneg TLS libraries, I had to create a file in 
/etc/ld.so.conf.d with the following in it:

[root at fc5test ~]# cat /etc/ld.so.conf.d/nosegneg.conf
# This directive teaches ldconfig to search in nosegneg subdirectories
# and cache the DSOs there with extra bit 0 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 0 nosegneg

This works great on that box:

[root at fc5test ~]# ldd /sbin/init
         linux-gate.so.1 =>  (0xfbffd000)
         libsepol.so.1 => /lib/libsepol.so.1 (0xb7f6f000)
         libselinux.so.1 => /lib/libselinux.so.1 (0xb7f59000)
         libc.so.6 => /lib/i686/nosegneg/libc.so.6 (0xb7e23000)
         libdl.so.2 => /lib/libdl.so.2 (0xb7e1f000)
         /lib/ld-linux.so.2 (0xb7fb7000)

Entering the same line on a Debian domU (adding it to /etc/ld.so.conf) 
with the libc6-xen package installed does nothing.. any ideas?

------------------------------------------------------------------------
| nate carlson | natecars at natecarlson.com | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------



More information about the Pkg-xen-devel mailing list