From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH 0/2] Perl: Enable threading support. Date: Tue, 20 Sep 2016 15:58:06 -0500 Message-ID: <20160920155806.6808df8d@openmailbox.org> References: <20160920045607.18936-1-donttrustben@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmS7R-0006ZX-Ir for guix-devel@gnu.org; Tue, 20 Sep 2016 16:58:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmS7O-0005ZO-Cg for guix-devel@gnu.org; Tue, 20 Sep 2016 16:58:21 -0400 Received: from smtp8.openmailbox.org ([62.4.1.42]:42212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmS7O-0005Xp-6A for guix-devel@gnu.org; Tue, 20 Sep 2016 16:58:18 -0400 In-Reply-To: <20160920045607.18936-1-donttrustben@gmail.com> 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: Ben Woodcroft Cc: guix-devel@gnu.org On Tue, 20 Sep 2016 14:56:05 +1000 Ben Woodcroft wrote: > Hi, > > I found that our Perl was giving "Error: This Perl not built to support > threads" when trying to use threads. I added '-Dusethreads' to the configure > phase, but had to copy across the old configure phase to the inheriting > 'perl-boot0' where we cannot use threads as pthreads is apparently > unavailable. Perhaps there is a better way than simply copying the configure > phase code, though I did add comments pointing out the duplication. > > I'm a little lost as to where we are in the cycle. If the patches are OK do I > push this 'rebuild the world' change to 'core-updates', or make a new > 'core-updates-next'? > > Thanks in advance. It might help to view the second patch with 'git diff -w'. > ben > > [PATCH 1/2] gnu: perl: Split configure phase. > [PATCH 2/2] gnu: perl: Enable threading support. > Could you instead have perl's configure phase honor a #:threads? keyword, and have perl-boot0 put "#:threads? #f" in its arguments? `~Eric