Re: Question: Does uclibc support NPTL TLS ?

2015-05-27 Thread Bernhard Reutner-Fischer
On May 27, 2015 11:10:53 AM GMT+02:00, Sheng Yong shengyo...@huawei.com wrote: Hi, I encountered a problem when I test thread local storage on my arm board (kernel 3.10.77 and uclibc 0.99.3.2). That version dies not sound familiar. I suggest you ask whoever provided this release. Alternatively

Question: Does uclibc support NPTL TLS ?

2015-05-27 Thread Sheng Yong
Hi, I encountered a problem when I test thread local storage on my arm board (kernel 3.10.77 and uclibc 0.99.3.2). Please let me know if I am doing something wrong for debugging TLS. on my x86 host machine: root@kernel-host:~ cat tls.c __thread int i =5; int main (int argc, char **argv) {

Re: Question: Does uclibc support NPTL TLS ?

2015-05-27 Thread Waldemar Brodkorb
Hi, Sheng Yong wrote, Hi, I encountered a problem when I test thread local storage on my arm board (kernel 3.10.77 and uclibc 0.99.3.2). Please let me know if I am doing something wrong for debugging TLS. You mean 0.9.33.2? Sure it has NPTL/TLS support, but it depends if it is

Re: Question: Does uclibc support NPTL TLS ?

2015-05-27 Thread Sheng Yong
Hi, On 5/27/2015 6:08 PM, Bernhard Reutner-Fischer wrote: On May 27, 2015 11:10:53 AM GMT+02:00, Sheng Yong shengyo...@huawei.com wrote: Hi, I encountered a problem when I test thread local storage on my arm board (kernel 3.10.77 and uclibc 0.99.3.2). That version dies not sound

Re: Question: Does uclibc support NPTL TLS ?

2015-05-27 Thread Sheng Yong
Hi, On 5/28/2015 3:18 AM, Rich Felker wrote: On Wed, May 27, 2015 at 05:10:53PM +0800, Sheng Yong wrote: Hi, I encountered a problem when I test thread local storage on my arm board (kernel 3.10.77 and uclibc 0.99.3.2). Please let me know if I am doing something wrong for debugging TLS.

Question: different GDB behavors with UCLIBC_HAS_OBSTACK enabled and disabled

2015-05-27 Thread Sheng Yong
Hi, folks My test environment is GCC (4.7.1), GDB (7.6) and uclibc (0.9.33.2 commit ff22cca4). The testcase is: $ cat long_long_simple.c #include stdio.h int main() { long long val = 01234567123456701234567LL; /* 21+ octal digits */

Re: Question: Does uclibc support NPTL TLS ?

2015-05-27 Thread Khem Raj
On May 27, 2015, at 6:21 PM, Sheng Yong shengyo...@huawei.com wrote: Hi, On 5/28/2015 3:18 AM, Rich Felker wrote: On Wed, May 27, 2015 at 05:10:53PM +0800, Sheng Yong wrote: Hi, I encountered a problem when I test thread local storage on my arm board (kernel 3.10.77 and uclibc