Script started on Wed 19 Mar 2014 03:23:50 PM CET scan-build: Using '/usr/bin/clang' for static analysis make all-recursive make[1]: Entering directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' make[2]: Entering directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' GEN vm/memory_object_user.user.defs.c GEN vm/memory_object_default.user.defs.c GEN device/device_reply.user.defs.c GEN device/memory_object_reply.user.defs.c GEN device/device.server.defs.c GEN device/device_pager.server.defs.c GEN ipc/mach_port.server.defs.c GEN kern/mach.server.defs.c GEN kern/mach4.server.defs.c GEN kern/gnumach.server.defs.c GEN kern/mach_debug.server.defs.c GEN kern/mach_host.server.defs.c GEN i386/i386/mach_i386.server.defs.c CC vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o In file included from vm/memory_object_user.user.defs.c:28: ../include/mach/memory_object.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/memory_object.defs:35:14: error: expected ';' after top level declarator KernelUser ^ ; In file included from vm/memory_object_user.user.defs.c:28: In file included from ../include/mach/memory_object.defs:42: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG vm/memory_object_user.user.h CC vm/lib_dep_tr_for_defs_a-memory_object_default.user.defs.o In file included from vm/memory_object_default.user.defs.c:28: ../include/mach/memory_object_default.defs:34:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/memory_object_default.defs:36:14: error: expected ';' after top level declarator KernelUser ^ ; In file included from vm/memory_object_default.user.defs.c:28: In file included from ../include/mach/memory_object_default.defs:40: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG vm/memory_object_default.user.h CC device/lib_dep_tr_for_defs_a-device_reply.user.defs.o In file included from device/device_reply.user.defs.c:27: ../include/device/device_reply.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/device/device_reply.defs:35:14: error: expected ';' after top level declarator KernelUser ^ ; In file included from device/device_reply.user.defs.c:27: In file included from ../include/device/device_reply.defs:46: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/device_reply.user.h CC device/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.o In file included from device/memory_object_reply.user.defs.c:27: ../include/mach/mach.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach.defs:35:14: error: expected ';' after top level declarator KernelUser ^ ; ../include/mach/mach.defs:43:1: error: unknown type name 'userprefix' userprefix r_; ^ In file included from device/memory_object_reply.user.defs.c:27: In file included from ../include/mach/mach.defs:46: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/memory_object_reply.user.h CC device/lib_dep_tr_for_defs_a-device.server.defs.o In file included from device/device.server.defs.c:27: ../include/device/device.defs:35:1: error: unknown type name 'subsystem' subsystem ^ ../include/device/device.defs:37:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from device/device.server.defs.c:27: In file included from ../include/device/device.defs:41: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/device.server.h CC device/lib_dep_tr_for_defs_a-device_pager.server.defs.o In file included from device/device_pager.server.defs.c:44: ../include/mach/memory_object.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/memory_object.defs:38:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from device/device_pager.server.defs.c:44: In file included from ../include/mach/memory_object.defs:42: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/device_pager.server.h CC ipc/lib_dep_tr_for_defs_a-mach_port.server.defs.o In file included from ipc/mach_port.server.defs.c:27: ../include/mach/mach_port.defs:38:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach_port.defs:40:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from ipc/mach_port.server.defs.c:27: In file included from ../include/mach/mach_port.defs:44: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG ipc/mach_port.server.h CC kern/lib_dep_tr_for_defs_a-mach.server.defs.o In file included from kern/mach.server.defs.c:40: ../include/mach/mach.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach.defs:38:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach.server.defs.c:40: In file included from ../include/mach/mach.defs:46: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach.server.h CC kern/lib_dep_tr_for_defs_a-mach4.server.defs.o In file included from kern/mach4.server.defs.c:32: ../include/mach/mach4.defs:30:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach4.defs:32:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach4.server.defs.c:32: In file included from ../include/mach/mach4.defs:39: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach4.server.h CC kern/lib_dep_tr_for_defs_a-gnumach.server.defs.o In file included from kern/gnumach.server.defs.c:23: ../include/mach/gnumach.defs:19:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/gnumach.defs:21:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/gnumach.server.defs.c:23: In file included from ../include/mach/gnumach.defs:28: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/gnumach.server.h CC kern/lib_dep_tr_for_defs_a-mach_debug.server.defs.o In file included from kern/mach_debug.server.defs.c:26: ../include/mach_debug/mach_debug.defs:30:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach_debug/mach_debug.defs:32:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach_debug.server.defs.c:26: In file included from ../include/mach_debug/mach_debug.defs:36: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach_debug.server.h CC kern/lib_dep_tr_for_defs_a-mach_host.server.defs.o In file included from kern/mach_host.server.defs.c:37: ../include/mach/mach_host.defs:37:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach_host.defs:39:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach_host.server.defs.c:37: In file included from ../include/mach/mach_host.defs:47: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach_host.server.h CC i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o In file included from i386/i386/mach_i386.server.defs.c:27: ./mach/machine/mach_i386.defs:30:1: error: unknown type name 'subsystem' subsystem ^ ./mach/machine/mach_i386.defs:32:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from i386/i386/mach_i386.server.defs.c:27: In file included from ./mach/machine/mach_i386.defs:36: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG i386/i386/mach_i386.server.h AWK i386/i386/i386asm.symc CC i386/i386/i386asm.symc.o GEN i386/i386/i386asm.h CC ddb/db_access.o CC ddb/db_aout.o CC ddb/db_break.o CC ddb/db_command.o ../ddb/db_command.c:271:6: warning: Function call argument is an uninitialized value (*cmd->fcn)(addr, have_addr, count, modif); ^ ~~~~ 1 warning generated. CC ddb/db_cond.o ../ddb/db_cond.c:80:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(TRUE); ^ ../ddb/db_cond.c:90:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(TRUE); ^ ../ddb/db_cond.c:93:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(FALSE); ^ ../ddb/db_cond.c:101:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(db_exec_cmd_nest(0, 0)); ^ ../ddb/db_cond.c:103:2: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(TRUE); ^ 5 warnings generated. CC ddb/db_examine.o CC ddb/db_expr.o CC ddb/db_ext_symtab.o CC ddb/db_input.o CC ddb/db_lex.o CC ddb/db_macro.o CC ddb/db_mp.o CC ddb/db_output.o CC ddb/db_print.o CC ddb/db_run.o CC ddb/db_sym.o ../ddb/db_sym.c:417:2: warning: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'stab') X_db_symbol_values(stab, sym, &name, &value); ^ ~~~~ ../ddb/db_sym.h:231:42: note: expanded from macro 'X_db_symbol_values' #define X_db_symbol_values(s,p,n,v) x_db[(s)->type].symbol_values(s,p,n,v) ^ 1 warning generated. CC ddb/db_task_thread.o CC ddb/db_trap.o CC ddb/db_variables.o CC ddb/db_watch.o CC ddb/db_write_cmd.o CC ipc/ipc_entry.o CC ipc/ipc_hash.o CC ipc/ipc_init.o CC ipc/ipc_kmsg.o CC ipc/ipc_marequest.o CC ipc/ipc_mqueue.o CC ipc/ipc_notify.o CC ipc/ipc_object.o CC ipc/ipc_port.o CC ipc/ipc_pset.o CC ipc/ipc_right.o CC ipc/ipc_space.o CC ipc/ipc_splay.o CC ipc/ipc_table.o CC ipc/ipc_target.o CC ipc/ipc_thread.o CC ipc/mach_msg.o CC ipc/mach_port.o CC ipc/mach_rpc.o CC ipc/mach_debug.o CC kern/act.o CC kern/ast.o CC kern/bootstrap.o CC kern/counters.o CC kern/debug.o CC kern/eventcount.o CC kern/exception.o CC kern/host.o CC kern/ipc_host.o CC kern/ipc_kobject.o CC kern/ipc_mig.o CC kern/ipc_sched.o CC kern/ipc_tt.o CC kern/lock.o CC kern/lock_mon.o CC kern/mach_clock.o CC kern/mach_factor.o CC kern/machine.o CC kern/pc_sample.o CC kern/printf.o CC kern/priority.o CC kern/processor.o ../kern/processor.c:920:15: warning: Array access (from variable 'threads') results in a null pointer dereference threads[i] = thread; ~~~~~~~ ^ 1 warning generated. CC kern/profile.o CC kern/queue.o CC kern/rbtree.o ../kern/rbtree.c:95:21: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'node') node->parent = (node->parent & RBTREE_PARENT_MASK) | color; ^~~~ ../kern/rbtree.c:200:13: warning: Value stored to 'node' is never read node = parent; ^ ~~~~~~ 2 warnings generated. CC kern/slab.o CC kern/sched_prim.o ../kern/sched_prim.c: In function ‘sched_init’: ../kern/sched_prim.c:153:33: warning: assignment from incompatible pointer type [enabled by default] recompute_priorities_timer.fcn = recompute_priorities; ^ CC kern/startup.o In file included from ../kern/startup.c:39: In file included from ../kern/machine.h:29: In file included from ../include/mach/std_types.h:45: In file included from ../ipc/ipc_port.h:47: In file included from ../kern/ipc_kobject.h:44: In file included from ../ipc/ipc_kmsg.h:46: In file included from ../vm/vm_map.h:49: In file included from ../vm/pmap.h:45: In file included from ../kern/thread.h:55: In file included from ./machine/thread.h:44: In file included from ./machine/gdt.h:36: In file included from ./machine/seg.h:126: In file included from ../include/mach/xen.h:88: ./machine/xen.h:255:2: warning: Undefined or garbage value returned to caller return count; ^ ~~~~~ 1 warning generated. CC kern/strings.o CC kern/syscall_emulation.o ../kern/syscall_emulation.c:404:2: warning: Null pointer argument in call to memory copy function memcpy((void *)addr, ^ ~~~~~~~~~~~~ 1 warning generated. CC kern/syscall_subr.o CC kern/syscall_sw.o CC kern/task.o ../kern/task.c:580:14: warning: Array access (from variable 'threads') results in a null pointer dereference threads[i] = thread; ~~~~~~~ ^ ../kern/task.c:1114:17: warning: Access to field 'map' results in a dereference of a null pointer (loaded from variable 'task') pmap_collect(task->map->pmap); ^~~~ 2 warnings generated. CC kern/thread.o ../kern/thread.c:1674:2: warning: Function call argument is an uninitialized value thread_deallocate(thread); ^ ~~~~~~ 1 warning generated. CC kern/thread_swap.o CC kern/time_stamp.o CC kern/timer.o CC kern/xpr.o ../kern/xpr.c:156:2: warning: Assigned value is garbage or undefined spl_t s = s; ^ ~ 1 warning generated. CC kern/elf-load.o CC kern/boot_script.o CC util/putchar.o CC util/puts.o CC util/atoi.o CC vm/memory_object_proxy.o CC vm/memory_object.o ../vm/memory_object.c:145:10: warning: Dereference of null pointer assert(data_copy->cpy_npages > 0); ^~~~~~~~~~~~~~~~~~~~~ ../kern/assert.h:43:8: note: expanded from macro 'assert' if (!(ex)) \ ^ ../vm/memory_object.c:277:6: warning: Dereference of null pointer if (vm_map_copy_has_cont(data_copy)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../vm/vm_map.h:311:6: note: expanded from macro 'vm_map_copy_has_cont' (((copy)->cpy_cont) != (kern_return_t (*)()) 0) ^~~~~~~~~~~~~~~~~~ 2 warnings generated. CC vm/vm_debug.o CC vm/vm_external.o CC vm/vm_fault.o ../vm/vm_fault.c:252:2: warning: Access to field 'task' results in a dereference of a null pointer current_task()->faults++; ^~~~~~~~~~~~~~ ../kern/thread.h:388:25: note: expanded from macro 'current_task' #define current_task() (current_thread()->task) ^~~~~~~~~~~~~~~~~~~~~~~~ ../vm/vm_fault.c:552:6: warning: Access to field 'task' results in a dereference of a null pointer current_task()->reactivations++; ^~~~~~~~~~~~~~ ../kern/thread.h:388:25: note: expanded from macro 'current_task' #define current_task() (current_thread()->task) ^~~~~~~~~~~~~~~~~~~~~~~~ ../vm/vm_fault.c:724:5: warning: Value stored to 'offset' is never read offset = first_offset; ^ ~~~~~~~~~~~~ 3 warnings generated. CC vm/vm_init.o CC vm/vm_kern.o CC vm/vm_map.o ../vm/vm_map.c:2953:7: warning: Dereference of null pointer if (--(copy->cpy_npages) == 0 && ^~~~~~~~~~~~~~~~~~~~ ../vm/vm_map.c:3370:4: warning: Value stored to 'src_size' is never read src_size = (new_entry->vme_end = src_entry->vme_end) - src_start; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. CC vm/vm_object.o CC vm/vm_pageout.o CC vm/vm_resident.o CC vm/vm_user.o CC device/blkio.o CC device/chario.o ../device/chario.c:1007:3: warning: Value stored to 'count' is never read count -= b_to_q(chars, count, &tp->t_inq); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC device/cons.o CC device/dev_lookup.o CC device/dev_name.o CC device/dev_pager.o CC device/device_init.o CC device/ds_routines.o CC device/net_io.o ../device/net_io.c:1183:55: error: expected ';' at end of declaration void check_filter_list(queue_head_t *if_port_list) ^ ; 1 error generated. CC device/subrs.o CC device/kmsg.o CC xen/block.o ../xen/block.c: In function ‘hyp_block_init’: ../xen/block.c:233:4: warning: implicit declaration of function ‘vm_page_grab_phys_addr’ [-Wimplicit-function-declaration] if ((addr = vm_page_grab_phys_addr()) == -1) ^ ../xen/block.c:250:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘evtchn_port_t’ [-Wformat=] i = sprintf(port_name, "%lu", evt); ^ ../xen/block.c: In function ‘device_open’: ../xen/block.c:354:9: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] int i, err = 0; ^ ../xen/block.c:241:4: warning: Value stored to 'i' is never read i = sprintf(port_name, "%d", grant); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xen/block.c:250:4: warning: Value stored to 'i' is never read i = sprintf(port_name, "%lu", evt); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xen/block.c:385:3: warning: Value stored to 'err' is never read err = KERN_RESOURCE_SHORTAGE; ^ ~~~~~~~~~~~~~~~~~~~~~~ ../xen/block.c:503:31: warning: Dereference of undefined pointer value memset((void*) phystokv(pages[nbpages-1]->phys_addr ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../i386/i386/vm_param.h:92:36: note: expanded from macro 'phystokv' #define phystokv(a) ((vm_offset_t)(a) + VM_MIN_KERNEL_ADDRESS) ^ 4 warnings generated. CC xen/console.o ../xen/console.c: In function ‘hypcnintr’: ../xen/console.c:121:4: warning: implicit declaration of function ‘kdb_kintr’ [-Wimplicit-function-declaration] kdb_kintr(); ^ ../xen/console.c:53:8: warning: Branch condition evaluates to a garbage value if (!complain) { ^~~~~~~~~ 1 warning generated. CC xen/evt.o CC xen/grant.o ../xen/grant.c: In function ‘hyp_grant_finish_transfer’: ../xen/grant.c:87:3: warning: implicit declaration of function ‘machine_relax’ [-Wimplicit-function-declaration] machine_relax(); ^ ../xen/grant.c:132:6: warning: Branch condition evaluates to a garbage value if (setup.status) ^~~~~~~~~~~~ 1 warning generated. CC xen/net.o ../xen/net.c:65:2: warning: variably modified ‘rx_buf’ at file scope [enabled by default] void *rx_buf[WINDOW]; ^ ../xen/net.c:66:2: warning: variably modified ‘rx_buf_gnt’ at file scope [enabled by default] grant_ref_t rx_buf_gnt[WINDOW]; ^ ../xen/net.c:67:2: warning: variably modified ‘rx_buf_pfn’ at file scope [enabled by default] unsigned long rx_buf_pfn[WINDOW]; ^ ../xen/net.c: In function ‘hyp_net_intr’: ../xen/net.c:261:3: warning: implicit declaration of function ‘ethernet_priority’ [-Wimplicit-function-declaration] net_packet(&nd->ifnet, kmsg, ph->length, ethernet_priority(kmsg)); ^ ../xen/net.c: In function ‘hyp_net_init’: ../xen/net.c:361:4: warning: implicit declaration of function ‘vm_page_grab_phys_addr’ [-Wimplicit-function-declaration] if ((addr = vm_page_grab_phys_addr()) == -1) ^ ../xen/net.c:398:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘evtchn_port_t’ [-Wformat=] i = sprintf(port_name, "%lu", evt); ^ ../xen/net.c:507:3: warning: implicit declaration of function ‘if_init_queues’ [-Wimplicit-function-declaration] if_init_queues (ifp); ^ ../xen/net.c: In function ‘device_open’: ../xen/net.c:541:12: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] int i, n, err = 0; ^ ../xen/net.c: In function ‘device_set_filter’: ../xen/net.c:752:2: warning: implicit declaration of function ‘net_set_filter’ [-Wimplicit-function-declaration] return net_set_filter (&nd->ifnet, port, priority, filter, filter_count); ^ ../xen/net.c:369:4: warning: Value stored to 'i' is never read i = sprintf(port_name, "%d", grant); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xen/net.c:384:4: warning: Value stored to 'i' is never read i = sprintf(port_name, "%d", grant); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xen/net.c:398:4: warning: Value stored to 'i' is never read i = sprintf(port_name, "%lu", evt); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xen/net.c:571:3: warning: Value stored to 'err' is never read err = KERN_RESOURCE_SHORTAGE; ^ ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CC xen/ring.o CC xen/store.o CC xen/time.o ../xen/time.c: In function ‘hypclock_intr’: ../xen/time.c:93:2: warning: implicit declaration of function ‘hypclock_machine_intr’ [-Wimplicit-function-declaration] hypclock_machine_intr(old_ipl, ret_addr, regs, delta); ^ CC xen/xen.o CC i386/i386at/autoconf.o CC i386/i386at/conf.o ../i386/i386at/conf.c:97:4: warning: initialization from incompatible pointer type [enabled by default] nulldev, nulldev, nulldev, timemmap, ^ ../i386/i386at/conf.c:97:4: warning: (near initialization for ‘dev_name_list[1].d_mmap’) [enabled by default] ../i386/i386at/conf.c:133:9: warning: initialization from incompatible pointer type [enabled by default] { kmsgname, kmsgopen, kmsgclose, kmsgread, ^ ../i386/i386at/conf.c:133:9: warning: (near initialization for ‘dev_name_list[2].d_open’) [enabled by default] ../i386/i386at/conf.c:133:9: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:133:9: warning: (near initialization for ‘dev_name_list[2].d_close’) [enabled by default] ../i386/i386at/conf.c:133:9: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:133:9: warning: (near initialization for ‘dev_name_list[2].d_read’) [enabled by default] ../i386/i386at/conf.c:134:11: warning: initialization from incompatible pointer type [enabled by default] nodev, kmsggetstat, nodev, nomap, ^ ../i386/i386at/conf.c:134:11: warning: (near initialization for ‘dev_name_list[2].d_getstat’) [enabled by default] ../i386/i386at/conf.c:140:2: warning: initialization from incompatible pointer type [enabled by default] { hypcnname, hypcnopen, hypcnclose, hypcnread, ^ ../i386/i386at/conf.c:140:2: warning: (near initialization for ‘dev_name_list[3].d_open’) [enabled by default] ../i386/i386at/conf.c:141:4: warning: initialization from incompatible pointer type [enabled by default] hypcnwrite, hypcngetstat, hypcnsetstat, nomap, ^ ../i386/i386at/conf.c:141:4: warning: (near initialization for ‘dev_name_list[3].d_getstat’) [enabled by default] ../i386/i386at/conf.c:141:4: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:141:4: warning: (near initialization for ‘dev_name_list[3].d_setstat’) [enabled by default] ../i386/i386at/conf.c:142:4: warning: initialization from incompatible pointer type [enabled by default] nodev, nulldev, hypcnportdeath, 0, ^ ../i386/i386at/conf.c:142:4: warning: (near initialization for ‘dev_name_list[3].d_port_death’) [enabled by default] CC i386/i386at/cons_conf.o CC i386/i386at/model_dep.o ../i386/i386at/model_dep.c: In function ‘i386at_init’: ../i386/i386at/model_dep.c:347:20: warning: unused variable ‘delta’ [-Wunused-variable] vm_offset_t addr, delta; ^ ../i386/i386at/model_dep.c:347:14: warning: unused variable ‘addr’ [-Wunused-variable] vm_offset_t addr, delta; ^ ../i386/i386at/model_dep.c:346:6: warning: unused variable ‘nb_direct’ [-Wunused-variable] int nb_direct, i; ^ CC i386/i386/ast_check.o CPPAS i386/i386/cswitch.o CC i386/i386/db_disasm.o ../i386/i386/db_disasm.c:958:6: warning: Branch condition evaluates to a garbage value if (addrp->is_reg) { ^~~~~~~~~~~~~ ../i386/i386/db_disasm.c:967:18: warning: The left operand of '!=' is a garbage value if (addrp->base != 0 || addrp->index != 0) { ~~~~~~~~~~~ ^ 2 warnings generated. CC i386/i386/db_interface.o In file included from ../i386/i386/db_interface.c:32: In file included from ../vm/pmap.h:45: In file included from ../kern/thread.h:55: In file included from ./machine/thread.h:44: In file included from ../i386/i386/gdt.h:36: In file included from ../i386/i386/seg.h:126: In file included from ../include/mach/xen.h:88: ./machine/xen.h:255:2: warning: Undefined or garbage value returned to caller return count; ^ ~~~~~ ../i386/i386/db_interface.c:329:2: warning: Address of stack memory associated with local variable 'type' is still referred to by the global variable 'i386_last_kdb_sp' upon returning to the caller. This will be a dangling reference return 1; ^ 2 warnings generated. CC i386/i386/db_trace.o ../i386/i386/db_trace.c:166:10: warning: Access to field 'pcb' results in a dereference of a null pointer (loaded from variable 'thread') if (thread->pcb == 0) ^~~~~~ 1 warning generated. CC i386/i386/debug_i386.o CPPAS i386/i386/debug_trace.o CC i386/i386/fpu.o ../i386/i386/fpu.c:639:41: warning: Access to field 'fp_valid' results in a dereference of a null pointer (loaded from field 'ifps') fp_thread->pcb->ims.ifps->fp_valid = 2; ~~~~ ^ ../i386/i386/fpu.c:677:14: warning: Dereference of null pointer thread->pcb->ims.ifps->xfp_save_state.fp_status : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../i386/i386/fpu.c:678:14: warning: Dereference of null pointer thread->pcb->ims.ifps->fp_save_state.fp_status); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CC i386/i386/gdt.o CC i386/i386/idt.o CPPAS i386/i386/idt_inittab.o CC i386/i386/io_perm.o CC i386/i386/ktss.o CC i386/i386/kttd_interface.o CC i386/i386/ldt.o CPPAS i386/i386/locore.o ../i386/i386/locore.S:1185:2: warning: #warning Assuming not Cyrix CPU [-Wcpp] #warning Assuming not Cyrix CPU ^ CC i386/i386/loose_ends.o CC i386/i386/machine_task.o CC i386/i386/mp_desc.o CC i386/i386/pcb.o In file included from ../i386/i386/pcb.c:30: In file included from ../include/mach/std_types.h:45: In file included from ../ipc/ipc_port.h:47: In file included from ../kern/ipc_kobject.h:44: In file included from ../ipc/ipc_kmsg.h:46: In file included from ../vm/vm_map.h:49: In file included from ../vm/pmap.h:45: In file included from ../kern/thread.h:55: In file included from ./machine/thread.h:44: In file included from ../i386/i386/gdt.h:36: In file included from ../i386/i386/seg.h:126: In file included from ../include/mach/xen.h:88: ./machine/xen.h:255:2: warning: Undefined or garbage value returned to caller return count; ^ ~~~~~ 1 warning generated. CC i386/i386/phys.o ../i386/i386/phys.c: In function ‘pmap_zero_page’: ../i386/i386/phys.c:68:21: warning: ‘map’ may be used uninitialized in this function [-Wmaybe-uninitialized] pmap_put_mapwindow(map); ^ ../i386/i386/phys.c: In function ‘pmap_copy_page’: ../i386/i386/phys.c:104:21: warning: ‘dst_map’ may be used uninitialized in this function [-Wmaybe-uninitialized] pmap_put_mapwindow(dst_map); ^ ../i386/i386/phys.c:102:21: warning: ‘src_map’ may be used uninitialized in this function [-Wmaybe-uninitialized] pmap_put_mapwindow(src_map); ^ ../i386/i386/phys.c: In function ‘copy_to_phys’: ../i386/i386/phys.c:133:21: warning: ‘dst_map’ may be used uninitialized in this function [-Wmaybe-uninitialized] pmap_put_mapwindow(dst_map); ^ ../i386/i386/phys.c: In function ‘copy_from_phys’: ../i386/i386/phys.c:163:21: warning: ‘src_map’ may be used uninitialized in this function [-Wmaybe-uninitialized] pmap_put_mapwindow(src_map); ^ ../i386/i386/phys.c:68:3: warning: Function call argument is an uninitialized value pmap_put_mapwindow(map); ^ ~~~ ../i386/i386/phys.c:102:3: warning: Function call argument is an uninitialized value pmap_put_mapwindow(src_map); ^ ~~~~~~~ ../i386/i386/phys.c:104:3: warning: Function call argument is an uninitialized value pmap_put_mapwindow(dst_map); ^ ~~~~~~~ ../i386/i386/phys.c:133:3: warning: Function call argument is an uninitialized value pmap_put_mapwindow(dst_map); ^ ~~~~~~~ ../i386/i386/phys.c:163:3: warning: Function call argument is an uninitialized value pmap_put_mapwindow(src_map); ^ ~~~~~~~ 5 warnings generated. CC i386/i386/seg.o CPPAS i386/i386/spl.o CC i386/i386/trap.o ../i386/i386/trap.c: In function ‘i386_astintr’: ../i386/i386/trap.c:568:6: warning: unused variable ‘mycpu’ [-Wunused-variable] int mycpu = cpu_number(); ^ CC i386/i386/user_ldt.o CC i386/intel/pmap.o ../i386/intel/pmap.c: In function ‘pmap_bootstrap’: ../i386/intel/pmap.c:633:3: warning: implicit declaration of function ‘init_alloc_aligned’ [-Wimplicit-function-declaration] init_alloc_aligned(PDPNUM * INTEL_PGBYTES, &addr); ^ ../i386/intel/pmap.c: In function ‘pmap_remove’: ../i386/intel/pmap.c:1492:15: warning: unused variable ‘_s’ [-Wunused-variable] vm_offset_t _s = s; ^ ../i386/intel/pmap.c: In function ‘pmap_protect’: ../i386/intel/pmap.c:1697:14: warning: unused variable ‘_s’ [-Wunused-variable] vm_offset_t _s = s; ^ In file included from ../i386/intel/pmap.c:65: In file included from ../kern/thread.h:55: In file included from ./machine/thread.h:44: In file included from ./machine/gdt.h:36: In file included from ./machine/seg.h:126: In file included from ../include/mach/xen.h:88: ./machine/xen.h:166:2: warning: Undefined or garbage value returned to caller return count; ^ ~~~~~ ./machine/xen.h:245:2: warning: Undefined or garbage value returned to caller return count; ^ ~~~~~ ./machine/xen.h:255:2: warning: Undefined or garbage value returned to caller return count; ^ ~~~~~ ../i386/intel/pmap.c:569:8: warning: The left operand of '!=' is a garbage value if (n != i) ~ ^ ../i386/intel/pmap.c:1465:8: warning: The left operand of '!=' is a garbage value if (n != ii) ~ ^ ../i386/intel/pmap.c:1769:9: warning: The left operand of '!=' is a garbage value if (n != i) ~ ^ 6 warnings generated. CC i386/intel/read_fault.o CPPAS i386/i386/_setjmp.o CC chips/busses.o CC device/cirbuf.o CC i386/xen/xen.o ../i386/xen/xen.c: In function ‘hypclock_machine_intr’: ../i386/xen/xen.c:50:18: warning: taking address of expression of type ‘void’ [enabled by default] if (ret_addr == &return_to_iret) { ^ CPPAS i386/xen/xen_locore.o CPPAS i386/xen/xen_boothdr.o CC version.o CC vm/memory_object_user.user.o CC vm/memory_object_default.user.o CC device/device_reply.user.o CC device/memory_object_reply.user.o CC device/device.server.o CC device/device_pager.server.o CC ipc/mach_port.server.o CC kern/mach.server.o CC kern/mach4.server.o kern/mach4.server.c: In function ‘_Xmemory_object_create_proxy’: kern/mach4.server.c:603:2: warning: passing argument 3 of ‘memory_object_create_proxy’ from incompatible pointer type [enabled by default] OutP->RetCode = memory_object_create_proxy(task, In0P->max_protection, In0P->object, In0P->objectType.msgt_number, In1P->offset, In1P->offsetType.msgt_number, In2P->start, In2P->startType.msgt_number, In3P->len, In3P->lenType.msgt_number, &OutP->proxy); ^ kern/mach4.server.c:497:29: note: expected ‘memory_object_array_t’ but argument is of type ‘struct ipc_port **’ mig_external kern_return_t memory_object_create_proxy ^ CC kern/gnumach.server.o CC kern/mach_debug.server.o CC kern/mach_host.server.o CC i386/i386/mach_i386.server.o i386/i386/mach_i386.server.c: In function ‘_Xi386_set_ldt’: i386/i386/mach_i386.server.c:78:12: warning: variable ‘msgh_simple’ set but not used [-Wunused-but-set-variable] boolean_t msgh_simple; ^ i386/i386/mach_i386.server.c:97:2: warning: Value stored to 'msgh_simple' is never read msgh_simple = !(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. AR libkernel.a AR lib_dep_tr_for_defs.a GEN gnumach.o NM gnumach-undef GEN gnumach-undef-bad CCLD clib-routines.o GEN gnumach GEN gnumach.msgids rm i386/i386/i386asm.symc i386/i386/i386asm.symc.o make[2]: Leaving directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' make[1]: Leaving directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' scan-build: 45 bugs found. scan-build: Run 'scan-view /tmp/tmp.lSnacwawFs/2014-03-19-1' to examine bug reports. scan-build: The analyzer encountered problems on some source files. scan-build: Preprocessed versions of these sources were deposited in '/tmp/tmp.lSnacwawFs/2014-03-19-1/failures'. scan-build: Please consider submitting a bug report using these files: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html real 4m32.420s user 0m0.000s sys 0m0.000s Script done on Wed 19 Mar 2014 03:28:23 PM CET