Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-05 Thread Samuel Thibault
Petr Salinger, le Thu 05 Jan 2006 10:34:08 +0100, a écrit : > But not in the basic one: > > $ dpkg -s libc6 > Package: libc6 > Architecture: i386 > Source: glibc > Version: 2.3.5-11 > > $ objdump -T /lib/libc-2.3.5.so | grep -e "\(tbss\|tdata\)" | wc > 0 0 0 /lib/libc-2.3.5.s

Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-05 Thread Petr Salinger
> > Anyway, look at configure flags for basic libc in debian/sysdeps/i386.mk: > > > > libc_extra_config_options = $(extra_config_options) --with-tls > > --without-__thread > > > > It doesn't use TLS internally, there is no .tbss ot .tdata segment in > > libc.so. > > There is: > > $ objdump -T

Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-05 Thread Samuel Thibault
Petr Salinger, le Thu 05 Jan 2006 09:22:29 +0100, a écrit : > > > > will add a very little extra cost to single thread-specific variable > > > > accesses, but it shouldn't be noticeable at all. > > > > > > Well, to be correct, switch -mno-tls-direct-seg-refs > > > add extra cost to ALL thread-spec

Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-05 Thread Samuel Thibault
Petr Salinger, le Thu 05 Jan 2006 09:22:29 +0100, a écrit : > > > > will add a very little extra cost to single thread-specific variable > > > > accesses, but it shouldn't be noticeable at all. > > > > > > Well, to be correct, switch -mno-tls-direct-seg-refs > > > add extra cost to ALL thread-spec

Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-05 Thread Petr Salinger
> > > will add a very little extra cost to single thread-specific variable > > > accesses, but it shouldn't be noticeable at all. > > > > Well, to be correct, switch -mno-tls-direct-seg-refs > > add extra cost to ALL thread-specific variables accesses. > > No, only to isolated ones. The compiler

Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-04 Thread Samuel Thibault
Petr Salinger, le Wed 04 Jan 2006 21:40:06 +0100, a écrit : > > > will add a very little extra cost to single thread-specific variable > > accesses, but it shouldn't be noticeable at all. > > Well, to be correct, switch -mno-tls-direct-seg-refs > add extra cost to ALL thread-specific variables ac

Bug#328183: #328183: no-tls-direct-seg-refs

2006-01-04 Thread Petr Salinger
> will add a very little extra cost to single thread-specific variable > accesses, but it shouldn't be noticeable at all. Well, to be correct, switch -mno-tls-direct-seg-refs add extra cost to ALL thread-specific variables accesses. For each thread-specific variable access, compiler have to rese