Hello,

On Tue, 2008-08-19 at 13:14 +0200, Carmelo AMOROSO wrote: 
> Cristi Magherusan wrote:
> > On Tue, 2008-08-19 at 08:34 +0200, Carmelo Amoroso wrote:
> >> Cristi Magherusan wrote:
> >>> Hello,
> >>>
> >>> Can anyone tell which revision of the NPTL branch is tested and
> >>> confirmed to work well on x86? 
> >> None, only mips, arm and sh4 have nptl support.
> > 
> > Can we hope for a x86 version in the (near) future?
> > 
> > My application (the kvm userspace tool) needs Thread Local Storage
> > support and some other things from the libc. It seems the main uclibc
> > branch lacks the TLS stuff and it is present in the NPTL one.
> > 
> TLS does not imply NTPL. TLS concerns handling of a new kind of 
> relocation and it should be provided by the dynamic linker, while NPTL 
> is the Posix implementation on a pthread library rather then using 
> linuxthreads implementation.
> Said that, I don't think addign TLS support for i386 is difficult, but 
> we need someone having time to spend on it.

Do you mean adding TLS support for the old linuxthreads branch on x86?
I can volunteer, but I may need someone more experienced to guide me. 

> > What could be the complexity/difficulty of implementing NPTL support on
> > x86?
> >
> do you need TLS support or NPTL pthread library too?
I only need TLS support. My program crashes when encountering variables
declared with __thread. And that has nothing to do with the threading
implementation, but only with the TLS support it provides.

Regards,
Cristi
-- 
Ing. Cristi Măgherușan,
Universitatea Tehnică din Cluj-Napoca
Centrul de Comunicații "Pusztai Kalman"
Tel. 0264/401247  http://cc.utcluj.ro

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to