Re: Who broke world and how to fix?

From: Michael Butler <imb_at_protected-networks.net>
Date: Thu, 21 Jul 2016 15:59:19 -0400
On 07/21/16 15:54, Steven G. Kargl wrote:
> On Thu, Jul 21, 2016 at 03:50:48PM -0400, Michael Butler wrote:
>> On 07/21/16 14:32, Steve Kargl wrote:
>>> Updating uname -a
>>> FreeBSD 11.0-ALPHA5 FreeBSD 11.0-ALPHA5
>>> #3 r302248: Tue Jun 28 10:11:31 PDT 2016
>>> data/obj/usr/src/sys/SPEW  amd64
>>>
>>> to top-of-tree
>>>
>>> ===> lib/libsbuf (obj,all,install)
>>> cc   -O2 -pipe   -MD  -MF.depend.subr_prf.o -MTsubr_prf.o -std=gnu99 \
>>> -fstack-protector-strong -Wsystem-headers -Werror -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 -Wmissing-variable-declarations -Wthread-safety \
>>> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  \
>>> -Qunused-arguments  -c /usr/src/lib/libsbuf/../../sys/kern/subr_prf.c \
>>> -o subr_prf.o
>>> /usr/src/lib/libsbuf/../../sys/kern/subr_prf.c:1209:7: error: implicit
>>>  declaration of function 'atomic_cmpset_int' is invalid in C99
>>>  [-Werror,-Wimplicit-function-declaration]
>>>                 if (atomic_cmpset_int(counter, c, c - 1)) {
>>>                     ^
>>>
>>
>> It's fixed at and after SVN r303155,
>>
> 
> Thanks.  I found r303155 about 5 minutes ago after scurry to
> the svn-src-head mailing list.
> 
> Now, if only the guilty party would fix 'make buildkernel'.
> 
> --- kernel.full ---
> linking kernel.full
> cam_xpt.o: In function `xpt_announce_periph':
> /usr/src/sys/cam/cam_xpt.c:1037: undefined reference to `nvme_print_ident'
> cam_xpt.o: In function `xpt_denounce_periph':
> /usr/src/sys/cam/cam_xpt.c:1092: undefined reference to `nvme_print_ident'
> cam_xpt.o: In function `xpt_run_devq':
> /usr/src/sys/cam/cam_xpt.c:3331: undefined reference to `nvme_op_string'
> /usr/src/sys/cam/cam_xpt.c:3331: undefined reference to `nvme_cmd_string'
> cam_xpt.o: In function `xpt_bus_register':
> /usr/src/sys/cam/cam_xpt.c:3927: undefined reference to `nvme_get_xport'
> *** [kernel.full] Error code 1
> 
> Two-for-two today.
> 

I just added "device nvme" to my kernel config pending the real fix,

	imb
Received on Thu Jul 21 2016 - 17:59:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC