Linked by Thom Holwerda on Thu 13th Jul 2017 20:52 UTC
Mac OS X

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.

Permalink for comment 646759
To read all comments associated with this story, please click here.
Member since:

I have been aware of the cascading issues with dependies in the BSD and Linux worlds. There are many, many horror stories - although such stories are rarer today than even five years ago.

From what I understand, circular dependencies forces a specific order in the compilation of the parts to build the executable. Isn't this risky for the long term reliability/stability of the kernel?

Reply Score: 2