ruby-changes:27153
From: akr <ko1@a...>
Date: Mon, 11 Feb 2013 23:26:14 +0900 (JST)
Subject: [ruby-changes:27153] akr:r39205 (trunk): * configure.in: enable rb_cv_page_size_log test for MirOS BSD.
akr 2013-02-11 23:26:01 +0900 (Mon, 11 Feb 2013) New Revision: 39205 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39205 Log: * configure.in: enable rb_cv_page_size_log test for MirOS BSD. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 39204) +++ configure.in (revision 39205) @@ -1477,8 +1477,11 @@ if test $rb_cv_stack_end_address != no; https://github.com/ruby/ruby/blob/trunk/configure.in#L1477 AC_DEFINE_UNQUOTED(STACK_END_ADDRESS, $rb_cv_stack_end_address) fi +# posix_memalign(memptr, alignment, size) implemented for OpenBSD 4.8 doesn't work if alignment > MALLOC_PAGESIZE. +# OpenBSD 5.2 fixed the problem. (src/lib/libc/stdlib/malloc.c:1.142) +# MirOS #10semel has the problem but fixed in the repository. (src/lib/libc/stdlib/malloc.c:1.9) AS_CASE(["$target_os"], -[openbsd*], [ +[openbsd*|mirbsd*], [ AC_CACHE_CHECK(for heap align log on openbsd, rb_cv_page_size_log, [rb_cv_page_size_log=no for page_log in 12 13; do Index: ChangeLog =================================================================== --- ChangeLog (revision 39204) +++ ChangeLog (revision 39205) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Feb 11 23:08:48 2013 Tanaka Akira <akr@f...> + + * configure.in: enable rb_cv_page_size_log test for MirOS BSD. + Mon Feb 11 20:06:38 2013 Tanaka Akira <akr@f...> * configure.in: use -pthread on mirbsd*. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/