[前][次][番号順一覧][スレッド一覧]

ruby-changes:38948

From: ngoto <ko1@a...>
Date: Thu, 25 Jun 2015 19:42:59 +0900 (JST)
Subject: [ruby-changes:38948] ngoto:r51029 (trunk): * configure.in: not to use vfork on Solaris to avoid deadlock

ngoto	2015-06-25 19:42:37 +0900 (Thu, 25 Jun 2015)

  New Revision: 51029

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51029

  Log:
    * 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]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 51028)
+++ configure.in	(revision 51029)
@@ -1070,6 +1070,9 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1070
 		],
 [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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51028)
+++ ChangeLog	(revision 51029)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun 25 19:24:25 2015  Naohisa Goto  <ngotogenome@g...>
+
+	* 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@g...>
 
 	* test/lib/envutil.rb (Test::Unit::Assertions#assert_no_memory_leak):

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]