[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] Perl: Enable threading support.
From: |
Eric Bavier |
Subject: |
Re: [PATCH 0/2] Perl: Enable threading support. |
Date: |
Tue, 20 Sep 2016 15:58:06 -0500 |
On Tue, 20 Sep 2016 14:56:05 +1000
Ben Woodcroft <address@hidden> 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