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

Bug#292673: additional info



>>>>> On Mon, 28 Feb 2005 09:32:20 +0900, GOTO Masanori <gotom@debian.or.jp> said:

  GOTO> David, does this problem only occurs on ia64?  Or i686?  To be honest,
  GOTO> I have concerned this kind of problem - the incompatibility between
  GOTO> nptl and linuxthreads.

As indicated in my bugzilla report, it affects all platforms which
defined TLS_DTV_AT_TP.  Apart from ia64, that include Alpha, PowerPC,
and SH.  x86 is not affected since it's thread pointer points to the
thread descriptor itself.

  >> # mv /lib/tls/ld-2.3.2.so /lib/

  >> should cure the problem.

  GOTO> I'm hard to decide to introduce this kind of workaround into the
  GOTO> package.  We have two choices - (1) increasing the size of
  GOTO> linuxthreads' thread descriptors (2) we don't load nptl library using
  GOTO> /lib/ld.so.  Taking choice (1) is nice idea - because (2) needs
  GOTO> another consideration about the kernel version capability.  Some
  GOTO> distributions (ex: SuSE/FC) provides the fixed kernel version - OTOH,
  GOTO> debian has two kernel version series - 2.4 (linuxthreads) and 2.6
  GOTO> (nptl).  If we can fix this problem with (1), we don't need to be care
  GOTO> about (2) modifications.

If you go with (1), I'd include a sanity check in the build-procedure
to ensure that you notice if the thread-descriptor-size diverges
between LinuxThreads and NPTL unexpectedly.

I don't have a preference on how this problem gets fixed (as long as
it does get fixed before Sarge is out...).

	--david



Reply to: