Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [user@Pavilion build (master)]$ make lkm > builderrors.txt
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- clang-11: warning: argument unused during compilation: '-arch i386' [-Wunused-command-line-argument]
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:34:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:30:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:38:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:30:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:37:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_reference’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:353:2: note: in expansion of macro ‘ipc_importance_reference_internal’
- 353 | ipc_importance_reference_internal(elem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_task_delayed_drop’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:142:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 142 | (ipc_importance_reference_internal(&(task_imp)->iit_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:1051:3: note: in expansion of macro ‘ipc_importance_task_reference_internal’
- 1051 | ipc_importance_task_reference_internal(task_imp);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_task_propagate_assertion_locked’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:142:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 142 | (ipc_importance_reference_internal(&(task_imp)->iit_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:1157:6: note: in expansion of macro ‘ipc_importance_task_reference_internal’
- 1157 | ipc_importance_task_reference_internal(temp_task_imp);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_for_task’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:142:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 142 | (ipc_importance_reference_internal(&(task_imp)->iit_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:1948:5: note: in expansion of macro ‘ipc_importance_task_reference_internal’
- 1948 | ipc_importance_task_reference_internal(task_elem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:142:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 142 | (ipc_importance_reference_internal(&(task_imp)->iit_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:1952:4: note: in expansion of macro ‘ipc_importance_task_reference_internal’
- 1952 | ipc_importance_task_reference_internal(task_elem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_send’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:2633:2: note: in expansion of macro ‘ipc_importance_reference_internal’
- 2633 | ipc_importance_reference_internal(elem);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_inherit_from_kmsg’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:142:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 142 | (ipc_importance_reference_internal(&(task_imp)->iit_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:2838:3: note: in expansion of macro ‘ipc_importance_task_reference_internal’
- 2838 | ipc_importance_task_reference_internal(task_imp);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:175:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 175 | (ipc_importance_reference_internal(&(inherit)->iii_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:2875:4: note: in expansion of macro ‘ipc_importance_inherit_reference_internal’
- 2875 | ipc_importance_inherit_reference_internal(inherit);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_inherit_from_task’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:98:45: warning: value computed is not used [-Wunused-value]
- 98 | (os_atomic_inc(&(elem)->iie_bits, relaxed) & IIE_REFS_MASK)
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.h:175:3: note: in expansion of macro ‘ipc_importance_reference_internal’
- 175 | (ipc_importance_reference_internal(&(inherit)->iii_elem))
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:3082:3: note: in expansion of macro ‘ipc_importance_inherit_reference_internal’
- 3082 | ipc_importance_inherit_reference_internal(inherit);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c: In function ‘ipc_importance_manager_release’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.c:3841:1: warning: ‘noreturn’ function does return
- 3841 | }
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_delayed_drop() falls through to next function ipc_importance_manager_release()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_extract_content() falls through to next function ipc_importance_inherit_link.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_inherit_link() falls through to next function ipc_importance_kmsg_link.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_kmsg_link() falls through to next function ipc_importance_task_check_transition.part.0.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_check_transition.part.0() falls through to next function ipc_importance_task_propagate_helper.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_propagate_helper() falls through to next function ipc_importance_release_locked.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_release_locked() falls through to next function ipc_importance_task_process_updates.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_process_updates() falls through to next function ipc_importance_task_propagate_assertion_locked.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_propagate_assertion_locked() falls through to next function ipc_importance_reset_locked.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_reset_locked() falls through to next function ipc_importance_command.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_command() falls through to next function ipc_importance_release_value.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_release_value() falls through to next function ipc_importance_reference.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_reference() falls through to next function ipc_importance_task_reference.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_reference() falls through to next function ipc_importance_task_hold_legacy_external_assertion.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_hold_legacy_external_assertion() falls through to next function ipc_importance_task_drop_legacy_external_assertion.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_drop_legacy_external_assertion() falls through to next function ipc_importance_task_update_live_donor.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_update_live_donor() falls through to next function ipc_importance_task_mark_donor.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_mark_donor() falls through to next function ipc_importance_task_mark_live_donor.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_mark_live_donor() falls through to next function ipc_importance_task_mark_receiver.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_mark_receiver() falls through to next function ipc_importance_task_mark_denap_receiver.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_task_mark_denap_receiver() falls through to next function ipc_importance_for_task.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_for_task() falls through to next function ipc_importance_get_value.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_get_value() falls through to next function ipc_importance_disconnect_task.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_disconnect_task() falls through to next function ipc_importance_exec_switch_task.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_exec_switch_task() falls through to next function ipc_importance_check_circularity.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_check_circularity() falls through to next function ipc_importance_send.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_send() falls through to next function ipc_importance_receive.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_receive() falls through to next function ipc_importance_unreceive.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_unreceive() falls through to next function ipc_importance_clean.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_clean() falls through to next function ipc_importance_assert_clean.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: .text.unlikely: unexpected end of section
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_importance.o: warning: objtool: ipc_importance_manager_release() falls through to next function ipc_importance_extract_content.cold()
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:78:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:74:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/ipc_kobject.h:74,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:90:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:74:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:148:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c: In function ‘ipc_kmsg_get’:
- /home/user/Downloads/darling/src/external/lkm/darling/debug_print.h:29:55: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘mach_port_t’ {aka ‘struct ipc_port *’} [-Wformat=]
- 29 | # define debug_msg(fmt, ...) if (debug_output) printk("\0015Darling Mach: <%d> " fmt, linux_current->pid, ##__VA_ARGS__)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:1671:2: note: in expansion of macro ‘debug_msg’
- 1671 | debug_msg("- ikm_header->msgh_size: %d, bits: 0x%x rport: 0x%x, lport: 0x%x, reserved: 0x%x, id: %d\n",
- | ^~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/darling/debug_print.h:29:55: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘mach_port_t’ {aka ‘struct ipc_port *’} [-Wformat=]
- 29 | # define debug_msg(fmt, ...) if (debug_output) printk("\0015Darling Mach: <%d> " fmt, linux_current->pid, ##__VA_ARGS__)
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:1671:2: note: in expansion of macro ‘debug_msg’
- 1671 | debug_msg("- ikm_header->msgh_size: %d, bits: 0x%x rport: 0x%x, lport: 0x%x, reserved: 0x%x, id: %d\n",
- | ^~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c: In function ‘ipc_kmsg_send’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.c:1911:1: warning: label ‘retry’ defined but not used [-Wunused-label]
- 1911 | retry:
- | ^~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_clean_body.part.0() falls through to next function ipc_kmsg_free.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_free() falls through to next function ipc_kmsg_rmqueue.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_rmqueue() falls through to next function ipc_kmsg_queue_next.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_queue_next() falls through to next function ipc_kmsg_clean_partial.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_clean_partial() falls through to next function ipc_kmsg_clean.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_clean() falls through to next function ipc_kmsg_set_prealloc.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_set_prealloc() falls through to next function ipc_kmsg_clear_prealloc.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_clear_prealloc() falls through to next function ipc_kmsg_get.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_get_from_kernel() falls through to next function ipc_kmsg_send.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_send() falls through to next function ipc_kmsg_copyin_header.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_copyin_header() falls through to next function ipc_kmsg_copyin.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_copyin_from_kernel() falls through to next function ipc_kmsg_copyout_header.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_copyout_header() falls through to next function ipc_kmsg_copyout_ool_descriptor.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_copyout_ool_descriptor() falls through to next function ipc_kmsg_copyout_pseudo.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_copyout_pseudo() falls through to next function ipc_kmsg_copyout_dest.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: ipc_kmsg_copyout_dest() falls through to next function ipc_kmsg_copyout_to_kernel.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_kmsg.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/port.h:90,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_notify.c:71:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_notify.c:67:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_notify.c:76:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_notify.c:67:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/port.h:90,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.c:80:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.c:73:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/ipc_kobject.h:74,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.c:82:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.c:73:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_importance_delta_internal.part.0() falls through to next function ipc_port_release_send.part.0.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_release_send.part.0() falls through to next function ipc_port_request_alloc.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_request_alloc() falls through to next function ipc_port_request_grow.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_request_grow() falls through to next function ipc_port_request_sparm.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_request_sparm() falls through to next function ipc_port_request_type.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_request_type() falls through to next function ipc_port_request_cancel.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_request_cancel() falls through to next function ipc_port_clear_receiver.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_clear_receiver() falls through to next function ipc_port_dnnotify.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_dnnotify() falls through to next function ipc_port_send_update_inheritor.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_send_update_inheritor() falls through to next function ipc_port_send_turnstile_complete.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_send_turnstile_complete() falls through to next function ipc_port_adjust_special_reply_port_locked.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_adjust_special_reply_port_locked() falls through to next function ipc_port_destroy.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_destroy() falls through to next function ipc_port_adjust_port_locked.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_adjust_port_locked() falls through to next function ipc_port_importance_delta.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_importance_delta() falls through to next function ipc_port_spnotify.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_spnotify() falls through to next function ipc_port_copy_send_locked.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_copy_send_locked() falls through to next function ipc_port_copy_send.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_copy_send() falls through to next function ipc_port_release_sonce.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_release_sonce() falls through to next function ipc_port_release_receive.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_release_receive() falls through to next function ipc_port_dealloc_special.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_dealloc_special() falls through to next function ipc_port_finalize.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: ipc_port_finalize() falls through to next function kdp_mqueue_send_find_owner.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: kdp_mqueue_send_find_owner() falls through to next function kdp_mqueue_recv_find_owner.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:34:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:30:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:38:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:30:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c: In function ‘ipc_get_pthpriority_from_kmsg_voucher’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:2642:2: warning: ISO C90 forbids variable length array ‘content_data’ [-Wvla]
- 2642 | uint8_t content_data[content_size];
- | ^~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c: In function ‘ipc_execute_voucher_recipe_command’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:1484:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
- 1484 | if (MACH_VOUCHER_ATTR_KEY_ALL == key) {
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.c:1528:2: note: here
- 1528 | default:
- | ^~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: user_data_release_value() falls through to next function user_data_extract_content.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: user_data_extract_content() falls through to next function user_data_get_value.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: user_data_get_value() falls through to next function iv_set.part.0()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ivace_lookup_values.part.0() falls through to next function user_data_command.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: user_data_command() falls through to next function ivgt_lookup.part.0.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ivgt_lookup.part.0() falls through to next function ipc_voucher_prepare_processing_recipe.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ipc_voucher_prepare_processing_recipe() falls through to next function ivace_reference_by_index.part.0.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ivace_reference_by_index.part.0() falls through to next function ivac_dealloc.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ivac_dealloc() falls through to next function ivace_release.part.0.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ivace_release.part.0() falls through to next function iv_dealloc.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: iv_dealloc() falls through to next function ipc_voucher_notify.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ipc_voucher_notify() falls through to next function convert_voucher_to_port.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: convert_voucher_to_port() falls through to next function ivace_reference_by_value.part.0.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ivace_reference_by_value.part.0() falls through to next function ipc_replace_voucher_value.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ipc_voucher_attr_control_notify() falls through to next function ipc_register_well_known_mach_voucher_attr_manager.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ipc_register_well_known_mach_voucher_attr_manager() falls through to next function mach_voucher_extract_attr_content.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: mach_voucher_extract_attr_content() falls through to next function mach_voucher_extract_attr_recipe.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: mach_voucher_extract_attr_recipe() falls through to next function mach_voucher_extract_all_attr_recipes.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: mach_voucher_extract_all_attr_recipes() falls through to next function iv_dedup.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: iv_dedup() falls through to next function mach_voucher_attr_control_get_values.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: mach_voucher_attr_control_get_values() falls through to next function ipc_get_pthpriority_from_kmsg_voucher.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ipc_get_pthpriority_from_kmsg_voucher() falls through to next function ipc_voucher_send_preprocessing.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: ipc_voucher_send_preprocessing() falls through to next function ipc_voucher_receive_postprocessing.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: .text.unlikely: unexpected end of section
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_voucher.o: warning: objtool: iv_set.part.0() falls through to next function ivace_lookup_values.part.0.cold()
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/port.h:90,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/vm_types.h:35,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/vm_param.h:75,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_debug.c:73:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_debug.c:67:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/ipc_kobject.h:74,
- from /home/user/Downloads/darling/build/src/external/lkm/osfmk/mach/mach_host_server.h:58,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_debug.c:76:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_debug.c:67:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_debug.o: warning: objtool: mach_port_space_info() falls through to next function mach_port_kobject.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_debug.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c:34:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c:30:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/ipc_kobject.h:74,
- from /home/user/Downloads/darling/build/src/external/lkm/osfmk/mach/mach_vm_server.h:58,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c:36:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c:30:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c: In function ‘host_create_mach_voucher_trap’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c:604:3: warning: ISO C90 forbids variable length array ‘krecipes’ [-Wvla]
- 604 | uint8_t krecipes[args->recipes_size];
- | ^~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c: In function ‘mach_voucher_extract_attr_recipe_trap’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.c:662:3: warning: ISO C90 forbids variable length array ‘krecipe’ [-Wvla]
- 662 | uint8_t krecipe[sz];
- | ^~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_kernelrpc.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_msg.c:78:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_msg.c:74:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/ipc_kobject.h:74,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_msg.c:89:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_msg.c:74:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_msg.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/port.h:90,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.c:80:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.c:74:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/task.h:126,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.c:87:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.c:74:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_names() falls through to next function mach_port_allocate_internal.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_allocate_internal() falls through to next function mach_port_get_refs.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_get_refs() falls through to next function mach_port_peek.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_get_set_status() falls through to next function mach_port_request_notification.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_request_notification() falls through to next function mach_port_set_attributes.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_set_attributes() falls through to next function mach_port_insert_member.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_insert_member() falls through to next function mach_port_extract_member.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_extract_member() falls through to next function mach_port_guard_ast.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: mach_port_guard_ast() falls through to next function mach_port_construct.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/mach_port.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/clock_oldops.c:45:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/clock_oldops.c:41:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/task.h:126,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/thread.h:122,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/sched_prim.h:74,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/clock_oldops.c:49:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/clock_oldops.c:41:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/clock_oldops.o: warning: objtool: alarm_expire() falls through to next function clock_sleep_trap.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/clock_oldops.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.c:64:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.c:60:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/task.h:126,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_space.h:89,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.c:80:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.c:60:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.c: In function ‘exception_deliver.part.0’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.c:393:1: warning: the frame size of 2504 bytes is larger than 2048 bytes [-Wframe-larger-than=]
- 393 | }
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.o: warning: objtool: exception_deliver() falls through to next function exception_triage_thread.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.o: warning: objtool: exception_triage_thread() falls through to next function bsd_exception.cold()
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/exception.o: warning: objtool: .text.unlikely: unexpected end of section
- In file included from /home/user/Downloads/darling/src/external/lkm/osfmk/mach/mach_types.h:76,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:70:
- /home/user/Downloads/darling/src/external/lkm/EXTERNAL_HEADERS/stdint.h:137: warning: "UINTPTR_MAX" redefined
- 137 | #define UINTPTR_MAX UINT64_MAX
- |
- In file included from ./include/linux/limits.h:7,
- from ./include/linux/kernel.h:7,
- from ./include/linux/list.h:9,
- from ./include/linux/module.h:12,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:50,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:66:
- ./include/vdso/limits.h:17: note: this is the location of the previous definition
- 17 | #define UINTPTR_MAX ULONG_MAX
- |
- In file included from /home/user/Downloads/darling/src/external/lkm/bsd/sys/event.h:674,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_mqueue.h:82,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/ipc/ipc_port.h:91,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/ipc_kobject.h:74,
- from /home/user/Downloads/darling/build/src/external/lkm/osfmk/mach/mach_host_server.h:58,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:80:
- /home/user/Downloads/darling/src/external/lkm/bsd/sys/fcntl.h:145: warning: "AT_EACCESS" redefined
- 145 | #define AT_EACCESS 0x0010 /* Use effective ids in access check */
- |
- In file included from ./include/linux/fcntl.h:6,
- from ./include/linux/fs.h:26,
- from ./include/linux/huge_mm.h:8,
- from ./include/linux/mm.h:687,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/duct/duct.h:55,
- from /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:66:
- ./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
- 99 | #define AT_EACCESS 0x200 /* Test access permitted for
- |
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c: In function ‘host_statistics64’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:894:23: warning: assignment to ‘natural_t’ {aka ‘unsigned int’} from ‘long unsigned int (*)(void)’ makes integer from pointer without a cast [-Wint-conversion]
- 894 | stat->active_count = totalram_pages - stat->free_count;
- | ^
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c: In function ‘host_get_special_port’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:1489:1: warning: label ‘get_special_port’ defined but not used [-Wunused-label]
- 1489 | get_special_port:
- | ^~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c: In function ‘host_set_multiuser_config_flags’:
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:1562:2: error: implicit declaration of function ‘commpage_update_multiuser_config’; did you mean ‘commpage_update_active_cpus’? [-Werror=implicit-function-declaration]
- 1562 | commpage_update_multiuser_config(multiuser_config | kIsMultiUserDevice);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | commpage_update_active_cpus
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:1562:54: error: ‘kIsMultiUserDevice’ undeclared (first use in this function)
- 1562 | commpage_update_multiuser_config(multiuser_config | kIsMultiUserDevice);
- | ^~~~~~~~~~~~~~~~~~
- /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.c:1562:54: note: each undeclared identifier is reported only once for each function it appears in
- cc1: some warnings being treated as errors
- make[6]: *** [scripts/Makefile.build:280: /home/user/Downloads/darling/src/external/lkm/osfmk/kern/host.o] Error 1
- make[5]: *** [Makefile:1810: /home/user/Downloads/darling/src/external/lkm] Error 2
- make[4]: *** [Makefile:615: default] Error 2
- make[3]: *** [src/external/lkm/CMakeFiles/lkm.dir/build.make:77: src/external/lkm/CMakeFiles/lkm] Error 2
- make[2]: *** [CMakeFiles/Makefile2:61589: src/external/lkm/CMakeFiles/lkm.dir/all] Error 2
- make[1]: *** [CMakeFiles/Makefile2:61596: src/external/lkm/CMakeFiles/lkm.dir/rule] Error 2
- make: *** [Makefile:20151: lkm] Error 2
Add Comment
Please, Sign In to add comment