Re: cvs commit: src/lib/libc/gen Makefile.inc
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.
>
> -Matt
> Matthew Dillon
> <dillon@backplane.com>
>
>
>
>
討論串 (同標題文章)
完整討論串 (本文為第 6 之 6 篇):