Date: Thu, 12 Jan 2017 17:40:48 -0300 From: "Nilton Jose Rizzo" <rizzo@i805.com.br> To: freebsd-current@freebsd.org Subject: build world broken on r311461 Message-ID: <20170112171238.M36996@i805.com.br>
next in thread | raw e-mail | index | archive | help
Broken on camcontrol
clang -O2 -pipe -DRESCUE -MD -MF.depend.camcontrol.o -MTcamcontrol.o -std=gn
u99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -
Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W
return-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wc
ast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-st
yle-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-argum
ents -c /usr/src/sbin/camcontrol/camcontrol.c -o camcontrol.o
/usr/src/sbin/camcontrol/camcontrol.c:4000:2: error: implicit declaration of
function 'scsi_mode_sense_subpage' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
scsi_mode_sense_subpage(&ccb->csio,
^
/usr/src/sbin/camcontrol/camcontrol.c:4000:2: note: did you mean
'scsi_mode_sense_len'?
/usr/include/cam/scsi/scsi_all.h:3987:7: note: 'scsi_mode_sense_len' declared
here
void scsi_mode_sense_len(struct ccb_scsiio *csio, u_int32_t retries,
^
1 error generated.
*** Error code 1
Stop.
make[6]: stopped in /usr/src/sbin/camcontrol
root@valfenda:/usr # uname -a
FreeBSD valfenda 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: Thu Jan 5
22:46:38 UTC 2017
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
root@valfenda:/usr #
root@valfenda:/usr # cat /etc/make.conf
NO_USE_GCC="YES"
CC=clang
CXX=clang++
CPP=clang-cpp
---
/*************************************************
**Nilton José Rizzo UFRRJ
**http://www.rizzo.eng.br http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**************************************************/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170112171238.M36996>
