On Sunday 02 October 2005 17:01, Nosorozec wrote:
> Hello,
> some time ago there were posts here that using TLS is almost imposible
> under UML. Lately I tried Slackware 10.2 (native support for TLS) as a
> guest filesystem and it works without any problems.
Have you found a ready-made filesystem? In that case, I'd like to test it.
> So the question is - do I really use TLS version of libc under UML
> (mayber ldd output is wrong and I missed sthg)
No, ldd is trustworthy, the real question is: what was enabled when compiling
what you find in /lib/tls?
> or TLS and UML works for
> Slacksware 10.2 ???
It is possible - different glibc's on different distros are more or less
tolerant.
To verify what's included in your libc, run it. As in:
/lib/libc.so.6
and
/lib/tls/libc.so.6
and post the output.
Here's mine, with highlighted relevant lines:
$ /lib/tls/libc.so.6
GNU C Library stable release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r1,
ssp-3.4.3.20050110-0, pie-8.7.7).
Compiled on a Linux 2.6.8 system on 2005-04-07.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
# LOOK LOOK LOOK
Native POSIX Threads Library by Ulrich Drepper et al
# LOOK LOOK LOOK
# This is present instead on most non-TLS glibc:
# linuxthreads-0.10 by Xavier Leroy
The C stubs add-on version 2.1.2.
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
GNU Libidn by Simon Josefsson
#On old glibc, this is included too:
# libthread_db work sponsored by Alpha Processor Inc
# LOOK LOOK LOOK
Thread-local storage support included.
# LOOK LOOK LOOK
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
The first line is about NPTL, the second about what's technically TLS (they
usually go hand-in-hand, but that's not always the case).
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user