[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#265486: NPTL-related



This one time, at band camp, GOTO Masanori gotom-at-debian.or.jp |Debian bugs| wrote:

> At least we have not heard about UML problem with the 2.6 kernel.  The
> current user-mode-linux 2.4 kernel and uml\* packages in debian works
> well.  The recent modification for glibc from -13 to -16 is not so
> large.  
>
> Please investigate more and report us the detailed information.  If
> you don't have spare time to check it, and you have no objection,
> we'll close it.

This is beyond me, but I'm quoting from the forum for linode.com:

UML does not (yet) support Thread Local Storage (TLS) in either 2.4 or 
2.6. TLS is required by the Native POSIX Thread Library (NPTL) so NPTL 
is also not supported by UML.

The difference in the way the problem manifests itself (or not) between 
2.4 and 2.6 is because NPTL enabled /lib/ld.so checks 'uname' in 2.4 
kernels. If extraversion begins with "-ntpl" then this 2.4 kernel has 
NPTL (and TLS) support. If extraversion doesn't have that string, ld.so 
assumes that the kernel doesn't have NPTL (or TLS) support. If the 
kernel is >=2.6, then ld.so assumes that NPTL (and TLS) support is 
present, so things start to go haywire under UML, where this assumption 
is invalid.

-- 
Rev Simon Rumble <simon@rumble.net>
www.rumble.net

 "Call me a cynic, but for me "much more stable than the last
  version of Windows" is not exactly a ringing endorsement."
- James Riden



Reply to: