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

Bug#271298: glibc: Please use nptl instead of linuxthreads on amd64



At Sun, 12 Sep 2004 15:37:20 +0200,
Andreas Jochens wrote:
> The attached patch changes the following file of the glibc package:
> 
> * debian/sysdeps/amd64.mk:
> 
>     Drop the 'nptl' pass from GLIBC_PASSES.
> 
>     Use 'nptl' instead of 'linuxthreads' in the 'libc' pass (this requires 
>     kernel >= 2.6.0, but 2.4 is not supported by the amd64 port anyway).
> 
> There had been some complaints about the default use of linuxthreads 
> (instead of nptl) on amd64.
> In response to these complaints a glibc package with this patch applied 
> has been used by the amd64/gcc-3.4 experimental archive on alioth since 
> a few weeks (without problems so far).

This is because /lib/tls is not used in default even on 2.6 amd64
kernel.  We use some magic to use /lib/tls on i386.  So I think it's
good idea to introduce code which uses /lib/tls on x86_64, instead of
dropping linuxthreads on 2.4.

Regards,
-- gotom



Reply to: