This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] BZ #5784: Build libpthread.a with ld -r
- From: Rich Felker <dalias at aerifal dot cx>
- To: libc-alpha at sourceware dot org
- Date: Wed, 5 Sep 2012 20:31:56 -0400
- Subject: Re: [PATCH] BZ #5784: Build libpthread.a with ld -r
- References: <20120905181207.GA16550@intel.com>
On Wed, Sep 05, 2012 at 11:12:07AM -0700, H.J. Lu wrote:
> Hi,
>
> This patch builds libpthread.a with ld -r. Tested on x86-64 and ia32.
> OK to install?
Can you explain the motivation for wanting to force the whole
libpthread.a to get linked into any static multithreaded program? This
sounds like gratuitous bloating unless there's a real problem that
arises when only the explicitly used parts are linked in, and in that
case I would suspect there's just some misuse of weak symbols or weak
references breaking things...
Rich