bug-hurd
[Top][All Lists]
Advanced

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

Re: implicit declaration of function 'thread_terminate_release'


From: Samuel Thibault
Subject: Re: implicit declaration of function 'thread_terminate_release'
Date: Fri, 16 May 2014 01:18:51 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Hello,

Manolis Ragkousis, le Thu 15 May 2014 21:08:41 +0000, a écrit :
> I grep-searhed both glibc and libpthread and I can't find any
> declaration of thread_terminate_release anywhere in them.
> 
> Justus told me that it got recently added to gnumach.

Yes, as an RPC.  The declaration and definition
are thus generated during the glibc build into
build_tree/mach/RPC_thread_terminate_release.c and
build_tree/mach/mach/gnumach.h

> Since I am using the latest tarball version of gnumach, I patched the
> source with commit 22495036a354e209a7f2085bdd2e1fc82895208b and
> rebuilt the headers, but nothing changed.

But did you install the updated .defs file?  That's what RPC stubs are
generated from.

> So I commented the part that calls this function out and glibc gets
> built succefully with libpthread.
> >  err = __thread_terminate_release (kernel_thread, mach_task_self (),

That should be fine, yes, IIRC I left a thread_terminate call just
below, which should work enough for your needs.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]