ruby-changes:40118
From: odaira <ko1@a...>
Date: Tue, 20 Oct 2015 08:24:34 +0900 (JST)
Subject: [ruby-changes:40118] odaira:r52199 (trunk): * configure.in: pthread_getattr_np is broken on AIX.
odaira 2015-10-20 08:24:12 +0900 (Tue, 20 Oct 2015) New Revision: 52199 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52199 Log: * configure.in: pthread_getattr_np is broken on AIX. More specifically, the stack address and size returned are not correct. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 52198) +++ configure.in (revision 52199) @@ -2801,11 +2801,12 @@ if test x"$enable_pthread" = xyes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L2801 AC_DEFINE(NON_SCALAR_THREAD_ID) fi AC_CHECK_FUNCS(sched_yield pthread_attr_setinheritsched \ - pthread_getattr_np pthread_attr_get_np pthread_attr_getstack\ + pthread_attr_get_np pthread_attr_getstack\ pthread_get_stackaddr_np pthread_get_stacksize_np \ thr_stksegment pthread_stackseg_np pthread_getthrds_np \ pthread_cond_init pthread_condattr_setclock pthread_condattr_init \ pthread_sigmask pthread_setname_np pthread_set_name_np) + AS_CASE(["$target_os"],[aix*],[ac_cv_func_pthread_getattr_np=no],[AC_CHECK_FUNCS(pthread_getattr_np)]) if test "${host_os}" = "nacl"; then ac_cv_func_pthread_attr_init=no else Index: ChangeLog =================================================================== --- ChangeLog (revision 52198) +++ ChangeLog (revision 52199) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Oct 20 08:12:47 2015 Rei Odaira <Rei.Odaira@g...> + + * configure.in: pthread_getattr_np is broken on AIX. + More specifically, the stack address and size returned are + not correct. + Tue Oct 20 05:54:46 2015 Eric Wong <e@8...> * ext/fiddle/closure.c (callback): static function -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/