On Tue, Mar 01, 2005 at 12:38:45PM -0600, Christopher S. Aker wrote:
> >>>The "set_thread_area(...) = -1 ENOSYS" is normal (or?),
> >>>since there are no TLS libs any more, so it comes down to
> >
> >         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >... i exactly meant that :) This is a different problem.
> 
> Yeah, didn't see that line :)  The issue with TLS/NPTL and UML is that 
> it doesn't implement the get/set_thread_area syscalls, and AFAIK those 
> syscalls should only me called from an NPTL enabled glibc. Perhaps the 
> LD_ASSUME_KERNEL work-around will suffice for you.

As i understand it, the return code "-1 ENOSYS (Function not implemented)"
of "set_thread_area()" is perfect - it means that set_thread_area()
cannot be called because it's not there (because i deleted the TLS libs). 
You'll see that all the time on any running FC3 UML.

The problem is the next function "modify_ldt()", it caused the segfault.
Gerd Knorr solved it (kudos to him), see the other branch of this thread.
No LD_ASSUME_KERNEL= needed.

/nils.
-- 
there is no sig.


-------------------------------------------------------
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-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to