From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system. Date: Mon, 2 Jan 2017 20:29:04 +0200 Message-ID: References: <20170102175321.13800-1-manolis837@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cO7M8-0005ig-Al for guix-devel@gnu.org; Mon, 02 Jan 2017 13:29:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cO7M3-000828-Dv for guix-devel@gnu.org; Mon, 02 Jan 2017 13:29:12 -0500 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:36391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cO7M3-000822-7F for guix-devel@gnu.org; Mon, 02 Jan 2017 13:29:07 -0500 Received: by mail-wm0-x243.google.com with SMTP id m203so83168200wma.3 for ; Mon, 02 Jan 2017 10:29:07 -0800 (PST) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel Sometimes I forget that people can't see what I think in my head :P On 01/02/17 20:25, David Craven wrote: >> (define %libc-object-files-rx "^(crt.*|ld.*|lib(c|m|dl|rt|pthread|nsl|\ >> -util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|libc(rt|)_nonshared\\.a)$") >> +util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|(libc(rt|)|libpthread)\ >> +_nonshared\\.a)$") > > Adding libpthread_nonshared.a increases the size of the bootstrap > binaries doesn't it? If you explain why it is needed we'll have to > accept it... ;) > Directly from libpthread's Makefile: # 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. Manolis