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

Re: issues with nptl-only libc



On 04-Nov-10 20:20, Kurt Roeckx wrote:
> On Wed, Nov 10, 2004 at 08:11:13PM +0100, Andreas Jochens wrote:
> > 
> > Programs which have been compiled and linked for the use with 
> > linuxthreads should usually also work with nptl at runtime. This is 
> > exactly what happens on i386 if you run any 2.6 kernel. An i386 
> > system uses the nptl thread library '/lib/tls/libpthread-0.60.so' if you
> > run a 2.6 kernel and the linuxthreads library '/lib/libpthread-0.10.so' 
> > if you run a 2.4 kernel (with the same binaries).
> 
> But it sometimes breaks and you'll have to use
> LD_ASSUME_KERNEL to select the correct version of the library you
> need.

Yes, of course. The whole i386 setup with several separate copies of glibc
with different types of thread support and an automagic choice by
the dynamic linker is very ugly IMHO. I am glad that we do not have
this on amd64 and I do not want to introduce something like this 
on amd64.

Regards
Andreas Jochens



Reply to: