This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: pthread_cancel and static libgcc libgcc_eh without libc bits
- From: Sylvain BERTRAND <sylvain dot bertrand at gmail dot com>
- To: Waldemar Brodkorb <wbx at openadk dot org>
- Cc: libc-help at sourceware dot org
- Date: Fri, 14 Oct 2016 10:29:23 +0200
- Subject: Re: pthread_cancel and static libgcc libgcc_eh without libc bits
- Authentication-results: sourceware.org; auth=none
- References: <20161013121931.GD427@freedom> <20161013194407.GD21808@waldemar-brodkorb.de>
On Thu, Oct 13, 2016 at 09:44:07PM +0200, Waldemar Brodkorb wrote:
> Hi,
> sylvain.bertrand@gmail.com wrote,
>
> > Hi,
> >
> > Correct me if I'm wrong: pthread_cancel does work properly when linking a shared nptl lib with
> > static libgcc and libgcc_eh, which where compiled without their libc bits?
> >
> > Or the shared libgcc_s is _mandatory_ for pthread_cancel to work in a shared nptl lib?
>
> I asked a similar question once. See the archives.
> libgcc_s is mandatory and is used via dlopen.
>
> best regards
> Waldemar
Ok. Did anybody try to make pthread_cancel work with code in static libgcc and linbgcc_eh?
It seems it is related only to the unwind code. Right?
--
Sylvain