DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc/gen Makefile.inc

From: David Xu <davidxu@xxxxxxxxxxx>
Date: Tue, 15 Mar 2005 09:06:48 +0800

Matthew Dillon wrote:

:Matthew Dillon wrote:
:>: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.
:>:David Xu
:> 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.

Current it is not safe to make libraries to use __thread unless libc_r is fixed firstly to support
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 previous patch.

   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.

Matthew Dillon <dillon@xxxxxxxxxxxxx>

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]