From: nobu@... Date: 2014-02-13T02:06:47+00:00 Subject: [ruby-core:60677] [ruby-trunk - Bug #9492] [Closed] ruby won't build on Mac OS X versions before 10.6 - pthread_setname_np() not available Issue #9492 has been updated by Nobuyoshi Nakada. Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r44925. ---------- configure.in: use pthread_setname_np only if available * configure.in: check if pthread_setname_np is available. * thread_pthread.c: pthread_setname_np is not available on old Darwins. [ruby-core:60524] [Bug #9492] ---------------------------------------- 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-45103 * Author: Misty De Meo * Status: Closed * 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/