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

看板DFBSD_commit作者時間21年前 (2005/03/15 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/6 (看更多)
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> > > > >
文章代碼(AID): #12DZiP00 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #12DZiP00 (DFBSD_commit)