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

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



On 04-Sep-13 15:05, GOTO Masanori wrote:
> 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.

Thank you for your reply.

I looked at my i386 system and saw that some magic is used for libc 
there (different optimizations and different thread libraries are 
used for different processors and kernels etc.) but I do not fully 
understand how this works. 

I do not know how to set this magic up to work on x86_64. 

However, I suspect that this magic is not necessary on amd64
since the amd64 archive works without it. Do we really need 
linuxthreads on amd64? We do not (and will never) support 2.4 kernels 
on amd64, so I guess it is not necessary to have linuxthreads.
I recompiled the whole archive without having linuxthreads in the 
glibc binary packages and only five packages needed minor changes to 
build properly with that setup.

Regards
Andreas Jochens



Reply to: