[ruby-core:60675] [ruby-trunk - Bug #9492] ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available

From: wtnelson@...
Date: 2014-02-12 22:32:20 UTC
List: ruby-core #60675
Issue #9492 has been updated by William T. Nelson.


I am also experiencing this issue.

There are still many Apple Xserve running OS X 10.5.8 (darwin 9.8) in production.

----------------------------------------
Bug #9492: ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available
https://bugs.ruby-lang.org/issues/9492#change-45101

* Author: Misty De Meo
* Status: Open
* Priority: Normal
* Assignee: 
* Category: core
* Target version: 
* ruby -v: 2.1.0
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The following commit added a usage of the pthread_setname_np() function on Darwin to set the timer thread name: https://github.com/ruby/ruby/commit/09c96a7858955f2b94238bd4bf38729f0d650f22

This function isn't available in all OS X versions; it was first added in 10.6. As a result, ruby will fail to compile on older OS X releases.



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next