On Thu, Dec 01, 2005 at 07:15:06PM +0100, Michael Banck wrote: > On Thu, Dec 01, 2005 at 01:02:29PM -0500, Sam Hartman wrote: > > does your platform support weak symbols? > > Yes, it does.
OK, I think we figured out why this is: 19:11 < Jeroen> given that krb is a library, it probably supports programs which are multithreaded 19:11 < Jeroen> so it doesn't have to use pthreads 19:11 < Jeroen> only when pthreads is there, it has to do proper locking 19:11 < Jeroen> so it declares the symbols weak 19:11 < Jeroen> and checks whether they are available 19:12 < Jeroen> but because pthread_mutex_lock is an inline function calling _pthread_mutex_lock 19:12 < Jeroen> and krb doesn't know about that 19:13 < Jeroen> there is a non-weak reference to _pthread_mutex_lock I guess one option would be to patch krb5 to add weak pragmas for _pthread_mutex_lock et al. The other option would be to change libpthread to not have these inline functions. I will talk to the Hurd maintainers about this, do you have an opinion whether a change in krb5 (at least for Debian) is feasable in the meantime? cheers, Michael -- Michael Banck Debian Developer [EMAIL PROTECTED] http://www.advogato.org/person/mbanck/diary.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]