New glibc port
Roland McGrath
roland@redhat.com
Thu Sep 22 21:07:00 GMT 2005
> We've started using __thread (TLS) outside of the threading libraries
> now (e.g. malloc/memusage.c).
Oh yeah. Well, that might be a pain. It's not technically necessary to
make threads work for __thread to work. But you might not have designed
and implemented a whole TLS ABI for a new processor before trying the port.
But, I think Jonathan is dealing with a new OS port for supported processors.
So TLS support will probably be just fine and the single-threaded case
should work out of the box (probably modulo some random nits).
> Also, the last time I tried a non-threading configuration it wouldn't
> build.
Not surprising. I meant to mention I anticipated some bit-rot.
But it is worthwhile (to me at least) to see it and fix it up.
> So the theory is sound, but I would expect a bit of trouble in
> practice...
Amen.
More information about the Libc-ports
mailing list