This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nptl: Move pthread_atfork to libc_nonshared.a
- From: Zack Weinberg <zackw at panix dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 1 Mar 2018 08:12:04 -0500
- Subject: Re: [PATCH] nptl: Move pthread_atfork to libc_nonshared.a
- Authentication-results: sourceware.org; auth=none
- References: <20180228151604.8CAF243994575@oldenburg.str.redhat.com>
On Wed, Feb 28, 2018 at 10:16 AM, Florian Weimer <fweimer@redhat.com> wrote:
> libpthread_nonshared.a is unused after this, so remove it from the
> build.
Yay!
> # What we install as libpthread.so for programs to link against is in fact a
> # link script. It contains references for the various libraries we need.
> -# The libpthread.so object is not complete since some functions are only
> -# defined in libpthread_nonshared.a.
> # We need to use absolute paths since otherwise local copies (if they exist)
> # of the files are taken by the linker.
> install: $(inst_libdir)/libpthread.so
>
> $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
> $(objpfx)libpthread.so$(libpthread.so-version) \
> - $(inst_libdir)/$(patsubst %,$(libtype.oS),\
> - $(libprefix)pthread) \
> $(+force)
> (echo '/* GNU ld script';\
> echo ' Use the shared library, but some functions are only in';\
Is there still any use for the libpthread.so link script after this?
zw