diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-25 10:42:37 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-25 10:42:37 +0000 |
commit | 9289bcf9224dde71d771f5fc91cafba1f9393b2a (patch) | |
tree | 171c0e3b306e60cf7342e2677ed470c4f419b4fb | |
parent | a2135df2dccf14c7f504db60f34e9615c49e1fe2 (diff) | |
download | ruby-9289bcf9224dde71d771f5fc91cafba1f9393b2a.tar.gz |
* configure.in: not to use vfork on Solaris to avoid deadlock
occurred in vfork(2) with multi-threading and dynamic linker
on Solaris. [Bug #11265] [ruby-dev:49089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Thu Jun 25 19:24:25 2015 Naohisa Goto <ngotogenome@gmail.com> + + * configure.in: not to use vfork on Solaris to avoid deadlock + occurred in vfork(2) with multi-threading and dynamic linker + on Solaris. [Bug #11265] [ruby-dev:49089] + Thu Jun 25 18:25:41 2015 Naohisa Goto <ngotogenome@gmail.com> * test/lib/envutil.rb (Test::Unit::Assertions#assert_no_memory_leak): diff --git a/configure.in b/configure.in index 4640a44e6d..79b410e86f 100644 --- a/configure.in +++ b/configure.in @@ -1070,6 +1070,9 @@ main() ], [hpux*], [ LIBS="-lm $LIBS" ac_cv_c_inline=no], +[solaris*], [ LIBS="-lm $LIBS" + ac_cv_func_vfork=no + ], [beos*|haiku*], [ ac_cv_func_link=no ac_cv_func_sched_yield=no |