Building the XNU kernel on Mac OS X Sierra

From version to version, I always love to play around with the kernel. And it has always been a great lack in guides and documentation on how to build Mac OSX’s kernel, XNU. For those of you that already have tried compiling XNU for Mac OSX 10.12 (Sierra), you probably noticed that earlier build guides like ssen’s blog – Building xnu for OS X 10.11 El Capitan don’t work anymore. However, many thanks to ssen to put in time to write a guide.

The problem is that Apple introduced something named Circular dependency with the libdispatch library and the kernel headers. So the order of the build process just got really important.


  1. 2017-07-14 6:43 am
    • 2017-07-14 7:45 am
      • 2017-07-14 8:42 am
  2. 2017-07-14 10:21 am
    • 2017-07-17 1:42 pm
  3. 2017-07-16 12:49 pm