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

From: mistydemeo@...
Date: 2014-02-06 06:27:15 UTC
List: ruby-core #60524
Issue #9492 has been reported by Misty De Meo.

----------------------------------------
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

* 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