[this is Marion channeling Bill.]
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:
...
brk(0) = 0x805d000
brk(0x807e000) = 0x807e000
brk(0) = 0x807e000
shutdown(1610612264, 81) = -1 ENOSYS (Function not implemented)
modify_ldt(0x1, 0x5ffffe28, 0x10) = -1 ENOSYS (Function not implemented)
write(2, "cannot set up thread-local stora"..., 36cannot set up thread-local storage: ) = 36
write(2, "cannot set up LDT for thread-loc"..., 43cannot set up LDT for thread-local storage
) = 43
write(2, "\n", 1
) = 1
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
The "modify_ldt" call looks ominous; In a perfect world, wouldn't the /bin/ls binary realize it didn't have any tls library support and not use TLS system calls?
Yeah, right. We can only hope. :-)
Any ideas?
- A befuddled Marion and Bill
------------------------------------------------------- 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_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
