This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 41786 - Mono is broken when building with the macOS 10.12 SDK
Summary: Mono is broken when building with the macOS 10.12 SDK
Alias: None
Product: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- critical
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-06-14 07:25 UTC by Rolf Bjarne Kvinge
Modified: 2016-06-22 10:30 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Rolf Bjarne Kvinge 2016-06-14 07:25:45 UTC
This happens:

Dyld Error Message:
  Symbol not found: _clock_getres
  Referenced from: /work/*/mono
  Expected in: /usr/lib/libSystem.B.dylib

because apparently macOS 10.12 has implemented clock_getres now, and we enter this:, but that obviously doesn't execute on older OSXes.
Comment 2 Rolf Bjarne Kvinge 2016-06-14 14:15:47 UTC
This might be a bug in Apple's headers, which don't hide the symbol when targeting an earlier macOS:
Comment 3 Alexander Köplinger 2016-06-14 14:48:03 UTC
I sent a PR which should workaround this:
Comment 4 Alexander Köplinger 2016-06-14 17:16:11 UTC
Committed to master and 4.5.1.

@Rolf: can you please file a radar with Apple so that they can fix this?

Note You need to log in before you can comment on or make changes to this bug.