test_massign.rb:165 fails on Debian GNU/kFreeBSD (amd64)
- cont.c (fiber_entry): fix stack allocation failure on Debian GNU/kFreeBSD. Patch by Lucas Nussbaum . [Bug #5241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
merge revision(s) 33118:
* cont.c (fiber_entry): fix stack allocation failure on Debian GNU/kFreeBSD. Patch by Lucas Nussbaum <lucas at lucas-nussbaum dot net>. [Bug #5241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
#2 [ruby-core:39160] Updated by lucas (Lucas Nussbaum) over 6 years ago
The attached patch fixes the issue. It's a bug in FreeBSD's mmap, that was already reported.
FreeBSD is not defined on Debian GNU/kFreeBSD. Since it uses the FreeBSD kernel with the GNU Libc, semantics be be either those of the FreeBSD kernel, or those of the GNU Libc, so it doesn't make sense to just look at "FreeBSD". Instead, FreeBSD_kernel is defined.
I've looked at other uses of FreeBSD kernel, and try to remember to provide patches for them if I run into issues that could be caused by them.
I've also added a reference to the FreeBSD bug report in the comment.
#4 Updated by kosaki (Motohiro KOSAKI) over 6 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100