Closed tumusudheer closed 1 month ago
try now
Hi @blacktop
Thank you very much. The build was successful
MACOS_VERSION='15.0' KERNEL_CONFIG=RELEASE ARCH_CONFIG=ARM64 MACHINE_CONFIG=VMAPPLE ./build.sh --kc
and I can see the oss-xnu.macOS.15.0.kc.vmapple
file in the fakeroot directory.
Then I I tried the following command:
MACOS_VERSION='15.0' KERNEL_CONFIG=RELEASE ARCH_CONFIG=ARM64 MACHINE_CONFIG=T8103 ./build.sh --kc
as the uname -v
on my machine is giving the following output:
Darwin Kernel Version 24.0.0: Mon Aug 12 20:49:48 PDT 2024; root:xnu-11215.1.10~2/RELEASE_ARM64_T8103
But the build was not successful. Attached error trace file contains the total console output.
it is failing at this command:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f /Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/xnu/bsd/Makefile CURRENT_KERNEL_CONFIG=RELEASE CURRENT_ARCH_CONFIG=ARM64 CURRENT_MACHINE_CONFIG=T8103 CURRENT_BUILD_CONFIG=RELEASE^ARM64^T8103 SOURCE=/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/xnu/bsd/ RELATIVE_SOURCE_PATH=./bsd TARGET=/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/build/xnu.obj/RELEASE_ARM64_T8103/. OBJPATH=/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/build/xnu.obj/RELEASE_ARM64_T8103 do_build_all
/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/xnu/bsd/Makefile:6: /makedefs/MakeInc.cmd: No such file or directory
/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/xnu/bsd/Makefile:7: /makedefs/MakeInc.def: No such file or directory
/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/xnu/bsd/Makefile:86: /makedefs/MakeInc.rule: No such file or directory
/Users/xx/Documents/Work/Research/yy/darwin-xnu-build_2.0/darwin-xnu-build/xnu/bsd/Makefile:87: /makedefs/MakeInc.dir: No such file or directory
I think in the (following) contents of the Makefile:
export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
The ${SRCROOT} is not being set properly in the make process. I tried to fix with some temporary fixes like hardcoing the aboslute path or defining the variable in this file again, but not able to build successfully.
Similar issues were coming in the Makefiles under xnu/SETUP
directory as well
It must be small fix some where.
[Uploading error_trace.txt…]()
this is now a different issue than the original one. Please create a NEW issue (however, note I believe only VMAPPLE and X86 MACHINE_CONFIGs are currently supported for macOS 15.0
Hi @blacktop
Thank you very much. Sure will create a new issue on this. Also, have a question on how to use this compiled kernel file for booting. Will post this. I'm testing on the same machine I compiled the code using qemu-system-aarch6
Hi,
I checked out the code using
My laptop is running mac os 15.0 (24A335). When I run the folliwng command:
MACOS_VERSION='15.0' KERNEL_CONFIG=RELEASE ARCH_CONFIG=ARM64 MACHINE_CONFIG=VMAPPLE ./build.sh --kc
I'm getting the following errors: