diff options
author | odaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-19 23:24:12 +0000 |
---|---|---|
committer | odaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-19 23:24:12 +0000 |
commit | 49efa6680c1c9bf6c4a17e94acf4524b9aae323c (patch) | |
tree | f29414d4275e199cf78a922615244d9507bb26bb | |
parent | cfa2f95476525559bf8555c36b34dc241d87b76b (diff) |
* configure.in: pthread_getattr_np is broken on AIX.
More specifically, the stack address and size returned are
not correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Tue Oct 20 08:12:47 2015 Rei Odaira <Rei.Odaira@gmail.com> + + * 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@80x24.org> * ext/fiddle/closure.c (callback): static function diff --git a/configure.in b/configure.in index 6cb013aa1f..a34a46454f 100644 --- a/configure.in +++ b/configure.in @@ -2801,11 +2801,12 @@ if test x"$enable_pthread" = xyes; then 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 |