Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DKMS make.log for darling-mach-r3717.26e55e111 for kernel 5.18.3-arch1-1 (x86_64)
Thu 16 Jun 08:47:47 CEST 2022
Running kernel version is 5.18.3-arch1-1
rm -f darling-mach.mod.o
make -C /lib/modules/5.18.3-arch1-1/build M=/var/lib/dkms/darling-mach/r3717.26e55e111/build modules
make[1]: Entering directory '/usr/lib/modules/5.18.3-arch1-1/build'
Running kernel version is 5.18.3-arch1-1
Invoked by kernel build system, building for 5.18.3-arch1-1
CC [M] /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_entry.o
In file included from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/mach/port.h:90,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_entry.c:74:
/var/lib/dkms/darling-mach/r3717.26e55e111/build/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:16,
from ./arch/x86/include/asm/percpu.h:27,
from ./arch/x86/include/asm/current.h:6,
from ./arch/x86/include/asm/processor.h:17,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:67,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/module.h:13,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/duct/duct.h:50,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_entry.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 ./include/linux/string.h:253,
from ./include/linux/bitmap.h:11,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/cpumask.h:5,
from ./arch/x86/include/asm/msr.h:11,
from ./arch/x86/include/asm/processor.h:22:
./include/linux/fortify-string.h:358:63: error: expected identifier or ‘(’ before ‘{’ token
358 | p_size_field, q_size_field, op) ({ \
| ^
./include/linux/fortify-string.h:369:26: note: in expansion of macro ‘__fortify_memcpy_chk’
369 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/libsa/string.h:63:18: note: in expansion of macro ‘memcpy’
63 | extern void *memcpy(void *, const void *, size_t);
| ^~~~~~
./include/linux/fortify-string.h:358:63: error: expected identifier or ‘(’ before ‘{’ token
358 | p_size_field, q_size_field, op) ({ \
| ^
./include/linux/fortify-string.h:373:27: note: in expansion of macro ‘__fortify_memcpy_chk’
373 | #define memmove(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/libsa/string.h:65:18: note: in expansion of macro ‘memmove’
65 | extern void *memmove(void *, const void *, size_t);
| ^~~~~~~
./include/linux/fortify-string.h:115:9: error: expected identifier or ‘(’ before ‘__builtin_choose_expr’
115 | __builtin_choose_expr(__is_constexpr(__builtin_strlen(p)), \
| ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/libsa/string.h:69:17: note: in expansion of macro ‘strlen’
69 | extern size_t strlen(const char *);
| ^~~~~~
In file included from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/kern/debug.h:36,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/mach/vm_param.h:260,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/mach/mach_types.h:115,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/kern/clock.h:38,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/kern/sched_prim.h:72,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_entry.c:76:
/var/lib/dkms/darling-mach/r3717.26e55e111/build/EXTERNAL_HEADERS/stdarg.h:33: warning: "va_start" redefined
33 | #define va_start(ap, param) __builtin_va_start(ap, param)
|
In file included from ./include/linux/kernel.h:14:
./include/linux/stdarg.h:6: note: this is the location of the previous definition
6 | #define va_start(v, l) __builtin_va_start(v, l)
|
/var/lib/dkms/darling-mach/r3717.26e55e111/build/EXTERNAL_HEADERS/stdarg.h:34: warning: "va_end" redefined
34 | #define va_end(ap) __builtin_va_end(ap)
|
./include/linux/stdarg.h:7: note: this is the location of the previous definition
7 | #define va_end(v) __builtin_va_end(v)
|
/var/lib/dkms/darling-mach/r3717.26e55e111/build/EXTERNAL_HEADERS/stdarg.h:35: warning: "va_arg" redefined
35 | #define va_arg(ap, type) __builtin_va_arg(ap, type)
|
./include/linux/stdarg.h:8: note: this is the location of the previous definition
8 | #define va_arg(v, T) __builtin_va_arg(v, T)
|
/var/lib/dkms/darling-mach/r3717.26e55e111/build/EXTERNAL_HEADERS/stdarg.h:43: warning: "va_copy" redefined
43 | #define va_copy(dest, src) __builtin_va_copy(dest, src)
|
./include/linux/stdarg.h:9: note: this is the location of the previous definition
9 | #define va_copy(d, s) __builtin_va_copy(d, s)
|
In file included from /var/lib/dkms/darling-mach/r3717.26e55e111/build/bsd/sys/event.h:674,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_mqueue.h:82,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_port.h:91,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/kern/task.h:126,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/kern/thread.h:122,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/kern/sched_prim.h:74:
/var/lib/dkms/darling-mach/r3717.26e55e111/build/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:700,
from /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/duct/duct.h:55:
./include/uapi/linux/fcntl.h:99: note: this is the location of the previous definition
99 | #define AT_EACCESS 0x200 /* Test access permitted for
|
make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/darling-mach/r3717.26e55e111/build/osfmk/ipc/ipc_entry.o] Error 1
make[1]: *** [Makefile:1834: /var/lib/dkms/darling-mach/r3717.26e55e111/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.18.3-arch1-1/build'
make: *** [Makefile:618: default] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment