mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
ef38fc3bb8
- On FreeBSD >= 7.2 allocate the new thread with adequate amount of stack space to run the main ruby code in. This allows to mitigate problem when too low stack space available for ruby when running with pthreads enabled. - Bump portrevision. The long version. Before this change we used to link ruby against pthreads uncoditionally on all versions of FreeBSD. This is indispensable in order to load the threaded shared objects withing ruby. However, this causes a dramatic decrease in the stack space available as pthreads only allows up to several megabytes of stack space for the main application threads. The only solution to this is to create the new thread immediately after the program start with rigth stack size attributes set. Nonetheless this scheme won't work for us on FreeBSD version before 7.2 as malloc implementation in these versions was not threaded fork safe (i.e. this is impossible to fork from the threaded program and expect malloc/free functions to work). Thus the only solution for now can be to disable pthreads entirely on FreeBSD <= 7.2. This won't cause any performance/usability problems for users as Ruby 1.8 uses green threads, however it may prevent <= 7.2 users to load shared libraries linked agains pthreads. Reported by: "François Montel" <seanmullen@gmail.com> Tested by: Sean Mullen <seanmullen@gmail.com> |
||
---|---|---|
.. | ||
bsd.apache.mk | ||
bsd.autotools.mk | ||
bsd.cmake.mk | ||
bsd.commands.mk | ||
bsd.cran.mk | ||
bsd.database.mk | ||
bsd.destdir.mk | ||
bsd.drupal.mk | ||
bsd.efl.mk | ||
bsd.emacs.mk | ||
bsd.fpc.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gnome.mk | ||
bsd.gnustep.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.kde4.mk | ||
bsd.kde.mk | ||
bsd.ldap.mk | ||
bsd.linux-apps.mk | ||
bsd.linux-rpm.mk | ||
bsd.local.mk | ||
bsd.lua.mk | ||
bsd.mail.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.openssl.mk | ||
bsd.perl.mk | ||
bsd.php.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.python.mk | ||
bsd.qt.mk | ||
bsd.ruby.mk | ||
bsd.scons.mk | ||
bsd.sdl.mk | ||
bsd.sites.mk | ||
bsd.tcl.mk | ||
bsd.wx.mk | ||
bsd.xfce.mk | ||
bsd.xorg.mk |