[Bug #989] [1.8.6] Crash during build on Mac OS 10.5.3/PPC when configured with --enable-pthread


#1

Bug #989: [1.8.6] Crash during build on Mac OS 10.5.3/PPC when
configured with --enable-pthread
http://redmine.ruby-lang.org/issues/show/989

e$B5/I<<Te(B: Kazuhiro NISHIYAMA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Shyouhei U.

#193 [ruby-core:17333] e$B$N7o$,0JA03NG’$7$?$H$-$Oe(B ruby_1_8_7
e$B$@$1$@$C$?5$$,$7$?$N$G$9$,!"e(B
ruby_1_8 e$B$He(B ruby_1_8_6 e$B$G$b5/$-$F$$$?$N$G!"e(Bruby_1_8
e$B$K$Oe(B ruby_1_8_7 e$B$HF1$8=$@5$rF~$l$^$7$?!#e(B

ruby_1_8_6 e$B$K$Oe(B
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE"
AC_TRY_CPP([#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1040
#error pre OS X 10.4
[!<===== pre OS X 10.4 =====>]
#endif
],
[
test “x$target_cpu” = xpowerpc &&
ac_cv_header_ucontext_h=no
],
[
AC_DEFINE(BROKEN_SETREUID, 1)
AC_DEFINE(BROKEN_SETREGID, 1)
])
e$B$NItJ,<+BN$,$J$+$C$?$N$G!"$^$@=$@5$G$-$F$$$^$;$s!#e(B


#2

e$B%A%1%C%He(B #989 e$B$,99?7$5$l$^$7$?!#e(B (by Shyouhei U.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BRejectede$B$KJQ99e(B
Target version Ruby 1.8.6e$B$K%;%C%He(B

1.8.6e$B$Oe(BMac OS X
10.5e$B$K$OBP1~$7$F$$$^$;$se(B(1.8.6e$B$N%j%j!<%9$Oe(B2007e$BG/e(B3e$B7n!"e(BLeoparde$B$Oe(B2007e$BG/e(B10e$B7ne(B)e$B!#e(B

http://redmine.ruby-lang.org/issues/show/989


#3

e$B%A%1%C%He(B #989 e$B$,99?7$5$l$^$7$?!#e(B (by Akinori MUSHA)

Rejectede$B$H$$$&$N$O$?$H$(=$@5$,=P$F$bE,MQ$7$J$$$H$$$&0UL#$G$7$g$&$+!)e(B


http://redmine.ruby-lang.org/issues/show/989