You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2016/10/04 11:44:23 UTC
[1/2] lucy-clownfish git commit: Disable thread support under Perl
5.10.0
Repository: lucy-clownfish
Updated Branches:
refs/heads/0.6 23de68378 -> 0ba3c4b95
refs/heads/master 23de68378 -> 0ba3c4b95
Disable thread support under Perl 5.10.0
At least under modern Linux, thread support of Perl 5.10.0 seems
completely broken. Even the thread tests of Perl itself segfault.
Fixes CLOWNFISH-107.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/0ba3c4b9
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/0ba3c4b9
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/0ba3c4b9
Branch: refs/heads/0.6
Commit: 0ba3c4b9555df068626ca140ef4ce71db5adf72f
Parents: 23de683
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Oct 4 13:40:59 2016 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Oct 4 13:43:34 2016 +0200
----------------------------------------------------------------------
compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0ba3c4b9/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
index 5a3410e..247aec0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
@@ -100,7 +100,8 @@ sub ACTION_charmony {
$self->add_to_cleanup('Makefile');
}
# Perl 5.8.7 added support for CLONE_SKIP.
- if ( !$self->config('usethreads') || $^V lt v5.8.7 ) {
+ # Thread support in 5.10.0 seems completely broken (CLOWNFISH-107).
+ if ( !$self->config('usethreads') || $^V lt v5.8.7 || $^V eq v5.10.0 ) {
push @command, '--disable-threads';
}
push @command, (
[2/2] lucy-clownfish git commit: Disable thread support under Perl
5.10.0
Posted by nw...@apache.org.
Disable thread support under Perl 5.10.0
At least under modern Linux, thread support of Perl 5.10.0 seems
completely broken. Even the thread tests of Perl itself segfault.
Fixes CLOWNFISH-107.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/0ba3c4b9
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/0ba3c4b9
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/0ba3c4b9
Branch: refs/heads/master
Commit: 0ba3c4b9555df068626ca140ef4ce71db5adf72f
Parents: 23de683
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Tue Oct 4 13:40:59 2016 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Tue Oct 4 13:43:34 2016 +0200
----------------------------------------------------------------------
compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/0ba3c4b9/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
----------------------------------------------------------------------
diff --git a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
index 5a3410e..247aec0 100644
--- a/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
+++ b/compiler/perl/lib/Clownfish/CFC/Perl/Build/Charmonic.pm
@@ -100,7 +100,8 @@ sub ACTION_charmony {
$self->add_to_cleanup('Makefile');
}
# Perl 5.8.7 added support for CLONE_SKIP.
- if ( !$self->config('usethreads') || $^V lt v5.8.7 ) {
+ # Thread support in 5.10.0 seems completely broken (CLOWNFISH-107).
+ if ( !$self->config('usethreads') || $^V lt v5.8.7 || $^V eq v5.10.0 ) {
push @command, '--disable-threads';
}
push @command, (