ruby-1.8.7-p73
ChangeLog
Tue Nov 11 01:07:32 2008 Kazuhiro NISHIYAMA <zn@...> * configure.in: fix SEGV on Mac OS X 10.5.3 with --enable-pthread. a patch from Wataru Kimura in Bug #193 [ruby-core:17333].
原文は --enable-shared であったが、実際には --enable-pthread のほうがただしく、次のパッチレベル(74)にて修正されている。このため、上記では修正したあとの --enable-pthread と記述している。
ソースコードの修正内容
Index: configure.in =================================================================== --- configure.in (.../v1_8_7_72) (revision 22249) +++ configure.in (.../v1_8_7_73) (revision 22249) @@ -391,7 +391,7 @@ #endif ], [ - test "x$target_cpu" = xppc && ac_cv_header_ucontext_h=no + test "x$target_cpu" = xpowerpc && ac_cv_header_ucontext_h=no ], [ AC_DEFINE(BROKEN_SETREUID, 1)
不具合の内容
CPU が PowerPC で、OS が Mac OS X 10.5 以降の環境において、--enable-pthread 付きで configure を実行する。そして、コンパイルを行う。
すると、コンパイル中に SEGV が発生し、コンパイルに失敗する。
修正の影響範囲
特になし。