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

ruby-changes:33458

From: nobu <ko1@a...>
Date: Wed, 9 Apr 2014 13:07:19 +0900 (JST)
Subject: [ruby-changes:33458] nobu:r45537 (trunk): configure.in: no __builtin_setjmp on x64-mingw

nobu	2014-04-09 13:07:14 +0900 (Wed, 09 Apr 2014)

  New Revision: 45537

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

  Log:
    configure.in: no __builtin_setjmp on x64-mingw
    
    * configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
      x64-mingw, which causes SEGV with callcc.
      [ruby-core:61887] [Bug #9710]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 45536)
+++ configure.in	(revision 45537)
@@ -1059,6 +1059,7 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1059
                 ac_cv_func_clock_gettime=yes
                 ac_cv_func_clock_getres=yes
 		ac_cv_func_malloc_usable_size=no
+		{ test "$target_cpu" = x64 && ac_cv_func___builtin_setjmp=no; }
 		AC_CHECK_TYPE([NET_LUID], [], [],
 			      [@%:@include <windows.h>
 		  	      @%:@include <iphlpapi.h>])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45536)
+++ ChangeLog	(revision 45537)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Apr  9 13:07:13 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in: get rid of __builtin_setjmp/__builtin_longjmp on
+	  x64-mingw, which causes SEGV with callcc.
+	  [ruby-core:61887] [Bug #9710]
+
 Wed Apr  9 12:44:54 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* string.c (str_buf_cat): should round up the capacity by 4KiB,

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

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