Errors building the 10.13 Kernel

5 views
Skip to first unread message

Alexander von Below

unread,
Jul 25, 2018, 9:39:22 AM7/25/18
to darwi...@lists.apple.com
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 (Darwi...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/darwin-dev/darwin-dev-garchive-73044%40googlegroups.com

This email sent to darwin-dev-g...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages