Mailing List Archive

/lib/tls on gentoo
Hello

I am using up to date stable x86 Gentoo instalation on my notebook.

I am using from source installed Xen 3.0 devel and every time I boot than
there is message

***************************************************************
***************************************************************
** WARNING: Currently emulating unsupported memory accesses **
** in /lib/tls libraries. The emulation is very **
** slow. To ensure full performance you should **
** execute the following as root: **
** mv /lib/tls /lib/tls.disabled **
** Offending process: init (pid=1) **
***************************************************************
***************************************************************

I don´t use NPTL (having USE="-nptl") and theres no such directory on my
system lik /lib/tls


asusnb ~ # gcc -v
Reading specs from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs
Configured with:
/var/tmp/portage/gcc-3.3.5.20050130-r1/work/gcc-3.3.5/configure
--enable-version-specific-runtime-libs --prefix=/usr
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3

--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--disable-altivec --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror
--disable-libunwind-exceptions --disable-multilib --disable-libgcj
--enable-languages=c,c++,f77 --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1,
ssp-3.3.5.20050130-1, pie-8.7.7.1)


Thanks for your attention

koxman
Re: /lib/tls on gentoo [ In reply to ]
Hi,
> I don´t use NPTL (having USE="-nptl") and theres no such directory on my
> system lik /lib/tls
>
Maybe you have "USE="nptlonly"? In that case, the TLS libs are installed
in /lib, and no non-tls libs are compiled at all. re-emerge glibc without
that flag.

otherwise, it might be that your init (and other programs) are compiled
statically against a nptl glibc.

"emerge -a --newuse" after (temporarily) removing USE="static" might help find
you those, but will most likely skip some... savest guess would be to simply
recompile every program xen complains about...

/Ernst

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: /lib/tls on gentoo [ In reply to ]
Ernst Bachmann wrote:
> Hi,
>
>>I don´t use NPTL (having USE="-nptl") and theres no such directory on my
>>system lik /lib/tls
>>
>
> Maybe you have "USE="nptlonly"? In that case, the TLS libs are installed
> in /lib, and no non-tls libs are compiled at all. re-emerge glibc without
> that flag.
>
> otherwise, it might be that your init (and other programs) are compiled
> statically against a nptl glibc.
>
> "emerge -a --newuse" after (temporarily) removing USE="static" might help find
> you those, but will most likely skip some... savest guess would be to simply
> recompile every program xen complains about...

Fwiw I'm experiencing the same problem on a Gentoo 2005.0 / Linux 2.6
system (upgraded from 2004.3). I have neither nptl nor nptlonly in my
USE flags and init is dynamically linked to libc.

--newuse is, by the way, not a valid option to emerge.

-- j

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: /lib/tls on gentoo [ In reply to ]
Hi,

On Thursday 21 July 2005 14:07, joe average wrote:

> Fwiw I'm experiencing the same problem on a Gentoo 2005.0 / Linux 2.6
> system (upgraded from 2004.3). I have neither nptl nor nptlonly in my
> USE flags and init is dynamically linked to libc.

Yep, after double-checking, I'm seeing the same in those of mine xenU's where
I upgraded glibc from 2.3.4-something to 2.3.5, which was marked stable
recently in portage...
guess they changed something there again to make it break. :(

Going to test if it degrades performance much, maybe we'll have to revert to
glibc-2.3.4.20041102-r1...

> --newuse is, by the way, not a valid option to emerge.

from "man emerge" ;)
--newuse (-N)
Tells emerge to include installed packages where USE flags have
changed since compilation. An asterisk marks when a USE flag
has changed since the package was compiled.


/Ernst

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users