Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2014 18:23:04 -0800
From:      Dennis Glatting <freebsd@pki2.com>
To:        freebsd-stable@freebsd.org
Subject:   Build errors 9-stable r260215
Message-ID:  <1388715784.71651.277.camel@btw.pki2.com>

next in thread | raw e-mail | index | archive | help
===> 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# 






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1388715784.71651.277.camel>