From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH 0/2] Perl: Enable threading support. Date: Tue, 20 Sep 2016 14:56:05 +1000 Message-ID: <20160920045607.18936-1-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmD7w-0001Nm-1y for guix-devel@gnu.org; Tue, 20 Sep 2016 00:57:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmD7q-0004Ou-2c for guix-devel@gnu.org; Tue, 20 Sep 2016 00:57:51 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmD7p-0004On-SR for guix-devel@gnu.org; Tue, 20 Sep 2016 00:57:45 -0400 Received: by mail-pf0-f195.google.com with SMTP id q2so367325pfj.0 for ; Mon, 19 Sep 2016 21:57:45 -0700 (PDT) Received: from localhost.localdomain ([103.25.181.216]) by smtp.googlemail.com with ESMTPSA id r7sm12637130pfk.49.2016.09.19.21.56.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Sep 2016 21:56:43 -0700 (PDT) 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: guix-devel@gnu.org 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.