This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Fix SHLIB_COMPAT with undefined obsoleting version
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Roland McGrath <roland at hack dot frob dot com>, <libc-alpha at sourceware dot org>, <libc-ports at sourceware dot org>
- Date: Mon, 11 Mar 2013 10:17:40 -0400
- Subject: Re: Fix SHLIB_COMPAT with undefined obsoleting version
- References: <mvmr4juw5y8.fsf@hawking.suse.de> <20130308215906.6B7A22C0A5@topped-with-meat.com> <mvmr4jmqnft.fsf@hawking.suse.de> <513DD75F.6020405@tilera.com> <mvmboaqqcrk.fsf@hawking.suse.de>
On 3/11/2013 9:36 AM, Andreas Schwab wrote:
> Chris Metcalf <cmetcalf@tilera.com> writes:
>
>> I'm a little confused by this. Why are you removing pthread_atfork from
>> the abilist files? It seems that calls to pthread_atfork() may have been
>> buggily redirected to pthread_atfork@GLIBC_2.12 for tilegx/tilepro,
> No, this is not possible.
>
>> but that doesn't mean we want to have NO implementation of
>> pthread_atfork exported from the library.
> The only implementation of pthread_atfork is in libpthread_nonshared.a.
Got it - we are actually calling libc.so's __register_atfork() due to the nonshared piece. What was confusing is that we appear to build pthread_atfork.os and then we don't use it.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com