ElCondor wrote:When booting either dom0 or domU, I get the info to remove /lib/tls, which I don't have. I tried to compile glibc without nptl, with "nptl -nptlonly" or with "nptl nptlonly" - I cannot get rid of the notice. since this might result in some (serious) performance issues, and because I would like to have a correctly configured system, I want to get this fixed.
I'm having the same problem here. Anybody have a fix for this?
As mentioned on
HOWTO_Xen_and_Gentoo I recompiled glibc with the nptlonly USE flag set, and then recompiled the the entire system. (However, the wiki says that -mno-tls-direct-seg-refs should be added to CFLAGS in make.conf, however by doing so gcc fails to compile, so I haven't done that.) Unfortunately, on boot I still get a:
Code: Select all
***************************************************************
***************************************************************
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls glibc libraries. The emulation is **
** slow. To ensure full performance you should **
** install a 'xen-friendly' (nosegneg) version of **
** the library, or disable tls support by executing **
** the following as root: **
** mv /lib/tls /lib/tls.disabled **
** Offending process: init (pid=1) **
***************************************************************
***************************************************************
But I don't even have a /lib/tls, nor is init trying to link against anything there:
Code: Select all
gentoo ~ # ls -l /lib/tls
ls: /lib/tls: No such file or directory
gentoo ~ # ldd /sbin/init
linux-gate.so.1 => (0xbfffe000)
libc.so.6 => /lib/libc.so.6 (0xb7df0000)
/lib/ld-linux.so.2 (0xb7f0f000)
Any ideas? I'm using xen and xen-tools 3.0.2, xen-sources 2.6.16-r1.
Thanks,
Brent