From: nagachika00@... Date: 2017-05-09T14:48:56+00:00 Subject: [ruby-core:81064] [Ruby trunk Bug#13247] ruby won't build on macOS 10.6 SDK — mach_task_basic_info_data_t not available Issue #13247 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE ruby_2_4 r58626 merged revision(s) 57180. ---------------------------------------- Bug #13247: ruby won't build on macOS 10.6 SDK ��� mach_task_basic_info_data_t not available https://bugs.ruby-lang.org/issues/13247#change-64714 * Author: PvpDJgHP (��� PvpDJgHP) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin10] * Backport: 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE ---------------------------------------- [mach_task_basic_info_data_t](https://developer.apple.com/reference/kernel/mach_task_basic_info_data_t) is available in macOS 10.8+ SDK only. As a result, ruby will not compile with macOS 10.7 SDK or older. ~~~ compiling memory_status.c memory_status.c: In function ���read_status���: memory_status.c:21: error: ���mach_task_basic_info_data_t��� undeclared (first use in this function) memory_status.c:21: error: (Each undeclared identifier is reported only once memory_status.c:21: error: for each function it appears in.) memory_status.c:21: error: expected ���;��� before ���taskinfo��� memory_status.c:23: error: ���taskinfo��� undeclared (first use in this function) memory_status.c:24: error: ���MACH_TASK_BASIC_INFO_COUNT��� undeclared (first use in this function) memory_status.c:25: error: ���MACH_TASK_BASIC_INFO��� undeclared (first use in this function) make[3]: *** [memory_status.o] Error 1 make[2]: *** [ext/-test-/memory_status/all] Error 2 make[1]: *** [build-ext] Error 2 make: *** [ruby] Error 2 ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: