| Summary: | PERL_THREADED knob in /etc/default/make.conf does not work | ||
|---|---|---|---|
| Product: | Base System | Reporter: | dada <dada> |
| Component: | gnu | Assignee: | Mark Murray <markm> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.1.1-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->markm Mark doesn't have enough perl-related PR's assigned to him already. State Changed From-To: open->closed We have no PERL_THREADED any longer. |
Quote from /src/etc/defaults/make/conf: # To build perl with thread support #PERL_THREADED= true This cannot work because in /usr/src/gnu/usr.bin/perl/Makefile.inc PERL_THREADED is compared against the string "yes". Fix: The simple fix would be to change "true" to "yes" in make.conf. Unfortunately this will break the compilation of perl! I see two options: (1) Remove the documention of PERL_THREADED in make.conf (2) Fix the Perl build such that "make PERL_THREADED=yes all" works How-To-Repeat: cd /usr/src/gnu/usr.bin/perl make PERL_THREADED=true all install perl -e '$Config{usethreads} or die "Recompile Perl"'