Re: Looking for building instructions for xnu repo
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729171200; x=1729776000; darn=lists.apple.com; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lm+1sHfpPHuXzEg0j0s7ZiuKgCld1xau+pTotK8wC5E=; b=Up4ezYcyKTJ0crMNMR/fq1f92mmBX0KT5NLqWmmnNt+yf4CqnYexMYe/UlWFCN4XrG j0irtt/D9TNYdjBMtrhbim2ALnnroa+ZqDrbBgVFVRF+EE6pn6rdBIMK/SxxUFI2KNxV OiO6wWCChsfAoc0/3VksRfC3b5IJmiUIFediI3PNkNS87eo2edBzrnPlE+J/CZJ45vl3 8UQMioyqezOkN5313KwuUYTh0THDQgxzefPmYiSOycr8CZO3679nHVPzC4k82wfPLsic UceJkAWmDA62sJvJV+/mc1iVW4pSXVq77rQvxY2AcaVK2QTf350E+S0Sxayt7aKLxW4H RbAw== User-agent: Mozilla Thunderbird Hello Ken, On 16/10/24 8:19 pm, Ken Hornstein wrote: I am looking for some inputs on building the xnu source that's published at https://github.com/apple-oss-distributions/xnu/. The README.md in that repo seems to indicate that it should be buidable locally https://github.com/apple-oss-distributions/xnu/blob/main/README.md. However, I have tried various times to get the build to work on my local macosx M1 but haven't been able to. It's been my experience that Apple isn't so great at updating that sort of documentation and you have to be prepared to do some grunt work in figuring out the missing pieces. But ... forgive me for chiding you for not at least trying a basic Google search, as the error you're getting about the missing "availability.pl" script seems relatively straightforward. A quick search (using "macos kernel availability.pl") for me finds the following recipies which should get you much closer: https://github.com/upx/upx/issues/612 https://kernelshaman.blogspot.com/2021/02/building-xnu-for-macos-112-intel-a... Thank you both Ken and Shon for your inputs so far. -Jaikiran _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com I had actually searched when I run into that error. But my search (in duckduckgo) was literally "Unable to locate /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk//usr/local/libexec/availability.pl" and that hadn't yielded anything useful. But point taken, I should have searched more. This is very useful indeed. I am going to try out those steps and experiment a bit and see how it goes. I'll provide an update (hopefully about a successful build).
participants (1)
-
Jaikiran Pai via Darwin-kernel