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

Re: thread local storage support in libc



Hi Zoltan,

work around seems not to be necessary any more with the latest libc6 packages 
(tested with 2.3.2.ds1-15.0.0.1.amd64).
With this, everything is tls.

Regards,
Hans-Frieder

> Hi Zoltan,
>
> I have to admit, I do not know the root cause of this problem. It seems,
> that the runtime linker ld-2.3.2.so that gets installed in /lib64 has some
> symbols missing that are needed for some (all?) multithreading programs.
> But, at least I have found a work around:
>
> When I copied /lib64/tls/ld-2.3.2.so onto /lib64/ld-2.3.2.so then
> everything works.
> BIG WARNING: you cannot simply copy the runtime linker in a running system.
> It is needed for every program you start (ignoring statically linked
> programs).
>
> That is how I did it:
> $ mv /lib64/ld-2.3.2.so /lib64/x-ld-2.3.2.so-x        # just to keep the
> original version
> $ /lib64/tls/ld-2.3.2.so /bin/cp /lib64/tls/ld-2.3.2.so /lib64  # need to
> call cp explicitely using /lib64/tls/ld-2.3.2.so because the
> searched /lib64/ld-2.3.2.so is currently unavailable!
>
> I hope, that we can solve this problem soon so that this ugly work around
> is no longer needed.
>
> Regards,
> Hans-Frieder

-- 
--
Hans-Frieder Vogt                 e-mail: hfvogt (at) arcor (dot) de



Reply to: