support for __thread

2003-12-21 Thread Alfred Perlstein
How do I get __thread to work for me? http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html it seems the assembler chokes on it? -- - Alfred Perlstein - Research Engineering Development Inc. - email: [EMAIL PROTECTED] cell: 408-480-4684 ___ [EMAIL PRO

Re: support for __thread

2003-12-21 Thread Alfred Perlstein
* Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote: > How do I get __thread to work for me? > > http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html > > it seems the assembler chokes on it? Taking this code: #include __thread int x; int main(int argc, char **argv) { printf("duh

Re: support for __thread

2003-12-21 Thread Daniel Eischen
On Sun, 21 Dec 2003, Alfred Perlstein wrote: > * Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote: > > How do I get __thread to work for me? > > > > http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html > > > > it seems the assembler chokes on it? We don't have support for it yet. Why d

Re: support for __thread

2003-12-21 Thread Alfred Perlstein
* Daniel Eischen <[EMAIL PROTECTED]> [031221 12:08] wrote: > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > * Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote: > > > How do I get __thread to work for me? > > > > > > http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html > > > > > > it

Re: support for __thread

2003-12-21 Thread Eric Anholt
On Sun, 2003-12-21 at 12:08, Daniel Eischen wrote: > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > * Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote: > > > How do I get __thread to work for me? > > > > > > http://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html > > > > > > it seems th

Re: support for __thread

2003-12-21 Thread Daniel Eischen
On Sun, 21 Dec 2003, Alfred Perlstein wrote: > * Daniel Eischen <[EMAIL PROTECTED]> [031221 12:08] wrote: > > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > > > * Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote: > > > > How do I get __thread to work for me? > > > > > > > > http://g

Re: support for __thread

2003-12-21 Thread Alfred Perlstein
* Daniel Eischen <[EMAIL PROTECTED]> [031221 14:31] wrote: > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > * Daniel Eischen <[EMAIL PROTECTED]> [031221 12:08] wrote: > > > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > > > > > * Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote:

Re: support for __thread

2003-12-21 Thread Daniel Eischen
On Sun, 21 Dec 2003, Alfred Perlstein wrote: > * Daniel Eischen <[EMAIL PROTECTED]> [031221 14:31] wrote: > > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > > > * Daniel Eischen <[EMAIL PROTECTED]> [031221 12:08] wrote: > > > > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > > > > > > > *

Re: support for __thread

2003-12-21 Thread Dan Nelson
In the last episode (Dec 22), Daniel Eischen said: > I'd like to stay away from maintaining libc_r any further; not that > it can't be done, but with libkse and libthr around, why? Do gdb and pstack (in ports) handle libkse or libthr threads? libc_r is a great debugging tool, if nothing else. I

Re: support for __thread

2003-12-22 Thread Julian Elischer
Alfred Perlstein wrote: Well yes, but first would be getting the toolchain to emit proper code... It'd help but the linker is where all the action happens.. Marcel seems to understand this quite well. I can give the ld.so work a shot if someone gives me a general idea of how to get at the link

Re: support for __thread

2003-12-22 Thread Daniel Eischen
On Mon, 22 Dec 2003, Dan Nelson wrote: > In the last episode (Dec 22), Daniel Eischen said: > > I'd like to stay away from maintaining libc_r any further; not that > > it can't be done, but with libkse and libthr around, why? > > Do gdb and pstack (in ports) handle libkse or libthr threads? libc

Re: support for __thread

2003-12-22 Thread Mike Silbersack
On Sun, 21 Dec 2003, Alfred Perlstein wrote: > Any idea of how much effort it would take? I have no clue as to > how to fix our toolchain, gooing the work in ld.so doesn't see > that awful, but it's not trivial either: > > http://people.freebsd.org/~alfred/tls.pdf > > I want a threaded webstone

Re: support for __thread

2003-12-24 Thread Alexander Kabaev
Sorry for late response, but ... On Sun, 21 Dec 2003 17:31:03 -0500 (EST) Daniel Eischen <[EMAIL PROTECTED]> wrote: > > libkse is ready to add support for it but I believe there's > some additional work to be done in rtld-elf first. libkse in current shape is unable to support GNU TLS model, wh

Re: support for __thread

2003-12-24 Thread Daniel Eischen
On Wed, 24 Dec 2003, Alexander Kabaev wrote: > Sorry for late response, but ... > > On Sun, 21 Dec 2003 17:31:03 -0500 (EST) > Daniel Eischen <[EMAIL PROTECTED]> wrote: > > > > > libkse is ready to add support for it but I believe there's > > some additional work to be done in rtld-elf first. >

Re: support for __thread

2004-01-26 Thread Daniel Eischen
On Sun, 21 Dec 2003, Eric Anholt wrote: > On Sun, 2003-12-21 at 12:08, Daniel Eischen wrote: > > On Sun, 21 Dec 2003, Alfred Perlstein wrote: > > > > > * Alfred Perlstein <[EMAIL PROTECTED]> [031221 02:47] wrote: > > > > How do I get __thread to work for me? > > > > > > > > http://gcc.gnu.org/on