On Tue, 20 Sep 2016 14:56:05 +1000
Ben Woodcroft <donttrust...@gmail.com> wrote:
> 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
> Thanks in advance. It might help to view the second patch with 'git diff -w'.
> [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?