Errors building the 10.13 Kernel
Errors building the 10.13 Kernel
- Subject: Errors building the 10.13 Kernel
- From: Alexander von Below <email@hidden>
- Date: Wed, 25 Jul 2018 15:38:52 +0200
Hello,
I posted this in the darwin-kernel list a while ago, but am still stuck.
My goal is to build a 10.13 kernel, but make SDKROOT=macosx ARCH_CONFIGS=X86_64
KERNEL_CONFIGS=RELEASE XNU_LOGCOLORS=y BUILD_WERROR=0 is throwing several
errors at me.
I have checked the various scripts on the internet, set up a 10.13.2 VM,
installed Xcode 9.2 …
Anyone here who was successful in building the Kernel, or who could provide
some help?
Or where do the Kernel people hang out these days?
Thanks
Alex
Errors specifically are
/Users/below/xnu2/xnu-4570.31.3/osfmk/i386/cpu_topology.c:60:3: error: use of
undeclared
identifier 'ptrdiff_t'
ptrdiff_t coff = cpup - cpu_datap(0);
^
/Users/below/xnu2/xnu-4570.31.3/osfmk/i386/cpu_topology.c:62:32: error: use of
undeclared
identifier 'coff'
cpup->cd_shadow = &cpshadows[coff];
^
[x86_64 OSX] net_stubs.o ERROR: ctfconvert: file does not contain dwarf
type data (try compiling with -g)
[x86_64 OSX] classq_util.o ERROR: ctfconvert: file does not contain
dwarf type data (try compiling with -g)
[x86_64 OSX] key_debug.o ERROR: ctfconvert: file does not contain dwarf
type data (try compiling with -g)
[x86_64 OSX] dtrace_alloc.o ERROR: ctfconvert: file does not contain
dwarf type data (try compiling with -g)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden