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: Waldemar Brodkorb <wbx at openadk dot org>
- To: sylvain dot bertrand at gmail dot com
- Cc: libc-help at sourceware dot org
- Date: Thu, 13 Oct 2016 21:44:07 +0200
- Subject: Re: pthread_cancel and static libgcc libgcc_eh without libc bits
- Authentication-results: sourceware.org; auth=none
- References: <20161013121931.GD427@freedom>
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