Welcome to AMD OS X

Why not register now to gain full access.

Development and testing of modified XNU Kernels for AMD CPUs on OS X
User avatar
by: Shaneee
#7919
As of this time Apple have released the Sierra tarball source (xnu-3789.1.32).

Unfortunately there seems to be a file missing from it (firehose_buffer_private.h) The only reference to this file is on Apple's GitHub account but doesn't fix the problem.

This is the build attempt without the file,
Code: Select all
Last login: Sat Oct  1 14:01:28 on ttys000
Shanes-Mac-Pro:~ shane$ cd /Users/shane/Desktop/xnu-3789.1.32 
Shanes-Mac-Pro:xnu-3789.1.32 shane$ sudo make SDKROOT=macosx ARCH_CONFIGS=X86_64 KERNEL_CONFIGS=RELEASE
HOST_CC       externs.o
HOST_CC       kextsymboltool.o
HOST_CC       setsegname.o
HOST_BISON    parser.c
HOST_CC       openp.o
HOST_LD       setsegname
HOST_CC       searchp.o
HOST_FLEX     lexer.yy.c
HOST_CC       parser.o
HOST_LD       kextsymboltool
HOST_CODESIGN setsegname
HOST_CC       decomment.o
HOST_CC       main.o
HOST_CODESIGN kextsymboltool
HOST_CC       installfile.o
HOST_CC       mkheaders.o
HOST_LD       decomment
HOST_LD       installfile
HOST_CC       mkioconf.o
HOST_CODESIGN installfile
HOST_CC       mkmakefile.o
HOST_CODESIGN decomment
HOST_CC       lexer.yy.o
HOST_CC       replacecontents.o
HOST_LD       replacecontents
HOST_LD       config
HOST_CODESIGN replacecontents
HOST_CODESIGN config
MIG clock.h
MIG clock_priv.h
[] GENERATING libkern/version.h from /Users/shane/Desktop/xnu-3789.1.32/libkern/libkern/version.h.template
MIG host_priv.h
MIG host_security.h
MIG ktrace_background.h
MIG lock_set.h
MIG mach_host.h
MIG mach_port.h
[] GENERATING bsd/sys/sysproto.h from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG mach_vm.h
MIG mach_voucher.h
MIG mach_voucher_attr_control.h
[] GENERATING /Users/shane/Desktop/xnu-3789.1.32/BUILD/obj/syscall.codes from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG memory_object_control.h
MIG processor.h
MIG processor_set.h
MIG task.h
MIG task_access.h
MIG thread_act.h
MIG upl.h
MIG vm_map.h
MIG audit_triggers_server.h
MIG clock_reply_server.h
MIG coalition_notification_server.h
MIG exc_server.h
MIG mach_exc_server.h
MIG memory_object_default_server.h
MIG notify_server.h
MIG task_access_server.h
MIG telemetry_notification_server.h
MIG sysdiagnose_notification_server.h
[] GENERATING bsd/sys/syscall.h from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG gssd_mach.h
[] GENERATING bsd/sys/kdebugevents.h from /Users/shane/Desktop/xnu-3789.1.32/BUILD/obj/trace.codes
MIG kextd_mach.h
MIG lockd_mach.h
C++ IOLib.cpo
MIG atm_notification_user.c
[] GENERATING audit_kevents.c from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG device_server.h
CC  audit_mac.o
MIG device_server.c
C++ IOLocks.cpo
CC  audit_pipe.o
MIG audit_triggers_user.c
C++ IOConditionLock.cpo
MIG clock_reply_user.c
C++ IOStartIOKit.cpo
MIG coalition_notification_user.c
CC  audit_session.o
MIG exc_user.c
C++ IODeviceTreeSupport.cpo
MIG host_notify_reply_user.c
MIG ktrace_background_user.c
C++ IORegistryEntry.cpo
MIG mach_exc_user.c
CC  audit_syscalls.o
MIG mach_notify_user.c
MIG memory_object_user.c
MIG memory_object_control_user.c
C++ IOService.cpo
MIG memory_object_default_user.c
MIG resource_notify_user.c
CC  audit_worker.o
MIG task_access_user.c
MIG telemetry_notification_user.c
MIG upl_user.c
MIG vm_map_user.c
CC  bsd_init.o
MIG sysdiagnose_notification_user.c
MIG clock_server.c
C++ IOServicePM.cpo
MIG clock_priv_server.c
MIG exc_server.c
[] GENERATING init_sysent.c from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG host_priv_server.c
CC  kdebug.o
MIG host_security_server.c
MIG lock_set_server.c
MIG mach_exc_server.c
MIG mach_host_server.c
MIG mach_notify_server.c
MIG mach_port_server.c
MIG mach_vm_server.c
C++ IOPMinformee.cpo
MIG mach_voucher_server.c
C++ IOPMinformeeList.cpo
MIG mach_voucher_attr_control_server.c
CC  kern_acct.o
MIG memory_object_control_server.c
C++ IOPMPowerStateQueue.cpo
MIG memory_object_default_server.c
CC  kern_aio.o
C++ IOCatalogue.cpo
MIG processor_server.c
MIG processor_set_server.c
MIG task_server.c
C++ IOPMPowerSource.cpo
MIG thread_act_server.c
C++ IOPMPowerSourceList.cpo
MIG upl_server.c
MIG vm_map_server.c
CC  kern_authorization.o
C++ IOPolledInterface.cpo
MIG vm32_map_server.c
MIG UNDRequest.c
C++ IOWorkLoop.cpo
MIG UNDReplyServer.c
MIG gssd_mach.c
CC  kern_backtrace.o
MIG gssd_mach.h
C++ IOEventSource.cpo
CC  kern_clock.o
MIG kextd_mach.c
C++ IOInterruptEventSource.cpo
CC  kern_core.o
MIG kextd_mach.h
MIG lockd_mach.c
C++ IOCommandGate.cpo
MIG lockd_mach.h
CC  kern_credential.o
[] GENASSYM      /Users/shane/Desktop/xnu-3789.1.32/osfmk/i386/genassym.c
C++ IOCommand.cpo
C++ IOCommandPool.cpo
CC  bsd_i386.o
C++ IOCommandQueue.cpo
C++ IODMAEventSource.cpo
CC  bsd_i386_native.o
C++ IOFilterInterruptEventSource.cpo
CC  machdep_call.o
CC  boot_pt.o
C++ IOTimerEventSource.cpo
CC  kern_cs.o
C++ IOBufferMemoryDescriptor.cpo
CC  mp_desc.o
C++ IODMACommand.cpo
CC  kern_csr.o
CC  gdt.o
CC  cpu.o
CC  kern_symfile.o
C++ IODeviceMemory.cpo
CC  cpuid.o
C++ IOInterleavedMemoryDescriptor.cpo
C++ IOMapper.cpo
CC  kern_descrip.o
C++ IOMemoryCursor.cpo
CC  cpu_threads.o
C++ IOMemoryDescriptor.cpo
CC  cpu_topology.o
CC  i386_timer.o
C++ IOMultiMemoryDescriptor.cpo
CC  fpu.o
C++ IORangeAllocator.cpo
C++ IOSubMemoryDescriptor.cpo
CC  kern_guarded.o
CC  i386_init.o
C++ IOPlatformExpert.cpo
CC  i386_vm_init.o
CC  kern_event.o
C++ IOCPU.cpo
CC  io_map.o
CC  ktss.o
C++ IONVRAM.cpo
CC  ldt.o
CC  loose_ends.o
C++ IODMAController.cpo
CC  copyio.o
C++ IOInterruptController.cpo
CC  locks_i386.o
C++ IOUserClient.cpo
CC  lowmem_vectors.o
CC  machine_routines.o
CC  kern_control.o
CC  machine_check.o
C++ IOKitDebug.cpo
CC  machine_task.o
CC  kern_exec.o
CC  pcb.o
C++ IODataQueue.cpo
C++ IOSharedDataQueue.cpo
C++ Tests.cpo
C++ TestIOMemoryDescriptor.cpo
CC  pcb_native.o
C++ IOStatistics.cpo
CC  phys.o
CC  rtclock.o
CC  rtclock_native.o
C++ IOInterruptAccounting.cpo
CC  trap.o
CC  kern_exit.o
C++ IOReporter.cpo
C++ IOSimpleReporter.cpo
CC  trap_native.o
C++ IOStateReporter.cpo
CC  user_ldt.o
CC  Diagnostics.o
C++ IOHistogramReporter.cpo
CC  kern_ktrace.o
CC  kern_lockf.o
C++ IOReportLegend.cpo
CC  pmCPU.o
CC  IOStringFuncs.o
C++ KernelConfigTables.cpo
C++ IOKitBSDInit.cpo
CC  tsc.o
CC  kern_fork.o
C++ DINetBootHook.cpo
CC  commpage.o
C++ RootDomainUserClient.cpo
CC  kern_asl.o
CC  conf.o
C++ IOPowerConnection.cpo
CC  model_dep.o
CC  kern_malloc.o
C++ IOWatchDogTimer.cpo
C++ IOSyncer.cpo
CC  kern_mman.o
C++ IOPMrootDomain.cpo
CC  lapic.o
CC  lapic_native.o
CC  kern_persona.o
CC  kern_physio.o
CC  mp.o
CC  kern_priv.o
CC  kern_proc.o
CC  mp_native.o
C++ IOKeyStoreHelper.cpo
CC  acpi.o
C++ IOHibernateIO.cpo
CC  mtrr.o
CC  kern_prot.o
CC  kdp_machdep.o
CC  IOHibernateRestoreKernel.o
CC  kern_resource.o
CC  kdp_vm.o
AS  IOSharedLock.o
AS  IOAsmSupport.o
LDFILELIST iokit
CC  device_tree.o
CC  kdp_x86_common.o
CC  bootargs.o
CC  kern_shutdown.o
CC  hibernate_i386.o
CC  pe_gen.o
CC  pe_init.o
CC  hibernate_restore.o
CC  kern_sig.o
CC  pe_bootargs.o
CC  pe_identify_machine.o
CC  pe_kprintf.o
CC  chud_osfmk_callback_i386.o
CC  pe_interrupt.o
CC  pe_serial.o
LDFILELIST pexpert
CC  OSRuntimeSupport.o
C++ OSSerialize.cpo
CC  chud_cpu_i386.o
C++ OSSet.cpo
CC  chud_thread_i386.o
C++ OSString.cpo
C++ OSSymbol.cpo
CC  ucode.o
C++ OSUnserialize.cpo
CC  kern_subr.o
CC  vmx_cpu.o
C++ OSUnserializeXML.cpo
CC  vmx_shims.o
CC  kern_synch.o
C++ OSSerializeBinary.cpo
CC  hv_support.o
CC  kern_sysctl.o
C++ OSKextLib.cpo
CC  kperf_mp.o
CC  mkext.o
CC  kperf_meminfo.o
CC  OSKextVersion.o
CC  kpc_x86.o
CC  inet_aton.o
CC  inet_ntoa.o
CC  inet_ntop.o
CC  startup64.o
CC  kern_newsysctl.o
CC  inet_pton.o
[] startup64.o  ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -g)
CC  panic_hooks.o
CC  scanf.o
CC  gssd_mach.o
CC  uuid.o
CC  kern_memorystatus.o
CC  log.o
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:28:10: fatal error: 'os/firehose_buffer_private.h' file not found
#include <os/firehose_buffer_private.h>
         ^
CC  lockd_mach.o
1 error generated.
make[7]: *** [log.o] Error 1
make[6]: *** [build_all] Error 2
make[5]: *** [do_all] Error 2
make[4]: *** [build_all] Error 2
make[3]: *** [build_all_recurse_into_conf] Error 2
make[2]: *** [build_all_recurse_into_libkern] Error 2
make[2]: *** Waiting for unfinished jobs....
CC  kern_mib.o
CC  kextd_mach.o
CC  UNDRequest.o
CC  UNDReplyServer.o
CC  kpi_mbuf.o
CC  KUNCUserNotifications.o
CC  kdp.o
CC  kern_stackshot.o
CC  kern_sfi.o
CC  kern_time.o
CC  kern_xxx.o
CC  mach_process.o
CC  mcache.o
CC  kdp_udp.o
CC  spl.o
CC  stackshot.o
CC  kdp_core.o
CC  subr_log.o
/Users/shane/Desktop/xnu-3789.1.32/bsd/kern/subr_log.c:75:10: fatal error: 'os/firehose_buffer_private.h' file not found
#include <os/firehose_buffer_private.h>
         ^
1 error generated.
make[7]: *** [subr_log.o] Error 1
make[6]: *** [build_all] Error 2
make[5]: *** [do_all] Error 2
make[4]: *** [build_all] Error 2
make[3]: *** [build_all_recurse_into_conf] Error 2
make[2]: *** [build_all_recurse_into_bsd] Error 2
CC  kdp_serial.o
CC  ipc_entry.o
CC  ipc_hash.o
CC  ipc_importance.o
CC  ipc_init.o
CC  ipc_kmsg.o
CC  ipc_mqueue.o
CC  ipc_notify.o
CC  ipc_object.o
CC  ipc_port.o
CC  ipc_pset.o
CC  ipc_right.o
CC  ipc_space.o
CC  ipc_table.o
CC  ipc_voucher.o
CC  mach_debug.o
CC  mach_kernelrpc.o
CC  mach_msg.o
CC  mach_port.o
CC  affinity.o
CC  ast.o
CC  audit_sessionport.o
CC  backtrace.o
CC  btlog.o
CC  build_config.o
CC  clock.o
CC  clock_oldops.o
CC  coalition.o
CC  counters.o
[] counters.o  ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -g)
CC  debug.o
CC  energy_perf.o
CC  exception.o
CC  extmod_statistics.o
CC  host.o
CC  host_notify.o
CC  ipc_clock.o
CC  ipc_host.o
CC  ipc_kobject.o
CC  ipc_mig.o
CC  ipc_misc.o
CC  ipc_sync.o
CC  ipc_tt.o
CC  kalloc.o
CC  ktrace_background_notify.o
CC  ledger.o
CC  locks.o
CC  ltable.o
CC  machine.o
CC  mach_node.o
CC  mk_sp.o
CC  mk_timer.o
CC  page_decrypt.o
CC  printf.o
CC  priority.o
CC  processor.o
CC  processor_data.o
CC  sched_average.o
CC  sched_dualq.o
CC  sched_prim.o
CC  sched_traditional.o
CC  sched_multiq.o
CC  sfi.o
CC  stack.o
CC  startup.o
CC  sync_lock.o
CC  sync_sema.o
CC  syscall_emulation.o
CC  syscall_subr.o
CC  syscall_sw.o
CC  sysdiagnose.o
CC  task.o
CC  task_policy.o
CC  task_swap.o
CC  thread.o
CC  thread_act.o
CC  thread_call.o
CC  thread_policy.o
CC  timer.o
CC  timer_call.o
CC  waitq.o
CC  zalloc.o
CC  gzalloc.o
CC  bsd_kern.o
CC  hibernate.o
CC  clock_server.o
CC  clock_priv_server.o
CC  clock_reply_user.o
CC  exc_user.o
CC  exc_server.o
CC  host_priv_server.o
CC  host_security_server.o
CC  ktrace_background_user.o
CC  lock_set_server.o
CC  mach_exc_user.o
CC  mach_exc_server.o
CC  mach_host_server.o
CC  mach_notify_user.o
CC  mach_port_server.o
CC  mach_vm_server.o
CC  mach_voucher_server.o
CC  mach_voucher_attr_control_server.o
CC  memory_object_control_server.o
CC  resource_notify_user.o
CC  upl_server.o
CC  audit_triggers_user.o
CC  task_access_user.o
CC  corpse.o
CC  kern_cdata.o
CC  telemetry_notification_user.o
CC  bank.o
CC  atm.o
CC  atm_notification_user.o
CC  ipc_pthread_priority.o
CC  coalition_notification_user.o
CC  sysdiagnose_notification_user.o
CC  processor_server.o
CC  processor_set_server.o
CC  task_server.o
CC  thread_act_server.o
CC  vm32_map_server.o
CC  bsd_vm.o
CC  vm_compressor.o
CC  vm_compressor_pager.o
CC  vm_compressor_backing_store.o
CC  vm_compressor_algorithms.o
CC  lz4.o
CC  vm_phantom_cache.o
CC  device_vm.o
CC  memory_object.o
CC  vm_debug.o
CC  vm_fault.o
CC  vm_init.o
CC  vm_kern.o
CC  vm_map.o
CC  vm_map_store.o
CC  vm_map_store_ll.o
CC  vm_map_store_rb.o
CC  vm_object.o
CC  vm_pageout.o
CC  vm_purgeable.o
CC  vm_resident.o
CC  vm_shared_region.o
CC  vm_swapfile_pager.o
CC  vm_user.o
CC  vm32_user.o
CC  iokit_rpc.o
CC  device_server.o
CC  device_init.o
CC  kext_alloc.o
CC  kmod.o
CC  subrs.o
CC  chud_cpu.o
CC  chud_glue.o
CC  chud_memory.o
CC  chud_osfmk_callback.o
CC  chud_thread.o
CC  kperf.o
CC  action.o
CC  callstack.o
CC  pet.o
CC  thread_samplers.o
CC  task_samplers.o
CC  meminfo.o
CC  kperf_timer.o
CC  kperf_kpc.o
CC  kdebug_trigger.o
CC  kpc_thread.o
CC  kpc_common.o
CC  serial_general.o
CC  serial_console.o
CC  video_scroll.o
CC  video_console.o
CC  telemetry.o
CC  cc_clear.o
CC  cc_cmp_safe.o
CC  cc_abort.o
CC  ccdrbg_nisthmac.o
CC  ccdigest_init.o
CC  ccdigest_update.o
CC  cchmac.o
CC  cchmac_init.o
CC  cchmac_update.o
CC  cchmac_final.o
CC  ccdigest_final_64be.o
CC  ccsha1_eay.o
CC  ccsha1_initial_state.o
CC  random.o
CC  prng_yarrow.o
CC  fips_sha1.o
CC  smf.o
CC  comp.o
CC  prng.o
CC  sha1mod.o
CC  yarrowUtils.o
CC  vm_apple_protect.o
CC  pmap.o
CC  pmap_x86_common.o
CC  pmap_common.o
CC  pmap_pcid.o
CC  pal_routines.o
AS  pal_routines_asm.o
AS  start.o
AS  bcopy.o
AS  bzero.o
AS  WKdmDecompress_new.o
AS  WKdmCompress_new.o
AS  WKdmData_new.o
AS  lz4_decode_x86_64.o
AS  i386_lock.o
AS  locore.o
AS  cswitch.o
AS  machine_routines_asm.o
AS  commpage_asm.o
AS  fifo_queues.o
AS  idt64.o
LDFILELIST osfmk
make[1]: *** [build_all_bootstrap_RELEASE^X86_64^NONE] Error 2
make: *** [all] Error 2
Shanes-Mac-Pro:xnu-3789.1.32 shane$ 
And with it added in,
Code: Select all
Last login: Sat Oct  1 15:02:19 on ttys000
Shanes-Mac-Pro:~ shane$ cd /Users/shane/Desktop/xnu-3789.1.32 
Shanes-Mac-Pro:xnu-3789.1.32 shane$ sudo make SDKROOT=macosx ARCH_CONFIGS=X86_64 KERNEL_CONFIGS=RELEASE
HOST_CC       externs.o
HOST_CC       kextsymboltool.o
HOST_CC       setsegname.o
HOST_BISON    parser.c
HOST_CC       openp.o
HOST_CC       searchp.o
HOST_FLEX     lexer.yy.c
HOST_LD       setsegname
HOST_CC       parser.o
HOST_CC       main.o
HOST_LD       kextsymboltool
HOST_CODESIGN setsegname
HOST_CC       mkheaders.o
HOST_CC       mkioconf.o
HOST_CC       mkmakefile.o
HOST_CODESIGN kextsymboltool
HOST_CC       decomment.o
HOST_CC       installfile.o
HOST_LD       installfile
HOST_CC       lexer.yy.o
HOST_LD       decomment
HOST_CODESIGN installfile
HOST_CODESIGN decomment
HOST_CC       replacecontents.o
HOST_LD       config
HOST_LD       replacecontents
HOST_CODESIGN config
HOST_CODESIGN replacecontents
MIG clock.h
[] GENERATING libkern/version.h from /Users/shane/Desktop/xnu-3789.1.32/libkern/libkern/version.h.template
MIG clock_priv.h
MIG host_priv.h
MIG host_security.h
MIG ktrace_background.h
MIG lock_set.h
MIG mach_host.h
[] GENERATING bsd/sys/sysproto.h from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG mach_port.h
MIG mach_vm.h
MIG mach_voucher.h
[] GENERATING /Users/shane/Desktop/xnu-3789.1.32/BUILD/obj/syscall.codes from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG mach_voucher_attr_control.h
MIG memory_object_control.h
MIG processor.h
MIG processor_set.h
MIG task.h
MIG task_access.h
MIG thread_act.h
MIG upl.h
MIG vm_map.h
MIG audit_triggers_server.h
MIG clock_reply_server.h
MIG coalition_notification_server.h
MIG exc_server.h
MIG mach_exc_server.h
MIG memory_object_default_server.h
MIG gssd_mach.h
MIG notify_server.h
MIG kextd_mach.h
MIG task_access_server.h
MIG telemetry_notification_server.h
MIG lockd_mach.h
MIG sysdiagnose_notification_server.h
[] GENERATING bsd/sys/syscall.h from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
[] GENERATING bsd/sys/kdebugevents.h from /Users/shane/Desktop/xnu-3789.1.32/BUILD/obj/trace.codes
C++ IOLib.cpo
MIG atm_notification_user.c
[] GENERATING audit_kevents.c from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG device_server.h
CC  audit_mac.o
MIG device_server.c
C++ IOLocks.cpo
CC  audit_pipe.o
MIG audit_triggers_user.c
C++ IOConditionLock.cpo
MIG clock_reply_user.c
C++ IOStartIOKit.cpo
MIG coalition_notification_user.c
CC  audit_session.o
MIG exc_user.c
C++ IODeviceTreeSupport.cpo
MIG host_notify_reply_user.c
MIG ktrace_background_user.c
C++ IORegistryEntry.cpo
MIG mach_exc_user.c
CC  audit_syscalls.o
MIG mach_notify_user.c
MIG memory_object_user.c
MIG memory_object_control_user.c
C++ IOService.cpo
MIG memory_object_default_user.c
CC  audit_worker.o
MIG resource_notify_user.c
MIG task_access_user.c
MIG telemetry_notification_user.c
MIG upl_user.c
CC  bsd_init.o
MIG vm_map_user.c
MIG sysdiagnose_notification_user.c
MIG clock_server.c
C++ IOServicePM.cpo
MIG clock_priv_server.c
[] GENERATING init_sysent.c from /Users/shane/Desktop/xnu-3789.1.32/bsd/kern/syscalls.master
MIG exc_server.c
CC  kdebug.o
MIG host_priv_server.c
MIG host_security_server.c
MIG lock_set_server.c
MIG mach_exc_server.c
MIG mach_host_server.c
MIG mach_notify_server.c
MIG mach_port_server.c
MIG mach_vm_server.c
C++ IOPMinformee.cpo
MIG mach_voucher_server.c
CC  kern_acct.o
C++ IOPMinformeeList.cpo
MIG mach_voucher_attr_control_server.c
MIG memory_object_control_server.c
C++ IOPMPowerStateQueue.cpo
CC  kern_aio.o
MIG memory_object_default_server.c
C++ IOCatalogue.cpo
MIG processor_server.c
MIG processor_set_server.c
C++ IOPMPowerSource.cpo
MIG task_server.c
MIG thread_act_server.c
C++ IOPMPowerSourceList.cpo
MIG upl_server.c
CC  kern_authorization.o
C++ IOPolledInterface.cpo
MIG vm_map_server.c
MIG vm32_map_server.c
MIG UNDRequest.c
C++ IOWorkLoop.cpo
MIG UNDReplyServer.c
CC  kern_backtrace.o
CC  kern_clock.o
MIG gssd_mach.c
C++ IOEventSource.cpo
MIG gssd_mach.h
CC  kern_core.o
C++ IOInterruptEventSource.cpo
MIG kextd_mach.c
MIG kextd_mach.h
CC  kern_credential.o
C++ IOCommandGate.cpo
MIG lockd_mach.c
MIG lockd_mach.h
C++ IOCommand.cpo
C++ IOCommandPool.cpo
[] GENASSYM      /Users/shane/Desktop/xnu-3789.1.32/osfmk/i386/genassym.c
CC  bsd_i386.o
C++ IOCommandQueue.cpo
C++ IODMAEventSource.cpo
CC  bsd_i386_native.o
C++ IOFilterInterruptEventSource.cpo
CC  machdep_call.o
C++ IOTimerEventSource.cpo
CC  boot_pt.o
CC  kern_cs.o
C++ IOBufferMemoryDescriptor.cpo
CC  mp_desc.o
CC  kern_csr.o
C++ IODMACommand.cpo
CC  kern_symfile.o
CC  gdt.o
CC  cpu.o
C++ IODeviceMemory.cpo
C++ IOInterleavedMemoryDescriptor.cpo
CC  cpuid.o
CC  kern_descrip.o
C++ IOMapper.cpo
C++ IOMemoryCursor.cpo
C++ IOMemoryDescriptor.cpo
CC  cpu_threads.o
CC  cpu_topology.o
C++ IOMultiMemoryDescriptor.cpo
CC  i386_timer.o
C++ IORangeAllocator.cpo
CC  fpu.o
C++ IOSubMemoryDescriptor.cpo
CC  kern_guarded.o
C++ IOPlatformExpert.cpo
CC  i386_init.o
CC  kern_event.o
CC  i386_vm_init.o
C++ IOCPU.cpo
CC  io_map.o
CC  ktss.o
C++ IONVRAM.cpo
CC  ldt.o
CC  loose_ends.o
CC  copyio.o
C++ IODMAController.cpo
CC  locks_i386.o
C++ IOInterruptController.cpo
C++ IOUserClient.cpo
CC  lowmem_vectors.o
CC  machine_routines.o
CC  kern_control.o
CC  machine_check.o
CC  machine_task.o
C++ IOKitDebug.cpo
CC  pcb.o
CC  kern_exec.o
C++ IODataQueue.cpo
C++ IOSharedDataQueue.cpo
C++ Tests.cpo
C++ TestIOMemoryDescriptor.cpo
CC  pcb_native.o
C++ IOStatistics.cpo
CC  phys.o
CC  rtclock.o
CC  rtclock_native.o
CC  trap.o
C++ IOInterruptAccounting.cpo
CC  kern_exit.o
C++ IOReporter.cpo
CC  trap_native.o
CC  user_ldt.o
C++ IOSimpleReporter.cpo
CC  Diagnostics.o
C++ IOStateReporter.cpo
C++ IOHistogramReporter.cpo
CC  pmCPU.o
CC  kern_ktrace.o
C++ IOReportLegend.cpo
CC  kern_lockf.o
CC  tsc.o
CC  IOStringFuncs.o
C++ KernelConfigTables.cpo
C++ IOKitBSDInit.cpo
CC  commpage.o
CC  kern_fork.o
C++ DINetBootHook.cpo
CC  conf.o
C++ RootDomainUserClient.cpo
CC  model_dep.o
CC  kern_asl.o
C++ IOPowerConnection.cpo
CC  kern_malloc.o
C++ IOWatchDogTimer.cpo
CC  lapic.o
C++ IOSyncer.cpo
CC  lapic_native.o
CC  kern_mman.o
C++ IOPMrootDomain.cpo
CC  mp.o
CC  kern_persona.o
CC  kern_physio.o
CC  kern_priv.o
CC  kern_proc.o
CC  mp_native.o
CC  acpi.o
CC  mtrr.o
C++ IOKeyStoreHelper.cpo
C++ IOHibernateIO.cpo
CC  kdp_machdep.o
CC  kern_prot.o
CC  kdp_vm.o
CC  IOHibernateRestoreKernel.o
CC  kdp_x86_common.o
CC  kern_resource.o
CC  hibernate_i386.o
AS  IOSharedLock.o
AS  IOAsmSupport.o
LDFILELIST iokit
CC  hibernate_restore.o
CC  device_tree.o
CC  kern_shutdown.o
CC  bootargs.o
CC  chud_osfmk_callback_i386.o
CC  pe_gen.o
CC  pe_init.o
CC  chud_cpu_i386.o
CC  pe_bootargs.o
CC  chud_thread_i386.o
CC  pe_identify_machine.o
CC  kern_sig.o
CC  pe_kprintf.o
CC  pe_interrupt.o
CC  pe_serial.o
LDFILELIST pexpert
CC  kern_subr.o
CC  ucode.o
CC  vmx_cpu.o
CC  kern_synch.o
CC  vmx_shims.o
CC  kern_sysctl.o
CC  hv_support.o
CC  kperf_mp.o
CC  kern_newsysctl.o
CC  kperf_meminfo.o
CC  kpc_x86.o
CC  kern_memorystatus.o
CC  startup64.o
CC  kern_mib.o
[] startup64.o  ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -g)
CC  panic_hooks.o
CC  kpi_mbuf.o
CC  gssd_mach.o
CC  lockd_mach.o
CC  kextd_mach.o
CC  UNDRequest.o
CC  UNDReplyServer.o
CC  KUNCUserNotifications.o
CC  kern_sfi.o
CC  OSRuntimeSupport.o
C++ OSSerialize.cpo
CC  kdp.o
C++ OSSet.cpo
CC  kern_time.o
C++ OSString.cpo
C++ OSSymbol.cpo
CC  kern_stackshot.o
C++ OSUnserialize.cpo
CC  kern_xxx.o
C++ OSUnserializeXML.cpo
CC  mach_process.o
C++ OSSerializeBinary.cpo
CC  mcache.o
C++ OSKextLib.cpo
CC  mkext.o
CC  OSKextVersion.o
CC  inet_aton.o
CC  inet_ntoa.o
CC  spl.o
CC  stackshot.o
CC  inet_ntop.o
CC  kdp_udp.o
CC  inet_pton.o
CC  subr_log.o
/Users/shane/Desktop/xnu-3789.1.32/bsd/kern/subr_log.c:75:10: fatal error: 'os/firehose_buffer_private.h' file not found
#include <os/firehose_buffer_private.h>
         ^
1 error generated.
make[7]: *** [subr_log.o] Error 1
make[6]: *** [build_all] Error 2
make[5]: *** [do_all] Error 2
make[4]: *** [build_all] Error 2
make[3]: *** [build_all_recurse_into_conf] Error 2
make[2]: *** [build_all_recurse_into_bsd] Error 2
make[2]: *** Waiting for unfinished jobs....
CC  scanf.o
CC  kdp_core.o
CC  uuid.o
CC  log.o
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:43:8: error: unknown type name 'firehose_buffer_chunk_t'; did you mean 'firehose_buffer_t'?
extern firehose_buffer_chunk_t firehose_boot_chunk;
       ^~~~~~~~~~~~~~~~~~~~~~~
       firehose_buffer_t
/Users/shane/Desktop/xnu-3789.1.32/libkern/firehose/firehose_types_private.h:226:34: note: 'firehose_buffer_t' declared here
typedef union firehose_buffer_u *firehose_buffer_t;
                                 ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:404:48: error: incomplete definition of type 'struct firehose_buffer_chunk_s'
                        sizeof(((struct firehose_buffer_chunk_s *)0)->fbc_data);
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:404:20: note: forward declaration of 'struct firehose_buffer_chunk_s'
                        sizeof(((struct firehose_buffer_chunk_s *)0)->fbc_data);
                                        ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:429:7: error: implicit declaration of function '__firehose_buffer_tracepoint_reserve' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        ft = __firehose_buffer_tracepoint_reserve(stamp, stream, (uint16_t)publen, 0, NULL);
             ^
CC  kdp_serial.o
CC  ipc_entry.o
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:442:3: error: unknown type name 'firehose_buffer_chunk_t'; did you mean 'firehose_buffer_t'?
                firehose_buffer_chunk_t fbc = firehose_boot_chunk;
                ^~~~~~~~~~~~~~~~~~~~~~~
                firehose_buffer_t
/Users/shane/Desktop/xnu-3789.1.32/libkern/firehose/firehose_types_private.h:226:34: note: 'firehose_buffer_t' declared here
typedef union firehose_buffer_u *firehose_buffer_t;
                                 ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:445:8: error: implicit declaration of function '__firehose_buffer_tracepoint_reserve_with_chunk' is invalid
      in C99 [-Werror,-Wimplicit-function-declaration]
                ft = __firehose_buffer_tracepoint_reserve_with_chunk(fbc, stamp, firehose_stream_persist, publen, 0, NULL);
                     ^
CC  object.o
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:445:8: note: did you mean '__firehose_buffer_tracepoint_reserve'?
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:429:7: note: '__firehose_buffer_tracepoint_reserve' declared here
        ft = __firehose_buffer_tracepoint_reserve(stamp, stream, (uint16_t)publen, 0, NULL);
             ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:452:4: error: implicit declaration of function '__firehose_buffer_tracepoint_flush_chunk' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
                        __firehose_buffer_tracepoint_flush_chunk(fbc, ft, ftid);
                        ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:452:4: note: did you mean '__firehose_buffer_tracepoint_reserve'?
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:429:7: note: '__firehose_buffer_tracepoint_reserve' declared here
        ft = __firehose_buffer_tracepoint_reserve(stamp, stream, (uint16_t)publen, 0, NULL);
             ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:462:2: error: implicit declaration of function '__firehose_buffer_tracepoint_flush' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        __firehose_buffer_tracepoint_flush(ft, ftid);
        ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:462:2: note: did you mean '__firehose_buffer_tracepoint_flush_chunk'?
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:452:4: note: '__firehose_buffer_tracepoint_flush_chunk' declared here
                        __firehose_buffer_tracepoint_flush_chunk(fbc, ft, ftid);
                        ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:578:9: error: unknown type name 'firehose_buffer_chunk_t'; did you mean 'firehose_buffer_t'?
        firehose_buffer_chunk_t kernel_buffer = (firehose_buffer_chunk_t)kernel_firehose_addr;
        ^~~~~~~~~~~~~~~~~~~~~~~
        firehose_buffer_t
/Users/shane/Desktop/xnu-3789.1.32/libkern/firehose/firehose_types_private.h:226:34: note: 'firehose_buffer_t' declared here
typedef union firehose_buffer_u *firehose_buffer_t;
                                 ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:578:50: error: use of undeclared identifier 'firehose_buffer_chunk_t'
        firehose_buffer_chunk_t kernel_buffer = (firehose_buffer_chunk_t)kernel_firehose_addr;
                                                 ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:589:28: error: incomplete definition of type 'union firehose_buffer_u'
        firehose_boot_chunk->fbc_pos.fbc_refcnt = 0;
        ~~~~~~~~~~~~~~~~~~~^
/Users/shane/Desktop/xnu-3789.1.32/libkern/firehose/firehose_types_private.h:226:15: note: forward declaration of 'union firehose_buffer_u'
typedef union firehose_buffer_u *firehose_buffer_t;
              ^
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:590:31: error: use of undeclared identifier 'FIREHOSE_BUFFER_KERNEL_CHUNK_COUNT'
        memcpy(&kernel_buffer[FIREHOSE_BUFFER_KERNEL_CHUNK_COUNT - 1], (const void *)firehose_boot_chunk, FIREHOSE_BUFFER_CHUNK_SIZE);
                              ^
CC  ipc_hash.o
/Users/shane/Desktop/xnu-3789.1.32/libkern/os/log.c:590:107: error: use of undeclared identifier 'FIREHOSE_BUFFER_CHUNK_SIZE'
        memcpy(&kernel_buffer[FIREHOSE_BUFFER_KERNEL_CHUNK_COUNT - 1], (const void *)firehose_boot_chunk, FIREHOSE_BUFFER_CHUNK_SIZE);
                                                                                                          ^
12 errors generated.
make[7]: *** [log.o] Error 1
make[6]: *** [build_all] Error 2
make[5]: *** [do_all] Error 2
make[4]: *** [build_all] Error 2
make[3]: *** [build_all_recurse_into_conf] Error 2
make[2]: *** [build_all_recurse_into_libkern] Error 2
CC  ipc_importance.o
CC  ipc_init.o
CC  ipc_kmsg.o
CC  ipc_mqueue.o
CC  ipc_notify.o
CC  ipc_object.o
CC  ipc_port.o
CC  ipc_pset.o
CC  ipc_right.o
CC  ipc_space.o
CC  ipc_table.o
CC  ipc_voucher.o
CC  mach_debug.o
CC  mach_kernelrpc.o
CC  mach_msg.o
CC  mach_port.o
CC  affinity.o
CC  ast.o
CC  audit_sessionport.o
CC  backtrace.o
CC  btlog.o
CC  build_config.o
CC  clock.o
CC  clock_oldops.o
CC  coalition.o
CC  counters.o
[] counters.o  ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -g)
CC  debug.o
CC  energy_perf.o
CC  exception.o
CC  extmod_statistics.o
CC  host.o
CC  host_notify.o
CC  ipc_clock.o
CC  ipc_host.o
CC  ipc_kobject.o
CC  ipc_mig.o
CC  ipc_misc.o
CC  ipc_sync.o
CC  ipc_tt.o
CC  kalloc.o
CC  ktrace_background_notify.o
CC  ledger.o
CC  locks.o
CC  ltable.o
CC  machine.o
CC  mach_node.o
CC  mk_sp.o
CC  mk_timer.o
CC  page_decrypt.o
CC  printf.o
CC  priority.o
CC  processor.o
CC  processor_data.o
CC  sched_average.o
CC  sched_dualq.o
CC  sched_prim.o
CC  sched_traditional.o
CC  sched_multiq.o
CC  sfi.o
CC  stack.o
CC  startup.o
CC  sync_lock.o
CC  sync_sema.o
CC  syscall_emulation.o
CC  syscall_subr.o
CC  syscall_sw.o
CC  sysdiagnose.o
CC  task.o
CC  task_policy.o
CC  task_swap.o
CC  thread.o
CC  thread_act.o
CC  thread_call.o
CC  thread_policy.o
CC  timer.o
CC  timer_call.o
CC  waitq.o
CC  zalloc.o
CC  gzalloc.o
CC  bsd_kern.o
CC  hibernate.o
CC  clock_server.o
CC  clock_priv_server.o
CC  clock_reply_user.o
CC  exc_user.o
CC  exc_server.o
CC  host_priv_server.o
CC  host_security_server.o
CC  ktrace_background_user.o
CC  lock_set_server.o
CC  mach_exc_user.o
CC  mach_exc_server.o
CC  mach_host_server.o
CC  mach_notify_user.o
CC  mach_port_server.o
CC  mach_vm_server.o
CC  mach_voucher_server.o
CC  mach_voucher_attr_control_server.o
CC  memory_object_control_server.o
CC  resource_notify_user.o
CC  upl_server.o
CC  audit_triggers_user.o
CC  task_access_user.o
CC  corpse.o
CC  kern_cdata.o
CC  telemetry_notification_user.o
CC  bank.o
CC  atm.o
CC  atm_notification_user.o
CC  ipc_pthread_priority.o
CC  coalition_notification_user.o
CC  sysdiagnose_notification_user.o
CC  processor_server.o
CC  processor_set_server.o
CC  task_server.o
CC  thread_act_server.o
CC  vm32_map_server.o
CC  bsd_vm.o
CC  vm_compressor.o
CC  vm_compressor_pager.o
CC  vm_compressor_backing_store.o
CC  vm_compressor_algorithms.o
CC  lz4.o
CC  vm_phantom_cache.o
CC  device_vm.o
CC  memory_object.o
CC  vm_debug.o
CC  vm_fault.o
CC  vm_init.o
CC  vm_kern.o
CC  vm_map.o
CC  vm_map_store.o
CC  vm_map_store_ll.o
CC  vm_map_store_rb.o
CC  vm_object.o
CC  vm_pageout.o
CC  vm_purgeable.o
CC  vm_resident.o
CC  vm_shared_region.o
CC  vm_swapfile_pager.o
CC  vm_user.o
CC  vm32_user.o
CC  iokit_rpc.o
CC  device_server.o
CC  device_init.o
CC  kext_alloc.o
CC  kmod.o
CC  subrs.o
CC  chud_cpu.o
CC  chud_glue.o
CC  chud_memory.o
CC  chud_osfmk_callback.o
CC  chud_thread.o
CC  kperf.o
CC  action.o
CC  callstack.o
CC  pet.o
CC  thread_samplers.o
CC  task_samplers.o
CC  meminfo.o
CC  kperf_timer.o
CC  kperf_kpc.o
CC  kdebug_trigger.o
CC  kpc_thread.o
CC  kpc_common.o
CC  serial_general.o
CC  serial_console.o
CC  video_scroll.o
CC  video_console.o
CC  telemetry.o
CC  cc_clear.o
CC  cc_cmp_safe.o
CC  cc_abort.o
CC  ccdrbg_nisthmac.o
CC  ccdigest_init.o
CC  ccdigest_update.o
CC  cchmac.o
CC  cchmac_init.o
CC  cchmac_update.o
CC  cchmac_final.o
CC  ccdigest_final_64be.o
CC  ccsha1_eay.o
CC  ccsha1_initial_state.o
CC  random.o
CC  prng_yarrow.o
CC  fips_sha1.o
CC  smf.o
CC  comp.o
CC  prng.o
CC  sha1mod.o
CC  yarrowUtils.o
CC  vm_apple_protect.o
CC  pmap.o
CC  pmap_x86_common.o
CC  pmap_common.o
CC  pmap_pcid.o
CC  pal_routines.o
AS  pal_routines_asm.o
AS  start.o
AS  bcopy.o
AS  bzero.o
AS  WKdmDecompress_new.o
AS  WKdmCompress_new.o
AS  WKdmData_new.o
AS  lz4_decode_x86_64.o
AS  i386_lock.o
AS  locore.o
AS  cswitch.o
AS  machine_routines_asm.o
AS  commpage_asm.o
AS  fifo_queues.o
AS  idt64.o
LDFILELIST osfmk
make[1]: *** [build_all_bootstrap_RELEASE^X86_64^NONE] Error 2
make: *** [all] Error 2
Shanes-Mac-Pro:xnu-3789.1.32 shane$ 
I think the issue is either Apple rushed and forgot it or the required dependencies aren't ready yet as old ones aren't enough. (dtrace and AvailabilityVersions)

All I can currently do it migrate the AMD patches so they are ready. I'll keep you all updated :thumbup:

 Advertising

User avatar
by: darklord42
#7927
Someone on the insanely mac forum thread mentioned that looking at the sierra code might actually shed some light to the "El Captain" FX problem. Is there any truth to that now that it's out?
User avatar
by: Shaneee
#7934
Hard to tell until we have some test kernels. If there is no bug present on FX we can look into it more.
User avatar
by: darklord42
#7960
Oh I see what you mean. I actually was wondering how the source code to sierra could possibly help XD.
User avatar
by: Shaneee
#8239
Update for you guys. We've managed to build a Sierra kernel with the AMD patches. One user has managed to boot the installer but it won't boot the installed system. Everyone one else is either receiving an opcode error loop or an instant reboot. When there is some more info I'll update here :thumbup:
User avatar
by: jacfen123
#8401
Where can I get the kernel? I would like to give it a try.
User avatar
by: Shaneee
#8408
jacfen123 wrote:Where can I get the kernel? I would like to give it a try.
You can give this one a try :thumbup:
Attachments
(3.98 MiB) Downloaded 48 times
User avatar
by: jacfen123
#8416
I going to make a USB right now. I'll report back what happens.
User avatar
by: Shaneee
#8417
Thanks. My Athlon either gets opcode error or halts as soon as verbose begins.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]