RES: errno strange behavior on multi threaded application usinguClibc-0.9.28
Andre Rosa
andre_rosa at lge.com
Wed Aug 22 06:56:28 UTC 2007
Hi, all!
I tested for thread local storage by compiling this code as advised
by Mr. Sergey:
extern __thread int i;
int main() {
return 0;
}
Result is:
error: thread-local storage not supported by this target
In this case, the failure I mentioned in my former email is
expected?
Should it not work without TLS enabled in the toolchain?
Thanks again,
André
-----Mensagem original-----
De: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org] Em nome de
Andre Rosa
Enviada em: quarta-feira, 22 de agosto de 2007 03:36
Para: 'Sergey Stasishin'
Cc: uclibc at uclibc.org
Assunto: RES: errno strange behavior on multi threaded application
usinguClibc-0.9.28
Hi, Sergey, thanks for the promp response!
> What version of linuxthreads you are using?
We can see that library is named as libpthread-0.9.28.so and I tried
printing symbol __linuxthreads_version but my program crashed.
How can I check this?
> Probably you have to use linuxthreads instead of linuxthreads.old and
> have
TLS support in your toolchain.
Is there a simple way to verify this without the sources?
I don't have the sources with me, so I have to check with the
provider in parallel.
Thanks,
André
-----Mensagem original-----
De: Sergey Stasishin [mailto:stasishin at speechpro.com] Enviada em:
quarta-feira, 22 de agosto de 2007 03:17
Para: Andre Rosa
Cc: uclibc at uclibc.org
Assunto: Re: errno strange behavior on multi threaded application using
uClibc-0.9.28
What version of linuxthreads you are using?
Probably you have to use linuxthreads instead of linuxthreads.old and have
TLS support in your toolchain.
--
_______________________________________________
uClibc mailing list
uClibc at uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc
More information about the uClibc
mailing list