From owner-freebsd-stable@FreeBSD.ORG Fri Jan 3 02:23:23 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0927A7D for ; Fri, 3 Jan 2014 02:23:22 +0000 (UTC) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BCA641AAB for ; Fri, 3 Jan 2014 02:23:22 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.7/8.14.5) with ESMTP id s032N4dB047790 for ; Thu, 2 Jan 2014 18:23:04 -0800 (PST) (envelope-from freebsd@pki2.com) Subject: Build errors 9-stable r260215 From: Dennis Glatting To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="ISO-8859-1" Date: Thu, 02 Jan 2014 18:23:04 -0800 Message-ID: <1388715784.71651.277.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-SoftwareMunitions-MailScanner-Information: Dennis Glatting X-SoftwareMunitions-MailScanner-ID: s032N4dB047790 X-SoftwareMunitions-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2014 02:23:23 -0000 ===> usr.bin/kdump (all) clang -O2 -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. -I. -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c kdump_subr.c clang -O2 -pipe -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. -I. -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c /usr/src/usr.bin/kdump/kdump.c /usr/src/usr.bin/kdump/kdump.c:1034:9: error: use of undeclared identifier 'SYS_procctl' case SYS_procctl: ^ /usr/src/usr.bin/kdump/kdump.c:1290:27: warning: cast from 'unsigned char *' to 'struct utrace_rtld *' increases required alignment from 1 to 8 [-Wcast-align] struct utrace_rtld *ut = (struct utrace_rtld *)p; ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/usr.bin/kdump/kdump.c:1376:29: warning: cast from 'unsigned char *' to 'struct utrace_malloc *' increases required alignment from 1 to 8 [-Wcast-align] struct utrace_malloc *ut = (struct utrace_malloc *)p; ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/usr.bin/kdump/kdump.c:1443:29: warning: 'memcpy' call operates on objects of type 'struct sockaddr' while the size is based on a different type 'struct sockaddr *' [-Wsizeof-pointer-memaccess] memcpy(&sa_in, sa, sizeof(sa)); ~~ ^~ /usr/src/usr.bin/kdump/kdump.c:1443:29: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memcpy(&sa_in, sa, sizeof(sa)); ^~ /usr/src/usr.bin/kdump/kdump.c:1468:30: warning: 'memcpy' call operates on objects of type 'struct sockaddr' while the size is based on a different type 'struct sockaddr *' [-Wsizeof-pointer-memaccess] memcpy(&sa_in6, sa, sizeof(sa)); ~~ ^~ /usr/src/usr.bin/kdump/kdump.c:1468:30: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memcpy(&sa_in6, sa, sizeof(sa)); ^~ /usr/src/usr.bin/kdump/kdump.c:1491:29: warning: 'memcpy' call operates on objects of type 'struct sockaddr' while the size is based on a different type 'struct sockaddr *' [-Wsizeof-pointer-memaccess] memcpy(&sa_un, sa, sizeof(sa)); ~~ ^~ /usr/src/usr.bin/kdump/kdump.c:1491:29: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memcpy(&sa_un, sa, sizeof(sa)); ^~ 5 warnings and 1 error generated. *** [kdump.o] Error code 1 Stop in /usr/src/usr.bin/kdump. *** [all] Error code 1 Stop in /usr/src/usr.bin. *** [usr.bin.all__D] Error code 1 Stop in /usr/src. *** [everything] Error code 1 Stop in /usr/src. *** [buildworld] Error code 1 Stop in /usr/src. Docs#