ruby-changes:36193
From: nagachika <ko1@a...>
Date: Wed, 5 Nov 2014 00:27:42 +0900 (JST)
Subject: [ruby-changes:36193] nagachika:r48274 (ruby_2_1): merge revision(s) r48184: [Backport #10272] [Backport #10438]
nagachika 2014-11-05 00:27:32 +0900 (Wed, 05 Nov 2014) New Revision: 48274 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48274 Log: merge revision(s) r48184: [Backport #10272] [Backport #10438] * configure.in (__builtin_setjmp): disable with gcc/clang earlier than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10272] Modified directories: branches/ruby_2_1/ Modified files: branches/ruby_2_1/ChangeLog branches/ruby_2_1/configure.in branches/ruby_2_1/version.h Index: ruby_2_1/configure.in =================================================================== --- ruby_2_1/configure.in (revision 48273) +++ ruby_2_1/configure.in (revision 48274) @@ -453,7 +453,9 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/ruby_2_1/configure.in#L453 linker_flag=-Wl, : ${optflags=-O3} gcc_major=`echo =__GNUC__ | $CC -E -xc - | sed '/^=/!d;s///'` + gcc_minor=`echo =__GNUC_MINOR__ | $CC -E -xc - | sed '/^=/!d;s///'` test -n "$gcc_major" || gcc_major=0 + test -n "$gcc_minor" || gcc_minor=0 # RUBY_APPEND_OPTIONS(XCFLAGS, ["-include ruby/config.h" "-include ruby/missing.h"]) else linker_flag= @@ -956,6 +958,9 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/ruby_2_1/configure.in#L958 ac_cv_type_getgroups=gid_t # getgroups() on Rosetta fills garbage ac_cv_lib_crypt_crypt=no ac_cv_func_fdatasync=no # Mac OS X wrongly reports it has fdatasync() + if test $gcc_major -lt 4 -o \( $gcc_major -eq 4 -a $gcc_minor -lt 3 \); then + ac_cv_func___builtin_setjmp=no + fi AC_CACHE_CHECK(for broken crypt with 8bit chars, rb_cv_broken_crypt, [AC_TRY_RUN([ #include <stdio.h> Index: ruby_2_1/ChangeLog =================================================================== --- ruby_2_1/ChangeLog (revision 48273) +++ ruby_2_1/ChangeLog (revision 48274) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1 +Wed Nov 5 00:18:22 2014 Nobuyoshi Nakada <nobu@r...> + + * configure.in (__builtin_setjmp): disable with gcc/clang earlier + than 4.3 on Mac OS X. [ruby-core:65174] [Bug #10272] + Wed Nov 5 00:01:04 2014 Tanaka Akira <akr@f...> * bignum.c (bary_mul_balance_with_mulfunc): Fix free work area Index: ruby_2_1/version.h =================================================================== --- ruby_2_1/version.h (revision 48273) +++ ruby_2_1/version.h (revision 48274) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1 #define RUBY_VERSION "2.1.5" #define RUBY_RELEASE_DATE "2014-11-05" -#define RUBY_PATCHLEVEL 269 +#define RUBY_PATCHLEVEL 270 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 11 Property changes on: ruby_2_1 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r48184 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/