DragonFly commits List (threaded) for 2005-03
Re: cvs commit: src/lib/libc/gen Makefile.inc
Matthew Dillon wrote:
:Matthew Dillon wrote:Current it is not safe to make libraries to use __thread unless libc_r
is fixed firstly to support
:>:I have not touched crt1 code to call tls initialization code yet,
:>:since these tls code can not run on old kernel, it will result a
:>:core file, I will delay touching crt1 code for three days, this
:>:gives people some time to update kernel.
:> We have to make sure that any new libc works with older kernels, at
:> least for programs which do not use the TLS support (i.e. non threaded
:> programs and old libc_r threaded programs).
:I was wrong, it is the program has __thread in code will crash
:on old kernel. :)
Well, if we are going to bump the major for most of our libraries I
guess we can also depend on __thread working for those libraries.
tls, libthread_xu is not a problem because it is designed from ground
for that idea.
I am still working on rtld since some locking code is missing in
I am still trying to figure out the best way to allow work to proceed
on libc v5 and other required bumps without impacting current users.