> As a quick reminder, Marion and Bill are trying to get >i386 fedora >core 3 running under uml (2.6.4, with the i386 emulation code) on ford >(x86_64). The uml binaries don't have TLS support, so we've renamed >all of: /lib/tls. /usr/lib/tls, and /usr/X11R6/lib/tls directories. > Even with that done, we're getting "cannot set up LDT >for thread-local >storage" as an error message when running something as simple as >/bin/ls. It appears that there's TLS system calls in the binary >itself, not just in the */lib/tls libraries:
I'm not sure this call is a TLS thing. glibc support for modify_ldt was added way back in 1998 for i386 (and for x86_64 when that architecture came on line, it's not in any other architecture) marked as being kernel provided. There are references to it in linuxthreads headers too, so it's definitely not an nptl-only thing. A reference to this smells like it ought to be legal, maybe there just haven't been code paths that have gotten there until fc3... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
