Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thread_pthread: Grow main_stack if required (fixes tests on HPPA)
On HPPA, test_insns.rb fails (along with various Ruby gems) with 'stack level too deep (SystemStackError)'. This turns out to be because HPPA defaults to a small(er) stack. With this change, most of Ruby's test suite now passes on HPPA. Thanks to both Dave and Helge for the investigation and coming up with the patch. Bug: https://bugs.gentoo.org/701494 Bug: https://bugs.debian.org/881773 Bug: https://bugs.debian.org/881772 (for PPC64) Bug: rack/rack#1640 Thanks-to: John David Anglin <dave.anglin@bell.net> Thanks-to: Helge Deller <deller@gmx.de> Signed-off-by: Sam James <sam@gentoo.org>
- Loading branch information