Replies: 7 comments 28 replies
-
|
First attempt at build failed with: compiling src/remote-stub.c...
linking make...
done.
ninja: build stopped: subcommand failed.
mds@ravynosbuild:~/test_sdk/Developer/Platforms/ravynos-SDK_0.7.0.0$ |
Beta Was this translation helpful? Give feedback.
-
|
Oops, did I revert your PR with one of my commits? |
Beta Was this translation helpful? Give feedback.
-
|
Ah. Another stupid build ordering issue. Dependencies seem really complex to manage in CMake compared to bmake. Try this: ninja -C BootstrapTools It is trying to use tools to compile liblaunch before they're built. I'll add a dependency rule. |
Beta Was this translation helpful? Give feedback.
-
|
Is your libtapi.so library somewhere in the output directory? Looks like it is missing. |
Beta Was this translation helpful? Give feedback.
-
|
Hmm... that's weird. The linker is complaining about unresolved tapi:: symbols, so there's something it does not like about libtapi or it can't be found. Make sure it's an ELF shared lib and not MachO. Make sure your SDKROOT env var is not set for a full OS build. |
Beta Was this translation helpful? Give feedback.
-
|
BINGO! /usr/bin/ld was pointed to the GNU linker. I removed that symlink and created it's replacement to point to LLVM. And I changed the default shell while I was there. It certainly changes things, now it breaks somewhere else. I started with a clean slate; removed the test_sdk directory and started over. |
Beta Was this translation helpful? Give feedback.
-
From link above |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This package provides the headers, libraries, and frameworks needed to build ravynOS applications. It is the ravynOS equivalent to Apple's MacOSX.sdk and can be used from any host system that has a suitable
.xctoolchainbundle orclanginstall capable of cross-compiling to Darwin.This is not complete! While we do have a substantial part of libSystem, System.framework, IOKit, and DriverKit, parts of libSystem are still missing. Notably, libnotify, libinfo, corecrypto, and some others are missing. ObjC is here, along with XPC, liblaunch, dispatch (GCD) and others. No Frameworks yet other than System and Kernel. See the
ravynOS_SDK_0.7.0.0.manifestfile for full info.All code contained in these SDKs is fully open. No Apple proprietary tools or source was used to create them.
How to use the SDK
The SDK archive includes the
ravynOS.platformbundle as well, with the SDK inside it. There are two ways to use it./Library/Developer/Platformsand you should create a symlinkMacOSX.platformtoravynOS.platformfor best compatibility. However, you can put it wherever you prefer if you don't need to emulate a Mac build environment. Set the env varSDKROOT=<unpack_root>/ravynOS.platform/Developer/SDKs/ravynOS.sdkand build for the target<cpu>-apple-darwin.<build_root>/Developer/Platforms. Unset theSDKROOTenv var if set. Now build the system, which will produce an updated SDK in place.How to use the KDK
The KDK provides you with a prebuilt x86-64
xnukernel image and debugging symbols, kernel header exports, lists of supported KPIs,libkmod, and kernel extension (.kext) bundles to be linked into the kernelcache. You can use this KDK to play with the booter, build kernel extensions. and debug.Unpack it anywhere you like, verify the SHA256 sum, and have fun.
This one was manually assembled; the final KDK is subject to change 😄
This discussion was created from the release ravynOS SDK and KDK v0.7.0.0 (x86_64).
Beta Was this translation helpful? Give feedback.
All reactions